/* ==========================================
   1. NAVBAR COMPONENT
   ========================================== */
.main-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header-nav {
    max-width: 1200px;
    width: 92%;
    margin-top: 15px;
    height: 65px;
    background: rgba(10, 14, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 0 25px;
}

[data-theme="light"] .header-nav {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.header-nav.scrolled {
    height: 60px;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0.1) rgba(255, 255, 255, 0) !important;
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .header-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.mobile-menu-action {
    display: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--transition-fast) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    padding: 8px;
    transition: color var(--transition-fast);
}

/* ==========================================
   2. BUTTON COMPONENT
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-normal);
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.5);
    background: linear-gradient(135deg, #00b4ec 0%, #0062dc 100%);
}

.btn-premium {
    background: var(--grad-premium);
    color: #1a1500;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-premium:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffd700 0%, #e69500 100%);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color-hover);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--border-color);
    border-color: var(--text-main);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* ==========================================
   3. GAME CARD COMPONENT
   ========================================== */
.game-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow) ease;
}

.game-card:hover .card-img {
    transform: scale(1.08);
}

.card-badge-container {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-free {
    background: var(--grad-success);
}

.badge-premium {
    background: var(--grad-premium);
    color: #1a1500;
}

.badge-tiktok {
    background: #fe2c55;
}

.badge-encyclopedia {
    background: var(--grad-encyclopedia);
}

.badge-new {
    background: var(--grad-danger);
    animation: pulse 2s infinite;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* ==========================================
   4. PRICING CARD COMPONENT
   ========================================== */
.pricing-card {
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid #ffd700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
    transform: translateY(-10px);
}

@media (max-width: 992px) {
    .pricing-card.featured {
        transform: translateY(0);
    }
}

.pricing-badge-wrapper {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-premium);
    color: #1a1500;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.price-card-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.price-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-card-header p {
    font-size: 0.85rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="light"] .price-item {
    background: rgba(0, 0, 0, 0.015);
}

.price-item:hover {
    background: var(--border-color);
    border-color: var(--border-color-hover);
}

.price-item.premium-item {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.03);
}

.price-item.premium-item:hover {
    background: rgba(255, 215, 0, 0.06);
}

.price-duration {
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.deal-tag {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 65, 108, 0.1);
    color: #ff416c;
}

.deal-tag.gold {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

[data-theme="light"] .deal-tag.gold {
    color: #b58900;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-main);
}

/* ==========================================
   5. FLOATING WIDGETS
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.promo-banner {
    display: none !important;
}

/* ==========================================
   6. FOOTER COMPONENT
   ========================================== */
.main-footer {
    background: #05080e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: auto;
}

[data-theme="light"] .main-footer {
    background: #eef2f6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--text-main);
    transform: translateX(-4px);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.tg {
    background: #0088cc;
}

.social-btn.wa {
    background: #25d366;
}

.social-btn.yt {
    background: #ff0000;
}

.footer-seo {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   7. INPUT & FORM COMPONENT
   ========================================== */
.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.form-control {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

[data-theme="light"] .form-control {
    background: #ffffff;
}

.form-control:focus {
    border-color: #00c6ff;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================
   8. MOBILE RESPONSIVE NAV OVERLAYS
   ========================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-actions {
        gap: 10px;
    }

    .header-nav {
        padding: 0 15px;
    }

    .brand-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 85vh;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 24px 20px 30px 20px;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity var(--transition-normal) ease, transform var(--transition-normal) ease, visibility var(--transition-normal) ease;
        z-index: 999;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    [data-theme="light"] .nav-menu {
        background: rgba(243, 247, 250, 0.98);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: right;
    }

    /* Better mobile links (app-like) */
    .nav-menu .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.05rem;
        padding: 14px 20px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }

    [data-theme="light"] .nav-menu .nav-link {
        background: rgba(0, 0, 0, 0.03);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(0, 198, 255, 0.05);
        border-color: rgba(0, 198, 255, 0.2);
        color: #00c6ff;
    }

    /* Remove bottom border effect on mobile */
    .nav-menu .nav-link::after {
        display: none;
    }

    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-actions {
        margin-right: auto;
        margin-left: 10px;
        gap: 8px;
    }

    /* Hide the primary buttons from the narrow top header on mobile */
    .nav-actions #navJoinRoomBtn,
    .nav-actions #navBuyBtn {
        display: none;
    }

    /* Style the actions inside the mobile menu drawer */
    .mobile-menu-action {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .mobile-menu-action .btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 1.05rem;
        border-radius: 14px;
    }

    .mobile-menu-action .btn-secondary {
        border: 1px solid var(--border-color-hover);
        background: rgba(255, 255, 255, 0.02);
    }

    /* Mobile Dropdown styles */
    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.01) !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: none;
        opacity: 1;
        transform: none;
        padding: 10px 15px !important;
        margin-top: 5px;
        border-radius: 14px !important;
        transition: none;
        list-style: none;
        flex-direction: column;
        gap: 8px;
    }

    [data-theme="light"] .dropdown-menu {
        background: rgba(0, 0, 0, 0.01) !important;
    }

    .dropdown-menu.show {
        display: flex;
    }

    .dropdown-menu li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        padding: 12px 15px;
        color: var(--text-muted);
        font-size: 0.95rem;
        font-weight: bold;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        transition: all var(--transition-fast);
    }

    [data-theme="light"] .dropdown-menu li a {
        background: rgba(0, 0, 0, 0.02);
    }

    .dropdown-menu li a:hover {
        color: var(--text-main);
        background: rgba(255, 255, 255, 0.05);
        transform: translateX(-5px);
    }

    .dropdown-icon {
        display: inline-block;
        margin-right: 8px;
        font-size: 0.8rem;
        transition: transform var(--transition-fast);
    }

    .dropdown.active-mobile .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu li a i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }

    .dropdown-menu li a .icon-free {
        color: #00b894;
    }

    .dropdown-menu li a .icon-premium {
        color: #ffd700;
    }

    .dropdown-menu li a .icon-tiktok {
        color: #fe2c55;
    }

    .dropdown-menu li a .icon-encyclo {
        color: #ff9f43;
    }

    .dropdown-menu li a .icon-all {
        color: #00c6ff;
    }
}

