@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

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

:root {
    --indigo: #6366F1;
    --purple: #A855F7;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-100: #F1F5F9;
    --slate-300: #CBD5E1;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--slate-900);
    color: var(--slate-100);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--purple);
}

/* Navigation */
.site-nav {
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}

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

.site-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--slate-300);
    font-weight: 500;
}

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

.mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-btn span {
    width: 24px;
    height: 2px;
    background: var(--indigo);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--slate-800);
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--slate-100);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}

/* Main */
main {
    padding-top: 70px;
}

/* Hero */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    background: radial-gradient(ellipse at top, rgba(99,102,241,0.15), transparent 50%),
                var(--slate-900);
}

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

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--slate-300);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-indigo {
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    color: white;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

.btn-indigo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99,102,241,0.4);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--slate-300);
    padding: 0.9rem 2rem;
    font-weight: 600;
    border: 1px solid var(--slate-700);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ghost:hover {
    border-color: var(--indigo);
    color: var(--indigo);
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--slate-800);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(99,102,241,0.2);
}

.card-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}

.card-row:last-child {
    border-bottom: none;
}

.card-icon {
    font-size: 2rem;
}

.card-row h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--slate-100);
    margin-bottom: 0.25rem;
}

.card-row p {
    font-size: 0.9rem;
    color: var(--slate-300);
}

/* Game Section */
.game-section {
    padding: 5rem 2rem;
    background: var(--slate-800);
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--slate-300);
}

.game-frame {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--slate-900);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99,102,241,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

/* Content Block */
.content-block {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-block p {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--slate-800);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(99,102,241,0.1);
}

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

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--indigo);
    margin-bottom: 2rem;
}

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

.footer-links a {
    color: var(--slate-300);
}

.support-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(99,102,241,0.1);
}

.support-section h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--slate-300);
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 2rem;
    color: var(--slate-300);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Age Modal */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
}

.age-gate.closed {
    display: none;
}

.age-panel {
    background: var(--slate-800);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 480px;
    border: 1px solid var(--indigo);
    box-shadow: 0 0 40px rgba(99,102,241,0.2);
}

.age-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-panel p {
    color: var(--slate-300);
    margin-bottom: 2rem;
}

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

.age-confirm {
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    color: white;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.age-deny {
    background: transparent;
    color: var(--slate-300);
    padding: 0.9rem 2rem;
    font-weight: 600;
    border: 1px solid var(--slate-700);
    border-radius: 8px;
    cursor: pointer;
}

/* Page */
.page-header {
    padding: 9rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(99,102,241,0.1), transparent 50%);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--slate-300);
}

.page-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.page-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--purple);
    margin: 2rem 0 0.8rem;
}

.page-body p {
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.page-body ul {
    list-style: none;
    padding-left: 1rem;
}

.page-body li {
    color: var(--slate-300);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.page-body li::before {
    content: '•';
    color: var(--indigo);
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-btn {
        display: flex;
    }
    
    .game-frame iframe {
        height: 500px;
    }
    
    .age-panel {
        padding: 2rem;
    }
    
    .age-btns {
        flex-direction: column;
    }
    
    .footer-links, .support-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
