:root {
    --gold: #FFD700;
    --gold-dim: #D4AF37;
    --purple-deep: #2d1b4e;
    --purple-light: #9d50bb;
    --blue-vivid: #00d2ff;
    --bg-dark: #0a0a10;
    --bg-card: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    
    /* VIP Gradients */
    --gradient-vip: linear-gradient(135deg, #a044ff 0%, #6a3093 100%);
    --gradient-vip-text: linear-gradient(to right, #FFD700, #FDB931);
    --gradient-hero: radial-gradient(circle at center, #2d1b4e 0%, #000000 100%);
    
    /* Shadows */
    --glow-gold: 0 0 15px rgba(255, 215, 0, 0.4);
    --glow-text: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

html {
    width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

@supports not (overflow: clip) {
    html {
        overflow-x: hidden;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

body.nav-open {
    overflow: hidden;
}

#google_translate_element,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

img, video, canvas {
    max-width: 100%;
}

canvas {
    height: auto;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 16, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--gold);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-toggle:active {
    transform: scale(0.98);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: var(--glow-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center; /* Ensure vertical alignment */
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold);
    text-shadow: var(--glow-text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    padding: 100px 20px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552422535-c45813c61732?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.vip-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    box-shadow: var(--glow-gold);
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: var(--gradient-vip-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.hero-content p {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 16px 50px;
    font-size: 1.3rem;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    background: #fff;
    color: #000;
    border-color: #fff;
}

.cta-btn.secondary {
    background: transparent;
    color: var(--gold);
    margin-left: 20px;
}

.cta-btn.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #fff;
}

@media (max-width: 1024px) {
    nav {
        padding: 14px 20px;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .features,
    .testimonials,
    .pricing,
    #progress,
    .faq,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .grid {
        gap: 28px;
    }

    .card {
        padding: 30px;
    }
}

@media (max-width: 900px) {
    nav {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    body.nav-open .nav-links {
        display: flex;
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 14px 18px;
        flex-direction: column;
        gap: 12px;
        background: rgba(10, 10, 16, 0.98);
        border-bottom: 1px solid rgba(255, 215, 0, 0.12);
        backdrop-filter: blur(12px);
        z-index: 999;
    }

    .nav-links a {
        font-size: 1rem;
        white-space: normal;
        padding: 10px 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    #language-selector {
        margin-left: 0;
        transform: none;
        font-size: 0.95rem;
        max-width: 220px;
    }

    body.nav-open #language-selector {
        width: 100%;
        max-width: none;
    }

    .testimonials .grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 94%);
        gap: 14px;
        overflow-x: auto;
        padding: 2px 0 10px 0;
        scroll-padding-left: 10px;
        scroll-padding-right: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .testimonials .grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials .review-card {
        scroll-snap-align: start;
        min-width: 0;
    }

    .carousel-dots {
        display: flex;
    }

    .page-home #faq .faq-grid .faq-item:nth-child(n+5) {
        display: none;
    }

    .progress-section .scroll-indicator {
        display: block;
    }

    .progress-section .changelog-content .update-list {
        width: min(400px, calc(100% - 14px));
        margin: 0 auto;
        padding: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    body.nav-open .nav-links {
        display: flex;
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 14px 18px;
        flex-direction: column;
        gap: 12px;
        background: rgba(10, 10, 16, 0.98);
        border-bottom: 1px solid rgba(255, 215, 0, 0.12);
        backdrop-filter: blur(12px);
        z-index: 999;
    }

    .nav-links a {
        font-size: 1rem;
        white-space: normal;
        padding: 10px 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links a:active {
        transform: scale(0.99);
    }

    #language-selector {
        margin-left: 0;
        transform: none;
        font-size: 0.95rem;
        max-width: 220px;
    }

    body.nav-open #language-selector {
        width: 100%;
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 16px 60px;
    }

    .hero-content {
        max-width: 640px;
    }

    .vip-badge {
        padding: 6px 14px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 26px;
    }

    .cta-btn {
        width: 100%;
        max-width: 340px;
        padding: 14px 24px;
        font-size: 1.05rem;
    }

    .cta-btn.secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 34px;
        padding: 0 6px;
    }

    #progress .section-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        line-height: 1.1;
    }

    #progress .section-title .progress-title-main {
        color: #fff;
    }

    #progress .section-title .progress-title-sub {
        color: var(--gold);
    }

    .features,
    .testimonials,
    .pricing,
    #progress,
    .faq {
        padding: 70px 16px;
    }

    .features .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .features .card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .features .card i {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .features .card h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .features .card p {
        font-size: 0.85rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .card i {
        font-size: 2.6rem;
    }

    .card h3 {
        font-size: 1.35rem;
    }

    .review-card {
        padding: 22px;
    }

    .testimonials .grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 94%);
        gap: 14px;
        overflow-x: auto;
        padding: 2px 0 10px 0;
        scroll-padding-left: 10px;
        scroll-padding-right: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .testimonials .grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials .review-card {
        scroll-snap-align: start;
        min-width: 0;
    }

    .carousel-dots {
        display: flex;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .footer-col:nth-child(1) {
        grid-column: 1 / -1;
    }

    .footer-col:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-col:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .roadmap-dashboard {
        grid-template-columns: 1fr;
    }

    .theme-details {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .price-tag {
        font-size: 2.1rem;
    }

    .faq {
        min-height: auto;
        max-width: 100%;
    }

    .faq-question {
        padding: 18px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
        word-break: break-word;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-answer p {
        padding: 18px 0;
    }

    .faq-item.active .faq-answer {
        max-height: 320px;
    }

    .page-home #faq .faq-grid .faq-item:nth-child(n+5) {
        display: none;
    }
}

.scroll-indicator {
    display: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 7px 0;
}

.scroll-indicator-bar {
    height: 100%;
    width: 40px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 999px;
    transform: translateX(0);
    will-change: transform, width;
}

.progress-section .changelog-content .update-list {
    touch-action: pan-y;
}

@media (max-width: 768px) {
    .progress-section .changelog-sidebar {
        touch-action: pan-x;
    }

    .progress-section .scroll-indicator {
        display: block;
    }

    .progress-section .changelog-content .update-list {
        width: min(400px, calc(100% - 14px));
        margin: 0 auto;
        padding: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .progress-section .changelog-content .update-list {
        width: min(360px, calc(100% - 14px));
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .card {
        padding: 24px;
        border-radius: 16px;
    }

    .grid {
        gap: 20px;
    }

    .features .grid {
        gap: 12px;
    }

    .features .card {
        padding: 16px 12px;
    }

    .features .card p {
        -webkit-line-clamp: 2;
    }

    footer {
        padding: 50px 16px 26px;
    }
}

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

/* Practice Section Specifics */
#practice {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a0f2e 0%, #000 100%);
    position: relative;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

canvas {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(160, 68, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

#start-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 16, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

#start-screen h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-vip-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

#start-screen p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
}

.controls-hint {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.key-hint {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

#feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
    text-shadow: 0 0 20px currentColor;
    background: var(--gradient-vip-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-ui-layer {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 10;
}

.stat-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    min-width: 150px;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: bold;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feedback-text {
    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    -webkit-text-stroke: 2px #000;
    text-shadow: 0 0 20px currentColor;
}

/* Features Section */
.features {
    padding: 100px 50px;
    background: #08080c;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.section-title span {
    color: var(--gold);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-vip);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(160, 68, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.card i {
    font-size: 3.5rem;
    background: var(--gradient-vip-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 50px 30px;
    background: #050508;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Progress Section */
#progress {
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
    padding: 80px 50px; /* Reduced padding */
    border-top: 1px solid rgba(255, 215, 0, 0.05);
    min-height: auto; /* Allow height to fit content */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Roadmap Dashboard - Wide Cards Grid Layout */
.roadmap-dashboard {
    max-width: 1600px; /* Increased max-width */
    width: 100%;
    margin: 0 auto;
    display: grid;
    /* Increased min-width to 500px to make cards significantly wider */
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); 
    gap: 30px;
    align-items: stretch; /* Cards in same row will have equal height */
}

.theme-card {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(160, 68, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    padding-bottom: 0;
    padding-right: 0;
    border-right: 1px solid rgba(160, 68, 255, 0.3); /* Reset */
}

.theme-card:hover {
    /* Removed hover effects as requested */
}

.theme-card.active {
    background: rgba(30, 15, 45, 0.8);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(160, 68, 255, 0.2);
}

/* Header */
.theme-header {
    padding: 15px 20px; /* Reduced from 25px */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; 
    cursor: default;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
    height: auto; /* Allow natural height */
}

.theme-header:hover {
    /* Removed hover background change */
    background: rgba(255, 255, 255, 0.02);
}

.theme-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced from 15px */
    width: 100%;
}

.theme-info h4 {
    margin: 0;
    font-size: 1.1rem; /* Reduced from 1.4rem */
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Percent on right */
    gap: 8px; /* Reduced from 10px */
    width: 100%;
    text-shadow: 0 0 10px rgba(160, 68, 255, 0.5);
}

.theme-percent {
    font-size: 0.85rem; /* Reduced from 1rem */
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 3px 8px; /* Reduced from 4px 10px */
    border: 1px solid var(--gold);
    border-radius: 6px;
    align-self: center;
}

.theme-progress-bar {
    width: 100%;
    max-width: 100%;
    height: 6px; /* Reduced from 8px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px; /* Reduced from 4px */
    overflow: hidden;
    margin-top: 2px; /* Reduced from 5px */
}

.theme-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a044ff, #00d2ff);
    border-radius: 3px;
    width: 0%; 
    transition: width 1s ease-out;
}

.arrow {
    display: none;
}

/* Details - 2 Columns Grid */
.theme-details {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns side-by-side */
    gap: 10px; /* Reduced from 15px */
    padding: 15px 20px; /* Reduced from 20px 25px */
    border-top: none;
    background: transparent;
    animation: none;
}

.theme-card.active .theme-details {
    display: grid;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced from 12px */
    padding: 8px 10px; /* Reduced from 10px 12px */
    border-bottom: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px; /* Reduced from 8px */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.feature-check-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(160, 68, 255, 0.3);
}

.feature-check-item i {
    font-size: 1rem; /* Reduced from 1.2rem */
    min-width: 18px; /* Reduced from 20px */
}

.feature-check-item span {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: #ddd;
    line-height: 1.2; /* Reduced from 1.3 */
}

/* Responsive */
@media (max-width: 900px) {
    .roadmap-dashboard {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        max-width: 600px;
    }
    .theme-card {
        padding-right: 0;
        border-right: 1px solid rgba(160, 68, 255, 0.3);
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .footer-col:nth-child(1) {
        grid-column: 1 / -1;
    }

    .footer-col:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-col:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

/* --- NEW SECTIONS CSS --- */

/* Practice Info Content */
.practice-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-vip-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.practice-text-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}
.key-list {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.key-item {
    text-align: center;
}
.key-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.key-desc {
    font-size: 0.8rem;
    color: #888;
}

/* Testimonials */
.testimonials {
    padding: 100px 50px;
    background: #0a0a10;
}
.review-card {
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
}
.user-details h4 {
    color: #fff;
    margin-bottom: 2px;
}
.stars {
    color: var(--gold);
    font-size: 0.8rem;
}
.review-text {
    font-style: italic;
    color: #ccc;
}

.carousel-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0;
    cursor: pointer;
}

.carousel-dot.active {
    background: rgba(255, 215, 0, 0.85);
    border-color: rgba(255, 215, 0, 0.35);
}

@media (max-width: 900px) {
    .carousel-dots {
        display: flex;
    }
}

/* Pricing */
.pricing {
    padding: 100px 50px;
    background: radial-gradient(circle at center, #1a0f2e 0%, #000 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.pricing-card {
    background: rgba(255,255,255,0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    position: relative;
    transition: 0.3s;
}
.pricing-card.featured {
    background: rgba(160, 68, 255, 0.1);
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(160, 68, 255, 0.2);
    z-index: 2;
}
.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255,255,255,0.08);
}
.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}
.price-tag {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
}
.price-tag span {
    font-size: 1rem;
    color: #888;
    font-weight: normal;
}
.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}
.plan-features li {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features li i {
    color: var(--gold);
}
.plan-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    font-weight: bold;
}
.pricing-card.featured .plan-btn {
    background: var(--gold);
    color: #000;
}
.plan-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

/* FAQ */
.faq {
    padding: 100px 50px;
    background: #08080c;
    width: 100%; /* Full width */
    max-width: 1600px; /* Consistent with other sections */
    margin: 0 auto;
    min-height: 800px; /* Pre-allocate space for expanded items */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns */
    gap: 30px;
    align-items: start; /* Prevent height stretching */
}

.faq-more {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.faq-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.faq-more-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.30);
}

.faq-item {
    margin-bottom: 0; /* Remove margin as grid handles gap */
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden; /* Contain content */
    height: fit-content; /* Let it grow naturally */
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Smooth expansion */
    color: #ccc;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 25px 0 25px 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.faq-item.active {
    border-color: rgba(160, 68, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Sufficient height for text */
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.legal {
    padding: 110px 50px;
    background: #08080c;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.legal-header {
    max-width: 980px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.legal-header h1 {
    margin: 0 0 10px 0;
    font-size: 3rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: 1px;
}

.legal-subtitle {
    margin: 0 0 12px 0;
    color: #ccc;
    line-height: 1.7;
    font-size: 1.05rem;
}

.legal-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 35px 35px;
}

.legal-content h2 {
    margin: 28px 0 10px 0;
    color: #fff;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-content ul {
    margin: 10px 0 0 18px;
}

.legal-content a {
    color: var(--gold);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-actions {
    max-width: 980px;
    margin: 18px auto 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.legal-back:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.30);
}

.legal-back.secondary {
    background: transparent;
}

.cookie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.cookie-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
    padding: 18px 18px;
}

.cookie-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}

.cookie-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
}

.cookie-desc {
    color: #ccc;
    line-height: 1.7;
}

.cookie-switch {
    position: relative;
    width: 52px;
    height: 30px;
    display: inline-block;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.2s;
    border-radius: 999px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    transition: 0.2s;
    border-radius: 999px;
}

.cookie-switch input:checked + .cookie-slider {
    background: rgba(160, 68, 255, 0.35);
    border-color: rgba(160, 68, 255, 0.55);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translate(22px, -50%);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 22px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    background: var(--gold);
    color: #000;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.cookie-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-status {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .legal {
        padding: 90px 24px;
    }
    .legal-content {
        padding: 24px 18px;
    }
    .cookie-grid {
        grid-template-columns: 1fr;
    }
}

#language-selector {
    background-color: transparent;
    border: none;
    color: #ccc;
    padding: 5px 0;
    cursor: pointer;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
    margin-left: 20px;
    transform: translateY(-2px);
}

#language-selector:hover {
    color: var(--gold);
    text-shadow: var(--glow-text);
}

#language-selector option {
    background-color: #0a0a10;
    color: #fff;
    padding: 10px;
}

#google_translate_element {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

@media (max-width: 900px) {
    .card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    }
}