@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Karla:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sunset-orange: #f97316;
    --warm-amber: #d97706;
    --deep-rust: #7c2d12;
    --cream-white: #fff7ed;
    --dark-brown: #1c0a00;
    --highlight-gold: #fde68a;
}

body {
    font-family: 'Karla', sans-serif;
    background: linear-gradient(180deg, var(--dark-brown) 0%, #2d1106 50%, var(--dark-brown) 100%);
    color: var(--cream-white);
    min-height: 100vh;
    line-height: 1.75;
}

.stellar-header {
    background: linear-gradient(90deg, rgba(124, 45, 18, 0.9) 0%, rgba(28, 10, 0, 0.95) 50%, rgba(124, 45, 18, 0.9) 100%);
    border-bottom: 2px solid var(--sunset-orange);
    padding: 0.85rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.stellar-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stellar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.stellar-brand svg {
    width: 44px;
    height: 44px;
}

.stellar-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--sunset-orange);
    letter-spacing: 0.5px;
}

.stellar-toggle {
    display: none;
    background: none;
    border: 1px solid var(--sunset-orange);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 6px;
}

.stellar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sunset-orange);
    margin: 5px 0;
}

.stellar-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.stellar-nav a {
    color: var(--cream-white);
    text-decoration: none;
    padding: 0.55rem 1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s;
}

.stellar-nav a:hover {
    background: rgba(249, 115, 22, 0.25);
    color: var(--highlight-gold);
}

.sunrise-hero {
    padding: 5rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at bottom, rgba(249, 115, 22, 0.3) 0%, transparent 60%);
}

.sunrise-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--sunset-orange);
    margin-bottom: 1.25rem;
}

.sunrise-hero > p {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto;
}

.horizon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.horizon-card {
    background: linear-gradient(145deg, rgba(124, 45, 18, 0.6) 0%, rgba(28, 10, 0, 0.9) 100%);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 12px;
    padding: 1.75rem;
}

.horizon-card h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--highlight-gold);
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.game-sunrise {
    max-width: 1450px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.game-sunrise h2 {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-size: 2rem;
    color: var(--sunset-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.sunrise-frame {
    background: rgba(124, 45, 18, 0.5);
    border: 2px solid var(--sunset-orange);
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.25);
}

.sunrise-frame iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 12px;
    display: block;
}

.warmth-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.warmth-feature {
    background: rgba(124, 45, 18, 0.4);
    border-radius: 12px;
    padding: 1.75rem;
    border-bottom: 3px solid var(--warm-amber);
}

.warmth-feature h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--sunset-orange);
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.written-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.written-content h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    color: var(--sunset-orange);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
}

.written-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.35rem;
    color: var(--highlight-gold);
    margin: 2rem 0 0.75rem;
    font-weight: 700;
}

.written-content p {
    margin-bottom: 1rem;
}

.written-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.written-content li {
    margin-bottom: 0.5rem;
}

.stellar-footer {
    background: rgba(124, 45, 18, 0.6);
    border-top: 2px solid var(--sunset-orange);
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
}

.stellar-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stellar-footer h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--sunset-orange);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.support-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.support-links a {
    color: var(--cream-white);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--warm-amber);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.support-links a:hover {
    background: var(--sunset-orange);
    color: var(--dark-brown);
}

.legal-fine {
    color: rgba(255, 247, 237, 0.5);
    font-size: 0.85rem;
}

.age-gateway {
    position: fixed;
    inset: 0;
    background: rgba(28, 10, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gateway.hidden {
    display: none;
}

.gateway-box {
    background: var(--deep-rust);
    border: 2px solid var(--sunset-orange);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    margin: 1rem;
    text-align: center;
}

.gateway-box h2 {
    font-family: 'Nunito', sans-serif;
    color: var(--sunset-orange);
    font-size: 1.65rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gateway-box p {
    margin-bottom: 1.5rem;
}

.gateway-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gateway-btns button {
    padding: 0.85rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-pass {
    background: linear-gradient(135deg, var(--warm-amber), var(--sunset-orange));
    color: white;
}

.btn-pass:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 25px rgba(249, 115, 22, 0.4);
}

.btn-turn {
    background: transparent;
    border: 1px solid var(--cream-white) !important;
    color: var(--cream-white);
}

.btn-turn:hover {
    background: rgba(255, 247, 237, 0.1);
}

.guide-section {
    background: rgba(124, 45, 18, 0.5);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.guide-section h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--sunset-orange);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .stellar-toggle {
        display: block;
    }

    .stellar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-rust);
        border-bottom: 2px solid var(--sunset-orange);
        display: none;
    }

    .stellar-nav.expanded {
        display: block;
    }

    .stellar-nav ul {
        flex-direction: column;
        padding: 0.75rem;
    }

    .stellar-nav a {
        display: block;
        padding: 0.9rem;
    }

    .sunrise-hero h1 {
        font-size: 2.2rem;
    }

    .stellar-title {
        font-size: 1.3rem;
    }

    .sunrise-frame iframe {
        height: 400px;
    }

    .gateway-btns {
        flex-direction: column;
    }
}
