/*  File: style.css
 *  By: WireGency <contact@wiregency.com>
 *  Discord: <discord.wiregency.com>

 *  Created with Trae IDE <traeide.com>
 *  For the project Nomad
 */

.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}


.subscriptions-promo {
    background: linear-gradient(135deg, #7d5fff, #00d2ff);
    color: #fff;
    border-radius: 20px; /* вернём скругление фона блока */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 80px 20px; /* без огромного отступа сверху */
    margin-top: -40px; /* чуть заезжает под navbar */
    position: relative;
    z-index: 0;
}

.subscriptions-promo * {
    color: #fff !important;
}

.subscriptions-promo .promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.subscriptions-promo .promo-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.countdown-section {
    margin-top: 40px;
}

.countdown-card {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* чуть затемненный фон */
    backdrop-filter: blur(15px);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin: 0 auto;
}

.countdown {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown div {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px 25px;
    min-width: 120px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.countdown div:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.countdown div .number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff; /* белый текст */
    text-shadow: 0 0 8px rgba(0,0,0,0.7); /* тень для видимости на любом фоне */
    display: inline-block;
    animation: pop 0.5s ease forwards;
}

.number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.pop {
    transform: scale(1.4);
    color: #ffcc00;
}

.countdown div span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Плавное появление и подпрыгивание цифр */
@keyframes pop {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}


/* ТАБЛИЦА С ПОДПИСКАМИ */


/* Автоматическая нумерация команд */
.subscription-table tbody {
    counter-reset: cmd-counter; /* сброс счётчика */
}

.subscription-table tbody tr {
    counter-increment: cmd-counter; /* увеличиваем счётчик на каждой строке */
}

.subscription-table tbody tr .text-start::before {
    content: counter(cmd-counter, decimal-leading-zero) " "; /* 00, 01, 02 */
    font-weight: 700;
    margin-right: 6px;
    color: #555; /* цвет номера */
}

.subscription-table table {
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, #f7f9fc, #e6ecf5);
    border-radius: 18px;
    overflow: hidden;
    font-size: 1.25rem; /* увеличили шрифт */
}


.subscription-table thead .price {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffe054;
    margin-top: 2px;
    /* Новые стили для фона */
    background: rgba(0, 0, 0, 0.5); /* Черный прозрачный фон */
    border-radius: 12px; /* Скругленные края */
    padding: 8px 12px; /* Отступы внутри */
    backdrop-filter: blur(4px); /* Размытие фона под элементом (опционально) */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Тень для текста */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Легкая обводка */
}

.subscription-table thead th {
    color: #FFFFFF;
    font-weight: 800;
    padding: 16px 22px 10px; /* сверху чуть больше, снизу меньше */
    font-size: 1.2rem;
    border: none;
    text-transform: uppercase;  
    vertical-align: middle;
}

.subscription-table thead th:not(.col-command):not(.col-levels) {
    padding-bottom: 4px; /* для колонок с ценой меньше отступ сверху, чтобы цена влезла */
}

/* Специально для "КОМАНДЫ" */
.subscription-table thead .col-command {
    font-size: 1.4rem; /* ещё крупнее */
    font-weight: 900;  /* максимальная жирность */
    letter-spacing: 1px;
}

.col-command { 
    background: linear-gradient(135deg, #575757, #C4C4C4); 
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);    
}

.col-levels { 
    background: linear-gradient(135deg, #F46C0B, #F8E731); 
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.col-pro { 
    background: linear-gradient(135deg, #49CBE5, #A44FFF); 
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.col-pro-plus { 
    background: linear-gradient(135deg, #FF6868, #AD60FF); 
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.col-ultra {
    background: linear-gradient(135deg, #E45F5F, #F8E731, #2BF9D0, #C963F2);
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.subscription-table td {
    padding: 20px;
    border-top: 1px solid #d9dee7;
    vertical-align: middle;
    transition: transform 0.2s ease, background-color 0.2s ease;
}


/* Галочки и крестики */
.subscription-table td.yes::before,
.subscription-table td.no::before {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.subscription-table td.yes::before {
    content: "✅";
}

.subscription-table td.no::before {
    content: "❌";
}

/* Наведение на строку */
.subscription-table tbody tr:hover {
    background-color: rgba(0,0,0,0.05);
}

.subscription-table tbody tr:hover td {
    transform: scale(1.05);
}

.subscription-table tbody tr:hover td::before {
    transform: scale(1.3);
}

/* Команды — моноширинный шрифт */
.subscription-table .text-start {
    font-family: monospace;
    font-weight: 700;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .subscription-table thead th,
    .subscription-table td {
        font-size: 1rem;
        padding: 14px;
    }
}



/* ТАБЛИЦА С ПОДПИСКАМИ */


.btn-gradient {
    background: linear-gradient(135deg, #ff512f, #dd2476) !important;
    border: none;
    color: #fff !important;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.nav-avatar {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-avatar:hover {
    transform: scale(1.1);
}

.nav-avatar + .dropdown-menu {
    margin-top: 0.5rem;
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
}

.nav-avatar + .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-avatar + .dropdown-menu .dropdown-item:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    cursor: pointer;
}

.nav-avatar + .dropdown-menu .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.nav-avatar + .dropdown-menu .text-danger {
    color: #ff4444 !important;
}

.nav-avatar + .dropdown-menu .text-danger:hover {
    color: #ff6666 !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    padding: 0.5rem 0 !important;
}

.navbar-nav {
    gap: 2rem;
}
.player-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.player-btn:hover {
    color: var(--primary-color);
}

.player-name {
    font-weight: 600;
    color: white;
}

.player-btn:after {
    display: none;
}

@media (max-width: 768px) {
    .ms-auto.d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .auth-button {
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

    .player-btn {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 0.5rem;
        border-radius: 50px;
    }

    .player-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin: 1rem 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .ms-auto.d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        margin-top: 1rem;
        align-items: center;
    }

    .auth-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0 !important;
    }

    .player-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0;
        padding: 0.5rem;
        border-radius: 50px;
    }

    .dropdown-menu {
        text-align: center;
        width: 100%;
        max-width: 300px;
        white-space: normal; 
        word-wrap: break-word; 
    }

    .dropdown-item {
        text-align: center;
        padding: 0.75rem 1rem;
        white-space: normal; 
        line-height: 1.2; 
    }
}

.auth-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-logo {
    height: 40px;
    width: auto;
}

.navbar-nav {
    gap: 1rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    display: inline-block; 
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%); 
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
    left: 50%; 
    transform: translateX(-50%); 
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    transform: translateX(5px);
}

.dropdown-item:after {
    display: none;
}

.nav-link.dropdown-toggle:after {
    display: none;
}

.nav-link.dropdown-toggle.show {
    color: var(--primary-color) !important;
}

.nav-link .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 1rem;
    margin-bottom: -5rem;
    display: flex; 
    align-items: center; 
}

.hero-content {
    width: 100%; 
    padding: 150px 0;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    animation: logoBreathing 4s ease-in-out infinite;
}

@keyframes logoBreathing {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        max-width: 220px;
        margin-bottom: 1.5rem;
    }
}


.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: white;
    clip-path: ellipse(75% 100% at 50% 100%);
}

@media (max-width: 768px) {
    .hero-curve {
        height: 100px;
        clip-path: ellipse(100% 100% at 50% 100%);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 100px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-btn {
        width: 100%;
    }
}

.blog-section {
    padding: 20px 0;
    margin-bottom: 30px;
    position: relative; 
}

.blog-section .container {
    max-width: 1600px;
    padding-left: 240px;
    padding-right: 240px;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
}

.blog-content {
    padding: 1.5rem;
    padding-bottom: 3rem; 
}

.blog-meta {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.blog-date {
    background: #f8f9fa;
    color: #666;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease; 
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 1400px) {
    .blog-section .container {
        padding-left: 180px;
        padding-right: 180px;
    }
}

@media (max-width: 992px) {
    .blog-section .container {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 40px 0;
    }

    .blog-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .blog-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .blog-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.about-section {
    padding: 60px 0;
}

.about-section .container {
    max-width: 1600px;
    padding-left: 240px;
    padding-right: 240px;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-content {
    margin-top: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.description {
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 1400px) {
    .about-section .container {
        padding-left: 180px;
        padding-right: 180px;
    }
}

@media (max-width: 992px) {
    .about-section {
        text-align: center;
    }

    .about-image {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .description {
        font-size: 1.125rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .description {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .about-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.stats-section {
    padding: 40px 0;
}

.stats-section .container {
    max-width: 1600px;
    padding-left: 240px;
    padding-right: 240px;
}

.stats-card {
    background: white;
    padding: 1.5rem;  
    border-radius: 12px;  
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    font-size: 2rem;  
    color: var(--primary-color);
    margin-bottom: 1rem;  
}

.stats-value {
    font-size: 2.2rem;  
    font-weight: 800;
    color: #333;
    margin-bottom: 0.3rem;  
}

.stats-label {
    font-size: 0.9rem;  
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1400px) {
    .stats-section .container {
        padding-left: 180px;
        padding-right: 180px;
    }
}

@media (max-width: 992px) {
    .stats-section .container {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 30px 0;  
    }
    
    .stats-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .stats-card {
        padding: 1.2rem;  
        margin-bottom: 1rem;
    }
    
    .stats-value {
        font-size: 2rem;  
    }
    
    .stats-label {
        font-size: 0.85rem;  
    }
}

.footer {
    background-color: #1a1a1a;
    padding: 40px 0 0; 
    color: #fff;
    margin-top: 40px; 
}

.footer .container {
    max-width: 1400px;
    padding-left: 120px;
    padding-right: 120px;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    max-width: 1400px;
    padding-left: 120px;
    padding-right: 120px;
}

.footer-author {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 992px) {
    .footer .container,
    .footer-bottom .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .footer .container,
    .footer-bottom .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #808080;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    transform: translateX(0);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.copyright-main {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copyright-sub {
    color: #999;
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copyright-sub a {
    text-decoration: none;
}

.copyright-sub a:not(.footer-author) {
    color: var(--primary-color);
}

.copyright-sub a:not(.footer-author):hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-wrapper {
        text-align: center;
    }
    
    .copyright-main,
    .copyright-sub {
        white-space: normal;
        line-height: 1.4;
    }
}

.footer-bottom-link {
    color: #999;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
        text-align: center;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }

    .footer-bottom-link {
        display: inline-block;
        margin: 0.5rem 0.75rem;
    }
}

.cta-section {
    padding: 40px 0; 
    margin: 20px 0; 
}

.cta-wrapper {
    background-color: #1A1A1A;
    border-radius: 15px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(255, 167, 38, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 167, 38, 0.1) 0%, rgba(255, 167, 38, 0) 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    width: auto;
    min-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 167, 38, 0.4);
}

.cta-button:focus,
.cta-button:active,
.cta-button:hover {
    outline: none !important;
    box-shadow: none !important;
    background-color:var(--primary-color) !important;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
        margin: 20px 0;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-button {
        width: 100%;
        min-width: unset;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .cta-wrapper {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: #fff;
}

.vote-section {
    padding: 40px 0 40px;  
    min-height: 100vh;
    position: relative;
    z-index: 2;  
}

.section-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
}

.subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.leaderboard-item .nav-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .leaderboard-item .nav-avatar {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .leaderboard-item .nav-avatar {
        width: 38px;
        height: 38px;
    }
}

.leaderboard-item:hover {
    background-color: #f8f9fa;
}

.rank {
    font-size: 1.2rem;
    font-weight: 600;
    width: 50px;
}

.player-info {
    display: flex;
    align-items: center;
    flex: 1;
    color: #2c3e50;
}

.vote-count {
    color: #6c757d;
    font-weight: 500;
}

#vote-card {
    background-color: #ffffff;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #2c3e50;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: #5865f2;
    box-shadow: 0 0 0 0.2rem rgba(88, 101, 242, 0.25);
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.reward-item:hover {
    background-color: #f8f9fa;
}

.reward-name {
    color: #2c3e50;
    font-weight: 500;
}

.reward-chance {
    color: #6c757d;
    font-weight: 600;
}

.vote-timer {
    background-color: #e9ecef !important;
    color: #495057 !important;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
}

.text-muted {
    color: #6c757d !important;
}

.player-name {
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .vote-section {
        padding: 60px 0 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .btn-primary {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.justify-content-center.gap-3.flex-wrap {
        gap: 0.5rem !important;
    }

    .leaderboard-item {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .player-info {
        order: 2;
        width: calc(100% - 50px);
    }

    .rank {
        order: 1;
        width: 40px;
    }

    .vote-count {
        order: 3;
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
        padding-left: 50px;
    }

    .reward-item {
        padding: 0.75rem;
    }

    .form-control {
        font-size: 16px; 
    }

    .col-md-6.col-lg-4 {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .vote-section {
        padding: 40px 0 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .card {
        margin-bottom: 20px;
    }

    .nav-avatar {
        width: 28px;
        height: 28px;
    }
}
/* === MODERN PURPLE THEME + LIQUID GLASS ULTIMATE PACK (Restored Buttons + Glass Animation) === */
:root {
    --primary-color: #9b5cff;
    --secondary-color: #7d3cff;
    --accent-color: #b97aff;
    --bg-dark: #0e0b14;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-light: #f2f2f2;
    --text-purple: #cfaeff;
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Background ===== */
body {
    background: radial-gradient(circle at 20% 30%, #1a1028, #0e0b14 70%);
    color: var(--text-light);
    font-family: 'Poppins', 'Inter', sans-serif;
    overflow-x: hidden;
    transition: background 0.8s ease;
}

/* ===== Remove hero curve ===== */
.hero-curve {
    display: none !important;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(20, 10, 30, 0.55);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border-bottom: 1px solid rgba(155, 92, 255, 0.25);
    box-shadow: 0 0 35px rgba(155, 92, 255, 0.35), 0 0 60px rgba(155, 92, 255, 0.2) inset;
    border-radius: 0 0 20px 20px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    animation: navbarGlow 8s infinite alternate;
}

@keyframes navbarGlow {
    0% { box-shadow: 0 0 25px rgba(155, 92, 255, 0.2), 0 0 40px rgba(185, 122, 255, 0.1) inset; }
    50% { box-shadow: 0 0 40px rgba(185, 122, 255, 0.35), 0 0 70px rgba(155, 92, 255, 0.15) inset; }
    100% { box-shadow: 0 0 25px rgba(155, 92, 255, 0.2), 0 0 40px rgba(185, 122, 255, 0.1) inset; }
}

/* ===== Navbar links ===== */
.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease, text-shadow 0.5s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    text-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--primary-color);
    background: rgba(155, 92, 255, 0.1);
}

/* ===== Buttons ===== */
.btn-gradient,
.auth-button,
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 0 25px rgba(155, 92, 255, 0.4);
    color: #fff !important;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before,
.auth-button::before,
.btn-primary::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    transform: rotate(25deg);
    animation: glassShine 6s linear infinite;
    pointer-events: none;
}

@keyframes glassShine {
    0% { transform: translate(-30%, -30%) rotate(25deg); opacity: 0; }
    50% { transform: translate(30%, 30%) rotate(25deg); opacity: 0.6; }
    100% { transform: translate(80%, 80%) rotate(25deg); opacity: 0; }
}

.btn-gradient:hover,
.auth-button:hover,
.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 40px rgba(185, 122, 255, 0.6);
}

/* ===== Cards & Glass Sections ===== */
.blog-card,
.stats-card,
.card,
.subscription-table table {
    background: var(--bg-card);
    border: 1px solid rgba(155, 92, 255, 0.15);
    box-shadow: 0 0 20px rgba(155, 92, 255, 0.08);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-radius: 16px;
    color: #fff;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.blog-card:hover,
.stats-card:hover,
.subscription-table tbody tr:hover {
    background: rgba(155, 92, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(155, 92, 255, 0.25);
}

/* ===== Glass shine animation ===== */
.card::after,
.blog-card::after,
.stats-card::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    animation: pulseGlow 6s infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

/* ===== CTA Wrapper ===== */
.cta-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(155, 92, 255, 0.25);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-radius: 25px;
    box-shadow: 0 0 50px rgba(155, 92, 255, 0.2);
    padding: 60px 40px;
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* ===== CTA Text ===== */
.cta-wrapper h2,
.cta-wrapper p,
.cta-wrapper .highlight {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(185, 122, 255, 0.5);
}

.cta-wrapper .highlight {
    color: #f8f8f8;
    text-shadow: 0 0 12px rgba(155, 92, 255, 0.6);
    font-weight: 700;
}

/* ===== CTA Button ===== */
.cta-wrapper .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #9b5cff, #7d3cff, #b97aff);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 20px;
    color: #fff !important;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(155, 92, 255, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.cta-wrapper .cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

.cta-wrapper .cta-button:hover {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 0 45px rgba(185, 122, 255, 0.6), 0 0 60px rgba(155, 92, 255, 0.35) inset;
}

/* ===== Subscription Table (Modern Purple Glass Version) ===== */

/* Автонумерация */
.subscription-table tbody {
    counter-reset: cmd-counter;
}
.subscription-table tbody tr {
    counter-increment: cmd-counter;
}
.subscription-table tbody tr .text-start::before {
    content: counter(cmd-counter, decimal-leading-zero) " ";
    font-weight: 700;
    margin-right: 6px;
    color: #c7a6ff;
}

/* Таблица */
.subscription-table table {
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(50, 20, 80, 0.7), rgba(25, 10, 50, 0.6));
    border-radius: 18px;
    overflow: hidden;
    font-size: 1.25rem;
    border: 1px solid rgba(155, 92, 255, 0.25);
    box-shadow: 0 0 25px rgba(155, 92, 255, 0.15);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    color: #fff;
}

/* Заголовки */
.subscription-table thead th {
    color: #FFFFFF;
    font-weight: 800;
    padding: 16px 22px 10px;
    font-size: 1.2rem;
    border: none;
    text-transform: uppercase;
    vertical-align: middle;
    text-shadow: 0 0 10px rgba(185, 122, 255, 0.5);
}
.subscription-table thead .price {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffe054;
    margin-top: 2px;
    background: rgba(155, 92, 255, 0.25);
    border-radius: 12px;
    padding: 8px 12px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Фоны колонок */
.col-command  { background: linear-gradient(135deg, #542e8b, #a55fff); }
.col-levels   { background: linear-gradient(135deg, #6b3cff, #c8a2ff); }
.col-pro      { background: linear-gradient(135deg, #7c5cff, #a86fff); }
.col-pro-plus { background: linear-gradient(135deg, #af61ff, #e67cff); }
.col-ultra    { background: linear-gradient(135deg, #7d3cff, #b97aff, #d774ff); }

/* Ячейки */
.subscription-table td {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Галочки и крестики */
.subscription-table td.yes::before { content: "✅"; color: #9b5cff; filter: drop-shadow(0 0 6px #9b5cff); }
.subscription-table td.no::before { content: "❌"; color: #ff5f5f; }

/* Hover */
.subscription-table tbody tr:hover {
    background-color: rgba(155, 92, 255, 0.1);
}
.subscription-table tbody tr:hover td {
    transform: scale(1.03);
}
.subscription-table tbody tr:hover td::before {
    transform: scale(1.25);
}

/* Команды */
.subscription-table .text-start {
    font-family: monospace;
    font-weight: 700;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, rgba(20, 10, 40, 0.95), #0e0b14 90%);
    border-top: 1px solid rgba(155, 92, 255, 0.2);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 -2px 20px rgba(155, 92, 255, 0.08);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .navbar { padding: 10px 18px; }
    .cta-wrapper { padding: 35px 20px; margin: 30px auto; }
    .btn-gradient, .auth-button, .btn-primary, .cta-wrapper .cta-button { width: 100%; }
    .subscription-table thead th, .subscription-table td { font-size: 1rem; padding: 14px; }
}
/* === TABLE: SUBSCRIPTIONS (Ultra Glass v2 — Fixed Glow & Full Emoji Support) === */

.subscription-table {
    width: 100%;
    margin: 60px auto;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.25rem;
    color: #fff;
    background: rgba(40, 20, 70, 0.25);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(185, 122, 255, 0.25);
    box-shadow:
        inset 0 0 25px rgba(155, 92, 255, 0.2),
        0 0 50px rgba(155, 92, 255, 0.3);
    position: relative;
    color: #fff; /* полный белый текст */
}

/* Мягкий перелив света */
.subscription-table::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(185, 122, 255, 0.15),
        transparent 60%
    ),
    radial-gradient(
        circle at 80% 70%,
        rgba(155, 92, 255, 0.12),
        transparent 70%
    );
    animation: glassWave 8s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes glassWave {
    0% { background-position: 0% 0%, 100% 100%; }
    50% { background-position: 100% 50%, 0% 50%; }
    100% { background-position: 50% 100%, 50% 0%; }
}

/* Заголовки */
.subscription-table thead th {
    background: rgba(155, 92, 255, 0.2);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 8px rgba(185, 122, 255, 0.6);
    box-shadow: inset 0 -1px 6px rgba(155, 92, 255, 0.2);
}

/* Подзаголовок с ценой */
.subscription-table thead .price {
    display: block;
    font-size: 0.9rem;
    color: #ffe054;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Ячейки */
.subscription-table td {
    position: relative;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.35s ease;
    color: #fff; /* чисто белый текст */
}

/* Hover */
.subscription-table tbody tr:hover td {
    background: rgba(155, 92, 255, 0.08);
    box-shadow: inset 0 0 25px rgba(155, 92, 255, 0.25);
    transform: scale(1.01);
}

/* Галочки и крестики — теперь обычные эмодзи */
.subscription-table td.yes {
    text-align: center;
    font-size: 1.6rem;
    text-shadow: 0 0 6px rgba(185, 122, 255, 0.6);
}
.subscription-table td.no {
    text-align: center;
    font-size: 1.6rem;
    text-shadow: 0 0 6px rgba(255, 80, 80, 0.6);
}

/* Команды с нумерацией */
.subscription-table tbody {
    counter-reset: cmd-counter;
}
.subscription-table tbody tr {
    counter-increment: cmd-counter;
}
.subscription-table tbody tr .text-start {
    font-family: monospace;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 6px rgba(155, 92, 255, 0.3);
}
.subscription-table tbody tr .text-start::before {
    content: counter(cmd-counter, decimal-leading-zero) " ";
    font-weight: 700;
    margin-right: 8px;
    color: #b97aff;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .subscription-table {
        font-size: 1rem;
    }
    .subscription-table thead th,
    .subscription-table td {
        padding: 14px;
    }
}
/* === LIQUID GLASS ULTIMATE PACK (Next-Level Enhanced) === */
:root {
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(155, 92, 255, 0.25);
    --glass-shadow: rgba(155, 92, 255, 0.2);
    --glass-inner-shadow: rgba(185, 122, 255, 0.12);
    --glass-lightwave: rgba(255, 255, 255, 0.08);
}

/* Основной стеклянный стиль */
.glass,
.card,
.blog-card,
.stats-card,
.subscription-table table,
.cta-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 6px 35px var(--glass-shadow), inset 0 0 20px var(--glass-inner-shadow);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Мягкие градиентные переливы */
.glass::before,
.card::before,
.blog-card::before,
.stats-card::before,
.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, var(--glass-lightwave) 0%, transparent 70%);
    filter: blur(25px);
    animation: glassWave 10s infinite alternate;
    pointer-events: none;
}

/* Анимация перелива */
@keyframes glassWave {
    0%   { transform: translate(0%, 0%) scale(1); opacity: 0.35; }
    25%  { transform: translate(5%, 3%) scale(1.02); opacity: 0.5; }
    50%  { transform: translate(10%, 0%) scale(1.04); opacity: 0.55; }
    75%  { transform: translate(5%, -3%) scale(1.02); opacity: 0.5; }
    100% { transform: translate(0%, 0%) scale(1); opacity: 0.35; }
}

/* Hover эффект стекла */
.glass:hover,
.card:hover,
.blog-card:hover,
.stats-card:hover,
.subscription-table tbody tr:hover,
.cta-wrapper:hover {
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 8px 50px rgba(155, 92, 255, 0.3), inset 0 0 30px rgba(185, 122, 255, 0.15);
}

/* Мягкая подсветка границ */
.glass::after,
.card::after,
.blog-card::after,
.stats-card::after,
.cta-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(185, 122, 255, 0.12);
    pointer-events: none;
    box-shadow: 0 0 15px rgba(185, 122, 255, 0.2) inset;
}
/* ===== Navbar (Modern Glass Purple + Glow Dropdown) ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(155, 92, 255, 0.2);
    box-shadow: 0 0 35px rgba(155, 92, 255, 0.25), inset 0 0 20px rgba(185, 122, 255, 0.1);
    transition: all 0.5s ease;
}

@keyframes navbarGlowSmooth {
    0%   { box-shadow: 0 0 20px rgba(155,92,255,0.2), 0 0 40px rgba(185,122,255,0.1) inset; }
    50%  { box-shadow: 0 0 40px rgba(185,122,255,0.35), 0 0 60px rgba(155,92,255,0.2) inset; }
    100% { box-shadow: 0 0 20px rgba(155,92,255,0.2), 0 0 40px rgba(185,122,255,0.1) inset; }
}

.navbar.glow {
    animation: navbarGlowSmooth 8s infinite alternate;
}

/* Navbar links */
.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease, text-shadow 0.5s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    text-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--primary-color);
    background: rgba(155, 92, 255, 0.1);
}

/* ===== Dropdown Menus ===== */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 180px;
    background: rgba(30, 15, 45, 0.85);  /* больше стекла */
    border-radius: 14px;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(155, 92, 255, 0.2);
    box-shadow: 0 0 25px rgba(155, 92, 255, 0.2);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.navbar .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
}

/* Glow animation for dropdown items */
@keyframes dropdownGlow {
    0%   { text-shadow: 0 0 4px rgba(155,92,255,0.3); }
    50%  { text-shadow: 0 0 12px rgba(185,122,255,0.5); }
    100% { text-shadow: 0 0 4px rgba(155,92,255,0.3); }
}

.navbar .dropdown-menu a::after {
    content: "▶";
    position: absolute;
    right: 12px;
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: dropdownGlow 3s infinite alternate;
}

/* Hover effect on dropdown links */
.navbar .dropdown-menu a:hover {
    background: rgba(155, 92, 255, 0.12);
    text-shadow: 0 0 8px var(--accent-color);
    transform: translateX(3px) scale(1.05);
}

.navbar .dropdown-menu a:hover::after {
    opacity: 1;
    transform: translateX(3px) scale(1.2);
}
/* ===== Dropdown Menus (Adaptive Width + Smooth Animation) ===== */
.navbar .dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 180px;
    max-width: 450px;
    width: max-content;
    background: rgba(30, 15, 45, 0.85);
    border-radius: 14px;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(155, 92, 255, 0.2);
    box-shadow: 0 0 25px rgba(155, 92, 255, 0.2);
    padding: 0; /* убрали внутренний padding для анимации */
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.3s ease, padding 0.35s ease;
    z-index: 1001;
    white-space: nowrap;
}

/* Активное/открытое меню */
.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    padding: 10px 0; /* внутренний padding появляется при открытии */
}

/* Dropdown links */
.navbar .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    white-space: nowrap;
}

.navbar .dropdown-menu a:hover {
    background: rgba(155, 92, 255, 0.15);
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}
/* ===== Hero Subscription CTA (Main Page) ===== */
.hero-subscription {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(155, 92, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    box-shadow: 0 0 60px rgba(155, 92, 255, 0.25), 0 0 90px rgba(185, 122, 255, 0.15) inset;
    padding: 60px 50px;
    margin: 60px auto;
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

.hero-subscription::before,
.hero-subscription::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155,92,255,0.2), transparent 70%);
    top: -50%;
    left: -50%;
    transform: rotate(0deg);
    animation: heroGlowRotate 12s linear infinite;
    pointer-events: none;
}

.hero-subscription::after {
    animation-delay: 6s;
}

@keyframes heroGlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Text Elements ===== */
.hero-subscription h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(185, 122, 255, 0.7);
}

.hero-subscription p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(155, 92, 255, 0.5);
}

/* ===== CTA Button ===== */
.hero-subscription .cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9b5cff, #7d3cff, #b97aff);
    padding: 18px 45px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 25px;
    color: #fff !important;
    text-transform: uppercase;
    box-shadow: 0 0 40px rgba(185, 122, 255, 0.5);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease, transform 0.25s ease;
    text-decoration: none;
}

.hero-subscription .cta-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

.hero-subscription .cta-btn:hover {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 0 55px rgba(185, 122, 255, 0.7), 0 0 75px rgba(155, 92, 255, 0.35) inset;
}

/* ===== Floating Sparkles ===== */
.hero-subscription .sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff9cff, #9b5cff);
    border-radius: 50%;
    opacity: 0.7;
    animation: sparkleMove 6s linear infinite;
}

.hero-subscription .sparkle:nth-child(1) { top: 20%; left: 10%; animation-duration: 5s; }
.hero-subscription .sparkle:nth-child(2) { top: 60%; left: 30%; animation-duration: 7s; }
.hero-subscription .sparkle:nth-child(3) { top: 40%; left: 80%; animation-duration: 6s; }
.hero-subscription .sparkle:nth-child(4) { top: 75%; left: 60%; animation-duration: 8s; }

@keyframes sparkleMove {
    0% { transform: translate(0,0) scale(1); opacity: 0.7; }
    50% { transform: translate(15px, -20px) scale(1.3); opacity: 1; }
    100% { transform: translate(-10px, 15px) scale(1); opacity: 0.7; }
}

/* ===== Mobile Adaptation ===== */
@media (max-width: 768px) {
    .hero-subscription {
        padding: 40px 25px;
        margin: 40px 15px;
    }

    .hero-subscription h2 { font-size: 1.8rem; }
    .hero-subscription p { font-size: 1rem; }
    .hero-subscription .cta-btn { width: 100%; padding: 16px 0; }
}
/* =============================
   Модалки магазина — стиль стекла
============================= */

/* Основной фон модалки (тёмное стекло) */
.modal-content {
    background: rgba(25, 15, 40, 0.85); /* тёмное стекло */
    color: #ffffff; /* белый текст */
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: translateY(-30px) scale(0.98);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Появление модалки */
.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Заголовок модалки */
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Тело модалки */
.modal-body {
    padding: 1.5rem;
    max-height: 60vh; /* скролл при переполнении */
    overflow-y: auto;
    color: #ffffff;
}

/* Футер */
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    justify-content: flex-end;
}

/* Кнопка закрытия */
.modal .btn-close {
    filter: invert(1); /* белый крестик */
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal .btn-close:hover {
    opacity: 1;
}

/* Кнопки внутри модалки */
.modal .btn {
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modal .btn-primary {
    background-color: #6c5ce7;
    border: none;
    color: #fff;
}

.modal .btn-primary:hover {
    background-color: #5b4bd3;
}

/* Скролл внутри модалки */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

/* Фон при открытии модалки */
.modal-backdrop.show {
    opacity: 0.6; /* затемнение заднего фона */
    backdrop-filter: blur(5px);
}
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05); /* стекло */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.list-group-item {
    color: #fff;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    white-space: normal;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.12); /* подсветка */
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.list-group-item.active {
    background: rgba(255, 255, 255, 0.15); /* стекло активного */
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.list-group-item:active {
    transform: scale(0.98);
}
/* === ПОЛЯ ВВОДА === */
.form-control, textarea.form-control {
    background: rgba(255, 255, 255, 0.06) !important; /* стекло */
    color: #ffffff !important; /* текст белый */
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* тонкая рамка */
    border-radius: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    backdrop-filter: blur(12px) !important; /* размытие фона */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.4s ease !important;
}

.form-control:focus, textarea.form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #0d6efd !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    outline: none !important;
}

/* === КОММЕНТАРИИ === */
.card-text, .text-body-secondary, .comment, .comment-body {
    color: #ffffff !important; /* текст читаемый */
}

.comment .author, .comment .date {
    color: rgba(255, 255, 255, 0.85) !important; /* чуть светлее */
}

/* Убираем лишние отступы у последних абзацев */
.card-text:last-child {
    margin-bottom: 0 !important;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Сброс стандартных отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*, ::after, ::before {
    box-sizing: border-box;
}
/* === КРАСИВАЯ КНОПКА ВЫБОРА ФАЙЛА === */
.form-control[type=file] {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.form-control[type=file]::file-selector-button {
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control[type=file]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
/* === Кнопки с постоянным стеклянным эффектом === */
.btn-danger,
.btn-secondary {
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;

    /* === Стеклянный эффект по умолчанию === */
    background: linear-gradient(145deg, rgba(220,53,69,0.4), rgba(220,53,69,0.25)); /* btn-danger */
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Для btn-secondary серый стеклянный */
.btn-secondary {
    background: linear-gradient(145deg, rgba(108,117,125,0.4), rgba(108,117,125,0.25));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* При наведении эффект усиливается */
.btn-danger:hover {
    background: linear-gradient(145deg, rgba(220,53,69,0.8), rgba(220,53,69,0.6));
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 18px rgba(220,53,69,0.35);
}

.btn-secondary:hover {
    background: linear-gradient(145deg, rgba(108,117,125,0.8), rgba(108,117,125,0.6));
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 18px rgba(108,117,125,0.35);
}

/* Отключённое состояние */
.btn-danger:disabled,
.btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* === ALERT DANGER ЧИТАЕМЫЙ === */
.alert-danger {
    color: #fff !important;
    background-color: rgba(220, 53, 69, 0.25) !important; /* чуть ярче */
    border: 1px solid rgba(220, 53, 69, 0.4) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.alert-danger a {
    color: #fff !important;
    text-decoration: underline;
}

.alert-warning {
    color: #fff !important; /* белый текст для ссылок */
    background-color: rgba(255, 193, 7, 0.25) !important; /* прозрачный желтый */
    border: 1px solid rgba(255, 193, 7, 0.4) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-warning a {
    color: #fff !important; /* белый текст для ссылок */
    text-decoration: underline;
}

.countdown-section {
    padding: 3rem 1rem;
    text-align: center;
}

.countdown-section .section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.countdown-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    padding: 2rem 3rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
}

.countdown-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-family: 'Arial', sans-serif;
}

.countdown div {
    text-align: center;
    padding: 0 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.countdown div:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.countdown .number {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.countdown span {
    display: block;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.25rem;
}
/* Основной стиль всех таблиц */
.table.cart-items,
.table.coupons,
.table.payments,
.table { /* общий стиль для профиля платежей */
    --bs-table-bg: rgba(40, 20, 70, 0.25) !important;
    --bs-table-color: #fff !important;
    --bs-table-border-color: rgba(185, 122, 255, 0.25) !important;
    --bs-table-striped-bg: rgba(155, 92, 255, 0.12) !important;
    --bs-table-hover-bg: rgba(155, 92, 255, 0.18) !important;
    --bs-table-active-bg: rgba(155, 92, 255, 0.25) !important;
    --bs-table-striped-color: #fff !important;
    --bs-table-hover-color: #fff !important;
    --bs-table-active-color: #fff !important;

    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 16px; /* скругление всех таблиц */
    overflow: hidden;
    border: 1px solid rgba(185, 122, 255, 0.25);
    box-shadow:
        inset 0 0 25px rgba(155, 92, 255, 0.2),
        0 0 45px rgba(155, 92, 255, 0.3);
}

/* Заголовки */
.table.cart-items thead th,
.table.coupons thead th,
.table.payments thead th,
.table thead th {
    background: rgba(155, 92, 255, 0.3) !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* Hover строк — аккуратная подсветка, без белого */
.table.cart-items tbody tr:hover,
.table.coupons tbody tr:hover,
.table.payments tbody tr:hover,
.table tbody tr:hover {
    background: rgba(155, 92, 255, 0.12) !important; /* легкая фиолетовая подсветка */
}

/* Плавная анимация для всех строк */
.table.cart-items tbody tr td,
.table.coupons tbody tr td,
.table.payments tbody tr td,
.table tbody tr td {
    transition: background 0.3s ease, color 0.3s ease;
}

/* Полосатые строки (striped) */
.table.cart-items tbody tr:nth-child(odd),
.table.coupons tbody tr:nth-child(odd),
.table.payments tbody tr:nth-child(odd),
.table tbody tr:nth-child(odd) {
    background: rgba(155, 92, 255, 0.05) !important;
}

/* Скругление углов для заголовков и первой/последней ячейки строк */
.table thead th:first-child {
    border-top-left-radius: 16px;
}
.table thead th:last-child {
    border-top-right-radius: 16px;
}
.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}
.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

#snowCanvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 999999999 !important;
}

