@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-dark: #000000;
    --bg-darker: #000000;
    --panel-bg: rgba(255, 255, 255, 0.02);
    --nav-bg: rgba(0, 0, 0, 0.6);
    --panel-border: rgba(255, 255, 255, 0.04);
    --panel-border-hover: rgba(255, 255, 255, 0.08);
    
    --primary-color: #ffffff; 
    --primary-glow: rgba(255, 255, 255, 0.05);
    
    --secondary-color: #a3a3a3;
    --secondary-glow: rgba(255, 255, 255, 0.03);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dark: #000000;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* --- Custom Scrollbar & Selection --- */
::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark); 
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5); 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Glows (Animated) */
@keyframes ambientGlow {
    0% { transform: scale(1) translate(0px, 0px); opacity: 0.5; }
    33% { transform: scale(1.1) translate(50px, -50px); opacity: 0.7; }
    66% { transform: scale(0.9) translate(-30px, 30px); opacity: 0.4; }
    100% { transform: scale(1) translate(0px, 0px); opacity: 0.5; }
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    z-index: -1;
    filter: blur(140px);
    animation: ambientGlow 20s ease-in-out infinite alternate;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
    z-index: -1;
    filter: blur(140px);
    animation: ambientGlow 25s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Global Text Gradients */
.text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-animated {
    background: linear-gradient(90deg, #ffffff, #a3a3a3, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: var(--transition-smooth);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
}

.nav-brand img {
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    position: relative;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.2rem;
    margin: 0 0.8rem;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.nav-links a:hover, .nav-links a.active { 
    color: #ffffff;
    text-shadow: 0 0 16px rgba(255,255,255,0.4);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    padding-top: 4rem;
}

.hero-badge {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-solid {
    background: #ffffff;
    color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-solid:hover {
    background: #f4f4f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: #a855f7;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #9333ea;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(168, 85, 247, 0.15);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Glass Panels / Cards */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    z-index: 1;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: var(--panel-border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Sections */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Features (Scroll Reveal) */
.feature-box {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 12rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-box.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.feature-text h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.2rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    flex: 1;
    transition: var(--transition-smooth);
}

.stat-box:hover {
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.feature-image img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    mix-blend-mode: lighten;
}

.feature-image:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(59,130,246,0.4));
}

@media (max-width: 900px) {
    .feature-box, .feature-box.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .feature-stats {
        justify-content: center;
    }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bento-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--panel-border-hover);
    transform: translateY(-5px);
}

.bento-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
}

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Games Grid */
#games {
    scroll-margin-top: 6rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #101019;
    border: 1px solid var(--panel-border);
}

.game-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.game-overlay {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-top: 1px solid var(--panel-border);
}

.game-overlay .game-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    margin-top: auto;
    padding: 0.65rem 1rem;
    border: 1px solid #7461b4;
    border-radius: 10px;
    background: #252035;
}

.game-overlay .game-btn:hover,
.game-overlay .game-btn:focus-visible {
    background: #3b2c5b;
    outline: 2px solid #bcacff;
    outline-offset: 2px;
}

.game-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.game-card:hover .game-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: left;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.pricing-card.popular {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.02);
}

.pricing-card:hover {
    border-color: var(--panel-border-hover);
    transform: translateY(-5px) scale(1.02);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
    align-items: center;
}

.pricing-features li i.check {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-dark);
}

.sidebar {
    width: 280px;
    background: var(--bg-darker);
    border-right: 1px solid var(--panel-border);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 50;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem 2rem 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--panel-border);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.sidebar-link.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.main-panel {
    flex: 1;
    padding: 3rem 4rem;
    overflow-y: auto;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}
.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-control[type="file"] {
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
}

.form-control[type="file"]::-webkit-file-upload-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background: #e0e0e0;
    transform: scale(0.98);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid transparent;
}
.alert-error { 
    background: rgba(239, 68, 68, 0.1); 
    border-color: rgba(239, 68, 68, 0.2); 
    color: #ef4444; 
}
.alert-success { 
    background: rgba(16, 185, 129, 0.1); 
    border-color: rgba(16, 185, 129, 0.2); 
    color: #10b981; 
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--panel-border);
    padding: 5rem 5% 2rem;
}
.footer-detailed {
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 3rem; 
    max-width: 1200px; 
    margin: 0 auto;
    padding-bottom: 4rem; 
    border-bottom: 1px solid var(--panel-border); 
    margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; max-width: 300px; }
.footer-col h3 { color: var(--text-main); margin-bottom: 1.5rem; font-size: 1rem; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-color); transform: translateX(5px); }