/* Desktop Dropdown styles */
@media (min-width: 1025px) {
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 10px 0;
        min-width: 240px;
        list-style: none;
        display: none;
        flex-direction: column;
        gap: 5px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        z-index: 1000;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    [data-theme="light"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .dropdown:hover .dropdown-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-menu li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 20px;
        color: var(--text-muted);
        font-size: 0.9rem;
        font-weight: bold;
        text-decoration: none;
        transition: all var(--transition-fast);
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-main);
        padding-right: 25px;
    }

    [data-theme="light"] .dropdown-menu li a:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .dropdown-menu li a i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }

    .dropdown-menu li a .icon-free {
        color: #00b894;
    }

    .dropdown-menu li a .icon-premium {
        color: #ffd700;
    }

    .dropdown-menu li a .icon-tiktok {
        color: #fe2c55;
    }

    .dropdown-menu li a .icon-encyclo {
        color: #ff9f43;
    }

    .dropdown-menu li a .icon-all {
        color: #00c6ff;
    }

    .dropdown-icon {
        margin-right: 5px;
        font-size: 0.75rem;
        transition: transform var(--transition-fast);
    }

    .dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Back to Top Button styling */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--border-color-hover);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 15px var(--shadow-soft);
}

[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="light"] .back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ==========================================
   9. AUTH MODAL COMPONENT
   ========================================== */
.auth-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.auth-modal.show {
    display: flex;
    opacity: 1;
}

.auth-modal-content {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    padding: 35px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    direction: rtl;
    text-align: right;
}

[data-theme="light"] .auth-modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.auth-modal.show .auth-modal-content {
    transform: scale(1);
}

.auth-close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.auth-close-btn:hover {
    color: var(--text-main);
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.auth-form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

[data-theme="light"] .auth-form-group input {
    background: #ffffff;
}

.auth-form-group input:focus {
    border-color: #00c6ff;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.15);
}

.auth-btn {
    margin-top: 10px;
    width: 100%;
}

.btn-google-auth {
    margin-top: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-google-auth:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-google-auth:active {
    transform: translateY(0);
}

.auth-divider span {
    background: transparent;
}

.auth-switch-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.auth-switch-text a {
    color: #00c6ff;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-switch-text a:hover {
    color: #0088cc;
}

.auth-alert {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: none;
    margin-bottom: 15px;
    border-width: 1px;
    border-style: solid;
}

.auth-alert.error {
    background: rgba(235, 94, 85, 0.1);
    border-color: rgba(235, 94, 85, 0.2);
    color: #eb5e55;
    display: block;
}

.auth-alert.success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    display: block;
}

/* User profile dropdown in Navbar */
.nav-profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 160px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .profile-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.profile-dropdown-menu.show {
    display: flex;
}

.profile-dropdown-item {
    padding: 12px 18px;
    color: var(--text-main);
    font-size: 0.9rem;
    text-align: right;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition-fast);
    width: 100%;
}

.profile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .profile-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.profile-dropdown-item.logout {
    border-top: 1px solid var(--border-color);
    color: #eb5e55;
}

/* ==========================================
   10. TOAST NOTIFICATIONS
   ========================================== */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    width: 90%;
    max-width: 420px;
    pointer-events: none;
}

.toast {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 15px 22px;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 14px;
    direction: rtl;
    text-align: right;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15),
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

[data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-success {
    border-right: 5px solid #2ecc71;
}

.toast-success i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.toast-error {
    border-right: 5px solid #eb5e55;
}

.toast-error i {
    color: #eb5e55;
    font-size: 1.2rem;
}

.toast-info {
    border-right: 5px solid #00c6ff;
}

.toast-info i {
    color: #00c6ff;
    font-size: 1.2rem;
}

.cyber-games-grid {
    grid-template-columns: 1fr;
}
}

