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

:root {
    --midnight: #0F0F1A;
    --navy: #1A1A2E;
    --slate: #2A2A42;
    --silver: #B8B8D1;
    --ice-blue: #7EC8E3;
    --ghost-white: #F0F0F8;
    --muted-text: #8888A0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--midnight);
    color: var(--ghost-white);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.site-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(126, 200, 227, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--ice-blue), var(--silver));
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--midnight);
}

.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ghost-white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--ice-blue);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-btn span {
    width: 26px;
    height: 2px;
    background: var(--ice-blue);
    transition: 0.3s;
}

.hamburger-btn.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    padding: 6rem 2rem;
    z-index: 999;
    transition: right 0.4s;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer a {
    display: block;
    color: var(--ghost-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(126, 200, 227, 0.15);
}

.landing-section {
    min-height: 100vh;
    padding: 9rem 2rem 5rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(126, 200, 227, 0.08) 0%, transparent 60%),
                var(--midnight);
}

.landing-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.landing-copy h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--ghost-white);
}

.landing-copy h1 span {
    color: var(--ice-blue);
}

.landing-copy > p {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-solid {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--ice-blue), var(--silver));
    color: var(--midnight);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.cta-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(126, 200, 227, 0.25);
}

.cta-ghost {
    padding: 1rem 2.5rem;
    border: 1px solid var(--ice-blue);
    color: var(--ice-blue);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.3s;
}

.cta-ghost:hover {
    background: rgba(126, 200, 227, 0.1);
}

.trust-row {
    display: flex;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.trust-emoji {
    font-size: 1.2rem;
}

.game-display {
    background: var(--navy);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(126, 200, 227, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.game-display iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

.content-section {
    padding: 6rem 2rem;
}

.content-section.alt-bg {
    background: var(--navy);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--ghost-white);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--muted-text);
    max-width: 550px;
    margin: 0 auto;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-tile {
    background: rgba(42, 42, 66, 0.5);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(126, 200, 227, 0.1);
    text-align: center;
    transition: 0.3s;
}

.feature-tile:hover {
    border-color: var(--ice-blue);
    transform: translateY(-5px);
}

.feature-symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-tile h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--ghost-white);
}

.feature-tile p {
    font-size: 0.95rem;
    color: var(--muted-text);
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.notice-card {
    background: rgba(15, 15, 26, 0.6);
    padding: 2rem;
    border-radius: 10px;
    border-left: 3px solid var(--ice-blue);
}

.notice-card h3 {
    font-size: 1.2rem;
    color: var(--ice-blue);
    margin-bottom: 0.5rem;
}

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

.site-footer {
    background: var(--navy);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(126, 200, 227, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-menu a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--ice-blue);
}

.support-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(126, 200, 227, 0.1);
    border-bottom: 1px solid rgba(126, 200, 227, 0.1);
    margin-bottom: 1.5rem;
}

.support-row a {
    color: var(--ice-blue);
    text-decoration: none;
    font-size: 0.85rem;
}

.support-row a:hover {
    text-decoration: underline;
}

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

/* Age Verification */
.age-barrier {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 26, 0.98);
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.age-barrier.hidden {
    display: none;
}

.age-popup {
    background: var(--navy);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    border: 1px solid rgba(126, 200, 227, 0.2);
}

.age-popup h2 {
    font-size: 1.8rem;
    color: var(--ice-blue);
    margin-bottom: 1rem;
}

.age-popup p {
    color: var(--muted-text);
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.age-allow {
    background: linear-gradient(135deg, var(--ice-blue), var(--silver));
    color: var(--midnight);
}

.age-block {
    background: var(--slate);
    color: var(--ghost-white);
}

.age-btn:hover {
    transform: scale(1.03);
}

.blocked-message {
    display: none;
    color: #ff6b6b;
}

/* Inner Pages */
.page-banner {
    padding: 10rem 2rem 4rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(126, 200, 227, 0.06) 0%, transparent 60%),
                var(--midnight);
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    color: var(--ice-blue);
    margin-bottom: 0.75rem;
}

.page-banner p {
    color: var(--muted-text);
    max-width: 500px;
    margin: 0 auto;
}

.page-body {
    padding: 4rem 2rem;
}

.prose-container {
    max-width: 850px;
    margin: 0 auto;
}

.prose-container h2 {
    font-size: 1.7rem;
    color: var(--ice-blue);
    margin: 2.5rem 0 1rem;
}

.prose-container h3 {
    font-size: 1.3rem;
    color: var(--ghost-white);
    margin: 1.5rem 0 0.75rem;
}

.prose-container p {
    color: var(--muted-text);
    margin-bottom: 1rem;
}

.prose-container ul {
    color: var(--muted-text);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose-container li {
    margin-bottom: 0.5rem;
}

.game-player {
    max-width: 1000px;
    margin: 0 auto;
}

.player-frame {
    background: var(--navy);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(126, 200, 227, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.player-frame iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

.player-note {
    padding: 1.5rem 2rem;
    background: rgba(126, 200, 227, 0.05);
}

.player-note h3 {
    font-size: 1.1rem;
    color: var(--ice-blue);
    margin-bottom: 0.5rem;
}

.player-note p {
    font-size: 0.95rem;
    color: var(--muted-text);
}

@media (max-width: 1100px) {
    .landing-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .landing-copy > p {
        margin: 0 auto 2rem;
    }
    
    .cta-row {
        justify-content: center;
    }
    
    .trust-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .mobile-drawer {
        display: block;
    }
    
    .landing-copy h1 {
        font-size: 2.5rem;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
    }
    
    .notice-cards {
        grid-template-columns: 1fr;
    }
    
    .game-display iframe {
        height: 380px;
    }
    
    .trust-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-banner h1 {
        font-size: 2.3rem;
    }
    
    .player-frame iframe {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .landing-section {
        padding: 7rem 1rem 3rem;
    }
    
    .content-section {
        padding: 4rem 1rem;
    }
    
    .age-popup {
        padding: 2rem 1.5rem;
    }
    
    .age-btns {
        flex-direction: column;
    }
}
