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

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

:root {
    --sky-blue: #0ea5e9;
    --cloud-white: #f0f9ff;
    --horizon: #0284c7;
    --deep-sky: #0c4a6e;
    --night-sky: #082f49;
    --dawn: #7dd3fc;
    --sunset: #f97316;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--night-sky);
    color: var(--cloud-white);
    line-height: 1.7;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, var(--night-sky), transparent);
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dawn);
    text-decoration: none;
    letter-spacing: 2px;
}

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

.mobile-nav span {
    width: 28px;
    height: 3px;
    background: var(--dawn);
    border-radius: 2px;
}

.nav-list ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list a {
    color: var(--cloud-white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-list a:hover {
    color: var(--dawn);
}

main {
    padding-top: 75px;
}

.sky-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--night-sky) 0%, var(--deep-sky) 50%, var(--horizon) 100%);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cloud-white);
}

.hero-content h1 span {
    color: var(--dawn);
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: var(--dawn);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.9;
}

.fly-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--sky-blue), var(--horizon));
    color: white;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: 0.3s;
}

.fly-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.alerts-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.alert-pill {
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(125, 211, 252, 0.3);
    padding: 0.8rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-hangar {
    padding: 5rem 2rem;
    background: var(--deep-sky);
}

.hangar-title {
    text-align: center;
    margin-bottom: 3rem;
}

.hangar-title h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    color: var(--dawn);
}

.game-screen {
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid var(--sky-blue);
    border-radius: 15px;
    overflow: hidden;
    background: var(--night-sky);
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.3);
}

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

.features-deck {
    padding: 6rem 2rem;
    background: var(--night-sky);
}

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

.deck-header {
    text-align: center;
    margin-bottom: 4rem;
}

.deck-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.3rem;
    color: var(--cloud-white);
}

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

.deck-card {
    background: linear-gradient(145deg, var(--deep-sky), var(--night-sky));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}

.deck-card:hover {
    border-color: var(--sky-blue);
    transform: translateY(-8px);
}

.deck-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.deck-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: var(--dawn);
    margin-bottom: 1rem;
}

.deck-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
}

.about-flight {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--deep-sky) 0%, var(--night-sky) 100%);
}

.flight-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.flight-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    color: var(--dawn);
    margin-bottom: 2rem;
}

.flight-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

footer {
    background: var(--deep-sky);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

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

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

.footer-nav a {
    color: var(--cloud-white);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--dawn);
    opacity: 1;
}

.support-area {
    padding-top: 2rem;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    margin-top: 1rem;
}

.support-area p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.support-area a {
    color: var(--sky-blue);
    margin: 0 0.7rem;
    text-decoration: none;
}

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

.copyright {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Age Modal */
.sky-gate {
    position: fixed;
    inset: 0;
    background: rgba(8, 47, 73, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.sky-gate.hidden {
    display: none;
}

.gate-box {
    background: linear-gradient(145deg, var(--deep-sky), var(--night-sky));
    border: 2px solid var(--sky-blue);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
}

.gate-box h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: var(--dawn);
    margin-bottom: 1.5rem;
}

.gate-box p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.gate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gate-action {
    padding: 0.9rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.gate-action.yes {
    background: linear-gradient(135deg, var(--sky-blue), var(--horizon));
    color: white;
}

.gate-action.no {
    background: transparent;
    border: 2px solid var(--cloud-white);
    color: var(--cloud-white);
}

.gate-action:hover {
    transform: scale(1.05);
}

.blocked-screen {
    position: fixed;
    inset: 0;
    background: var(--night-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    text-align: center;
    padding: 2rem;
}

.blocked-screen.hidden {
    display: none;
}

.blocked-screen h2 {
    font-family: 'Nunito', sans-serif;
    color: var(--sunset);
    font-size: 1.8rem;
}

/* Page styles */
.page-top {
    padding: 9rem 2rem 4rem;
    background: linear-gradient(180deg, var(--deep-sky) 0%, var(--night-sky) 100%);
    text-align: center;
}

.page-top h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    color: var(--dawn);
}

.page-main {
    padding: 4rem 2rem;
    background: var(--night-sky);
}

.page-text {
    max-width: 900px;
    margin: 0 auto;
}

.page-text h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--sky-blue);
    margin: 2.5rem 0 1rem;
}

.page-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.page-text li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .deck-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }

    .nav-list ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--deep-sky);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        gap: 2rem;
    }

    .nav-list ul.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .deck-grid {
        grid-template-columns: 1fr;
    }

    .game-screen iframe {
        height: 420px;
    }

    .gate-actions {
        flex-direction: column;
    }

    .alerts-row {
        flex-direction: column;
        align-items: center;
    }
}