@media (max-width: 900px) {
    .footer-detailed { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
    .footer-col a:hover { transform: none; }
    
    /* Navbar Mobile Fix */
    .nav-links { display: none; }
    .navbar { padding: 0.8rem 1rem; }
    .nav-brand span { font-size: 1.2rem; }
    
    /* Hero Fix */
    .hero { min-height: 70vh; padding-top: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-solid, .btn-primary, .btn-outline { width: 100%; }
    
    /* Sections Fix */
    section { padding: 4rem 5%; overflow-x: hidden; }
    .feature-box { gap: 2rem; }
    .feature-image img { border-radius: 16px; }
    .bento-grid, .pricing-grid, .games-grid { grid-template-columns: 1fr; }
    
    /* Global Overflow Fix */
    html, body {
        max-width: 100vw;
        overflow-x: clip;
    }
}

/* Dashboard Layout */
.dashboard-layout { display: flex; min-height: 100vh; background: var(--bg-dark); }
.sidebar { width: 260px; background: rgba(0,0,0,0.2); border-right: 1px solid var(--panel-border); display: flex; flex-direction: column; padding: 2rem 0; }
.sidebar-link { padding: 1rem 2rem; color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 12px; transition: 0.3s; font-weight: 500; font-family: var(--font-heading); }
.sidebar-link:hover, .sidebar-link.active { color: #fff; background: rgba(255,255,255,0.05); border-left: 3px solid var(--primary-color); }
.main-panel { flex: 1; padding: 3rem 4rem; overflow-y: auto; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.setting-card { background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 16px; padding: 1.5rem; display: flex; gap: 1.5rem; align-items: center; text-decoration: none; color: inherit; transition: 0.3s; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.setting-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.setting-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--text-muted); }
.setting-content h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: #fff; }
.setting-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }


.nav-links { flex: 1; display: flex; justify-content: center; gap: 2.5rem; }
.nav-toggle { display:none; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); color:#fff; border-radius:8px; width:42px; height:42px; cursor:pointer; }

.nav-drop { position: relative; }
.nav-drop-btn { border: 0; background: none; cursor: pointer; font-size: 0.88rem; font-weight: 500; font-family: var(--font-heading); color: var(--text-muted); padding: 0.4rem 0.6rem; letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-drop-btn:hover { color: #fff; }
.nav-drop-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; padding: 0.5rem; background: rgba(14,14,20,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 18px 35px rgba(0,0,0,.55); z-index: 60; }
.nav-drop.open .nav-drop-menu, .nav-drop:hover .nav-drop-menu { display: flex; flex-direction: column; gap: 0.2rem; }
.nav-drop-menu a { padding: 0.55rem 0.8rem; border-radius: 8px; white-space: nowrap; }
.nav-drop-menu a:hover { background: rgba(255,255,255,.06); }
.nav-drop-menu a::after { display: none; }

@media (max-width: 900px) {
    .navbar { position:sticky; padding:.8rem 1rem; }
    .navbar .nav-toggle { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; margin-right:.5rem; }
    .navbar .nav-links { display:none; position:absolute; top:100%; left:1rem; right:1rem; padding:1rem; background:rgba(10,10,14,.98); border:1px solid rgba(255,255,255,.1); border-radius:0 0 12px 12px; flex-direction:column; gap:.3rem; box-shadow:0 18px 35px rgba(0,0,0,.55); max-height:calc(100dvh - 80px); overflow-y:auto; }
    .navbar .nav-links.open { display:flex; }
    .navbar .nav-links a { padding:.7rem .8rem; }
    .navbar .nav-drop { width:100%; }
    .navbar .nav-drop-btn { display:none; }
    .navbar .nav-drop-menu { display:flex; flex-direction:column; position:static; transform:none; min-width:0; padding:0; background:none; border:0; box-shadow:none; }
    #cookie-banner { left:12px !important; right:12px !important; bottom:12px !important; max-width:none !important; }
    .dashboard-layout { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--panel-border); padding: 1rem 0; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .sidebar-link { padding: 0.5rem 1rem; border-left: none !important; border-bottom: 3px solid transparent; }
    .sidebar-link.active { border-bottom: 3px solid var(--primary-color); }
    .main-panel { padding: 2rem 5%; }
}


/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-container details { background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 12px; padding: 1rem 1.5rem; cursor: pointer; transition: 0.3s; }
.faq-container details:hover { border-color: rgba(255,255,255,0.15); }
.faq-container summary { font-size: 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-container summary::-webkit-details-marker { display: none; }
.faq-container summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: 0.3s; }
.faq-container details[open] summary::after { transform: rotate(180deg); color: var(--primary-color); }
.faq-content { padding-top: 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; border-top: 1px solid var(--panel-border); margin-top: 1rem; }

/* CTA Section */
.cta-banner { text-align: center; padding: 6rem 5%; background: #030303; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem auto; font-size: 1.1rem; }
.cta-content-wrapper { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 768px) {
    .footer-detailed {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .footer-detailed .footer-brand {
        text-align: center;
        align-items: center;
    }
    .footer-detailed .footer-brand p {
        margin: 0 auto;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Premium Animated Badges */
.feature-badge {
    position: relative;
    overflow: hidden;
}
.feature-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: badge-shine 3s infinite;
}
@keyframes badge-shine {
    100% { left: 200%; }
}

/* Enhanced Hover Glows */
.glass-panel:hover, .game-card:hover, .pricing-card:hover, .hero-mockup:hover {
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

/* Form Autofill Override for Dark Mode */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(10, 10, 10, 0.8) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Hide Google Translate Top Bar & Tooltips */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important; 
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Language Selector UI */
.lang-selector {
    position: relative;
    display: inline-block;
}
.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.2s;
}
.lang-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.lang-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 12px;
    background: #202022;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px 0;
    width: 170px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.lang-option:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.lang-option.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