.cyber-game-card {
    background: rgba(10, 16, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(12px);
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.cyber-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00c6ff;
    box-shadow: 0 0 35px rgba(0, 198, 255, 0.35);
}

.cyber-game-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #03050a;
}

.cyber-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cyber-game-card:hover .cyber-game-thumb img {
    transform: scale(1.08);
}

.cyber-game-tag-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 900;
    color: #fff;
    backdrop-filter: blur(8px);
}

.tag-tiktok {
    background: rgba(254, 44, 85, 0.85);
    border: 1px solid #fe2c55;
}

.tag-vip {
    background: rgba(255, 215, 0, 0.85);
    color: #000;
    border: 1px solid #ffd700;
}

.tag-free {
    background: rgba(0, 198, 255, 0.85);
    color: #000;
    border: 1px solid #00c6ff;
}

.tag-encyclo {
    background: rgba(142, 45, 226, 0.85);
    border: 1px solid #8e2de2;
}

.cyber-game-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.cyber-game-body h4 {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.cyber-game-body p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.cyber-game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.cyber-game-play-btn {
    color: #00c6ff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cyber-game-card:hover .cyber-game-play-btn {
    color: #fff;
}


/* ==========================================
   11. HERO SECTION & HOMEPAGE STYLING (Q PLATFORM)
   ========================================== */
.hero-section {
    position: relative;
    padding: 130px 0 70px 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(0, 198, 255, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    top: -100px;
    right: 15%;
    width: 450px;
    height: 450px;
    background: rgba(0, 198, 255, 0.18);
}

.hero-glow-2 {
    bottom: 5%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 114, 255, 0.15);
}

.hero-glow-3 {
    top: 30%;
    left: 45%;
    width: 350px;
    height: 350px;
    background: rgba(254, 44, 85, 0.08);
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0, 198, 255, 0.08);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #00c6ff;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.15);
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: #00c6ff;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0, 198, 255, 0.3));
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 620px;
}

@media (max-width: 992px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .hero-cta-group {
        justify-content: center;
    }
}

.btn-hero-primary {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.6);
    color: #fff;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 198, 255, 0.5);
    color: #00c6ff !important;
    transform: translateY(-2px);
}

.btn-hero-gold {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700 !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-gold:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Fast Join Room Card Widget inside Hero */
.hero-fast-join {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(0, 198, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    backdrop-filter: blur(16px);
    max-width: 520px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 992px) {
    .hero-fast-join {
        margin: 0 auto;
        flex-direction: column;
        align-items: stretch;
    }
}

.hero-fast-join-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.hero-fast-join-label i {
    color: #00c6ff;
    font-size: 1.2rem;
}

.hero-fast-join-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.hero-fast-join-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 10px 18px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.hero-fast-join-input:focus {
    border-color: #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
}

.hero-fast-join-btn {
    background: #00c6ff;
    color: #0a0e17;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.hero-fast-join-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Hero Showcase Visual Element */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 198, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-main-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.hero-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
}

.hero-screen-dots {
    display: flex;
    gap: 6px;
}

.hero-screen-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-screen-dots span:nth-child(1) {
    background: #ff5f56;
}

.hero-screen-dots span:nth-child(2) {
    background: #ffbd2e;
}

.hero-screen-dots span:nth-child(3) {
    background: #27c93f;
}

.hero-screen-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-game-preview-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #05080f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 10;
}

.hero-game-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: scale 0.5s ease;
}

.hero-main-card:hover .hero-game-preview-img {
    scale: 1.04;
}

.hero-live-stream-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 44, 85, 0.4);
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fe2c55;
    border-radius: 50%;
    box-shadow: 0 0 10px #fe2c55;
    animation: livePulsate 1.5s infinite;
}

@keyframes livePulsate {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

.hero-game-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.hero-game-info-mini h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.hero-game-info-mini p {
    font-size: 0.78rem;
    color: #00c6ff;
    margin: 0;
}

.hero-game-btn-play {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

/* Floating Elements around Hero Showcase */
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 10px 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
    top: -20px;
    right: -25px;
    border-color: rgba(0, 198, 255, 0.4);
}

.floating-badge-2 {
    bottom: 25px;
    left: -35px;
    border-color: rgba(255, 215, 0, 0.4);
    animation-delay: -2s;
}

.floating-badge-3 {
    bottom: -20px;
    right: 20px;
    border-color: rgba(254, 44, 85, 0.4);
    animation-delay: -1s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-12px);
    }
}

/* Stats Counter Bar */
.platform-stats-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Section Header Shared Component */
.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 198, 255, 0.08);
    border: 1px solid rgba(0, 198, 255, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #00c6ff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Platform Features / Superpowers Section */
.features-section {
    padding: 80px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(22, 32, 52, 0.75);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #00c6ff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
    transform: scale(1.08);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works Steps */
.steps-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid #00c6ff;
    color: #00c6ff;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.25);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}