@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Colors */
    --bg-primary: #050a08;
    --bg-secondary: #0f1f1a;
    --card-bg: rgba(20, 35, 28, 0.6);
    --jade-green: #22c55e;
    --emerald-glow: #10b981;
    --royal-gold: #facc15;
    --lucky-amber: #f59e0b;
    --text-pri: #ecfdf5;
    --text-sec: #a7f3d0;

    /* Styling */
    --glass-border: 1px solid rgba(34, 197, 94, 0.2);
    --glass-blur: blur(16px);
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-pri);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   TOP NAVBAR (GLASSMORPHISM)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 8, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--jade-green), var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(250, 204, 21, 0.2);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-pri);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--royal-gold);
}

.nav-link:hover {
    color: var(--royal-gold);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--jade-green);
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--royal-gold);
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
}

/* =========================================
   MAIN LAYOUT
   ========================================= */
.main-content {
    padding-top: 67px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 67px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(250, 204, 21, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5,10,8,0.4), var(--bg-primary) 95%);
    z-index: 1;
}

.wheel-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: conic-gradient(from 0deg, transparent 0%, rgba(16, 185, 129, 0.1) 20%, rgba(250, 204, 21, 0.15) 50%, rgba(16, 185, 129, 0.1) 80%, transparent 100%);
    border-radius: 50%;
    animation: spinSlow 30s linear infinite;
    filter: blur(30px);
    z-index: 0;
}

@keyframes spinSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--royal-gold) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.15;
    z-index: 1;
    animation: particleDrift 20s linear infinite;
}

@keyframes particleDrift {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    text-align: center;
}

.glass-box {
    background: rgba(15, 31, 26, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(250, 204, 21, 0.15);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(34, 197, 94, 0.05);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-box h1 {
    font-size: 4rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-pri), var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    text-shadow: 0 0 40px rgba(250, 204, 21, 0.2);
}

.glass-box p {
    font-size: 1.2rem;
    color: var(--text-sec);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Box inside Hero */
.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(5, 10, 8, 0.8);
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
    text-align: left;
}

.legal-badge .badge-icon {
    font-size: 2rem;
    line-height: 1;
}

.legal-badge .badge-text {
    font-size: 0.85rem;
    color: var(--text-pri);
}

.legal-badge .badge-text strong {
    color: var(--royal-gold);
    display: block;
    margin-bottom: 3px;
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--jade-green), var(--emerald-glow), var(--lucky-amber));
    background-size: 200% auto;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 18px 50px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.5);
}

/* =========================================
   GAME SECTION
   ========================================= */
.game-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, var(--bg-primary), rgba(15, 31, 26, 0.4));
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--text-pri), var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.game-container {
    width: 1000px;
    max-width: 100%;
    height: 650px;
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 12px;
    border: 2px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.15), inset 0 0 30px rgba(250, 204, 21, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.game-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 70px rgba(16, 185, 129, 0.25), inset 0 0 40px rgba(250, 204, 21, 0.15);
    border-color: var(--royal-gold);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    background: var(--bg-primary);
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
    padding: 100px 10%;
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(15, 31, 26, 0.4), var(--bg-primary));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--jade-green);
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.4));
}

.feature-card h3 {
    color: var(--royal-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-sec);
    font-size: 1rem;
    line-height: 1.7;
}

.experience-text {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-pri);
    max-width: 850px;
    margin: 70px auto 0;
    line-height: 1.8;
}

/* =========================================
   PAGE CONTENT (LEGAL / TEXT)
   ========================================= */
.page-header {
    padding: 140px 10% 80px;
    text-align: center;
    background: radial-gradient(ellipse at bottom, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--text-pri), var(--jade-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-sec);
}

.page-content {
    padding: 20px 10% 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-block {
    background: var(--card-bg);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.content-block h2 {
    color: var(--jade-green);
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 15px;
}

.content-block p {
    margin-bottom: 20px;
    color: var(--text-sec);
    font-size: 1.05rem;
}

.content-block ul {
    margin-left: 25px;
    margin-bottom: 25px;
    color: var(--text-sec);
    font-size: 1.05rem;
}

.content-block li {
    margin-bottom: 12px;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.contact-info h3 {
    color: var(--royal-gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-pri);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-pri);
    font-weight: 500;
    font-size: 1.05rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: var(--text-pri);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--jade-green);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    position: relative;
    background: linear-gradient(180deg, #130624 0%, #0a0314 100%);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    padding: 80px 10% 30px;
    margin-top: auto;
    overflow: hidden;
}

/* Background Aura for Footer */
.footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Top Glow Line */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.8), rgba(168, 85, 247, 0.8), transparent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #22c55e, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.footer-desc {
    color: rgba(233, 213, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    color: #e9d5ff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.05);
}

.age-badge .age-icon {
    font-size: 1.3rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #a855f7);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.footer-col a {
    color: rgba(233, 213, 255, 0.65);
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.footer-col a::before {
    content: '›';
    color: #22c55e;
    font-size: 1.5rem;
    line-height: 1;
    margin-right: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: rgba(233, 213, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list li p {
    margin: 0;
}

.footer-contact-list .contact-icon {
    font-size: 1.1rem;
    line-height: 1;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(233, 213, 255, 0.4);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .game-container {
        width: 90%;
        height: 550px;
    }
    .glass-box h1 { font-size: 3.2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 10, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid rgba(34, 197, 94, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        padding: 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }

    .hero { padding: 40px 20px; }
    .glass-box { padding: 40px 25px; }
    .glass-box h1 { font-size: 2.5rem; }
    .glass-box p { font-size: 1rem; }
    
    .game-container {
        width: 100%;
        height: 400px;
    }
    
    .page-header { padding: 120px 5% 50px; }
    .page-header h1 { font-size: 2.5rem; }
    .page-content { padding: 20px 5% 60px; }
    .content-block { padding: 30px 20px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}