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

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a0b2e 0%, #16213e 48%, #0f3460 100%);
}

a {
    color: inherit;
}

.bg-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.star,
.planet,
.crayon,
.book {
    position: absolute;
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.star {
    font-size: 28px;
}

.planet {
    font-size: 40px;
}

.crayon {
    font-size: 32px;
}

.book {
    font-size: 36px;
}

.decor-1 {
    top: 8%;
    left: 5%;
}

.decor-2 {
    top: 15%;
    right: 8%;
}

.decor-3 {
    top: 40%;
    left: 3%;
}

.decor-4 {
    right: 5%;
    bottom: 20%;
}

.decor-5 {
    top: 25%;
    right: 15%;
}

.decor-6 {
    bottom: 15%;
    left: 10%;
}

.decor-7 {
    top: 60%;
    right: 20%;
}

.decor-8 {
    top: 70%;
    left: 20%;
}

.decor-9 {
    right: 12%;
    bottom: 30%;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(8deg);
    }
}

.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7c59f);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    font-size: 28px;
}

.logo-text {
    display: grid;
}

.logo-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #ff6b35;
}

.logo-subtitle {
    margin-top: 2px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    position: relative;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #ff6b35;
}

.site-nav a.active::after {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #ff6b35;
    content: "";
}

.btn-enter,
.btn-start,
.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-enter {
    padding: 12px 28px;
}

.btn-start {
    padding: 16px 40px;
    font-size: 18px;
}

.card-action {
    width: fit-content;
    margin-top: 18px;
    padding: 11px 18px;
}

.btn-enter:hover,
.btn-start:hover,
.card-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
}

.hero,
.page-hero,
.features,
.content-grid,
.front-callout,
.extra-space {
    position: relative;
    z-index: 5;
}

.hero {
    width: min(100% - 60px, 1200px);
    margin: 40px auto;
}

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    padding: 50px 60px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: linear-gradient(145deg, #1a1a4e 0%, #2d1b69 40%, #0f3460 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-text h1 {
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 3rem);
    font-weight: 850;
    line-height: 1.15;
}

.hero-text h1 span {
    color: #ffd166;
}

.hero-text p {
    margin-bottom: 32px;
    color: #c9d1ff;
    font-size: 20px;
    font-weight: 600;
}

.hero-kids {
    position: relative;
    display: flex;
    height: 340px;
    align-items: center;
    justify-content: center;
}

.astronaut {
    position: relative;
    z-index: 3;
    animation: bounce 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    font-size: 140px;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.kid {
    position: absolute;
    animation: float 5s ease-in-out infinite;
    font-size: 55px;
}

.kid1 {
    top: 20px;
    left: 30px;
    animation-delay: 0.5s;
}

.kid2 {
    top: 40px;
    right: 40px;
    animation-delay: 1s;
}

.kid3 {
    bottom: 30px;
    left: 60px;
    animation-delay: 1.5s;
}

.kid4 {
    right: 30px;
    bottom: 50px;
    animation-delay: 0.8s;
}

.floating-item {
    position: absolute;
    opacity: 0.9;
    font-size: 32px;
}

.item1 {
    top: 10px;
    left: 50%;
    font-size: 28px;
}

.item2 {
    top: 80px;
    right: 10px;
}

.item3 {
    bottom: 20px;
    left: 20px;
}

.item4 {
    top: 160px;
    left: 10px;
    font-size: 36px;
}

.features,
.content-grid {
    display: grid;
    width: min(100% - 60px, 1100px);
    margin: 50px auto 60px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 30px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #333;
    text-align: center;
    transition: transform 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    margin-bottom: 16px;
    font-size: 48px;
}

.feature-card h2 {
    margin-bottom: 8px;
    color: #1a1a4e;
    font-size: 20px;
    font-weight: 800;
}

.feature-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.extra-space,
.front-callout,
.page-hero {
    width: min(100% - 60px, 900px);
    margin: 0 auto 80px;
    text-align: center;
}

.extra-space {
    padding: 40px 30px;
    color: #c9d1ff;
}

.extra-space h2,
.front-callout h2 {
    margin-bottom: 16px;
    color: #ffd166;
    font-size: 28px;
}

.extra-space p,
.front-callout p {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
}

.no-card-note {
    margin-top: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.page-hero {
    padding: 80px 30px 20px;
}

.eyebrow {
    margin-bottom: 14px;
    color: #ffd166;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 auto 20px;
    max-width: 780px;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.08;
}

.page-hero p {
    margin: 0 auto;
    max-width: 720px;
    color: #d7dcff;
    font-size: 20px;
    line-height: 1.6;
}

.front-callout {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(16, 25, 72, 0.68);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.site-footer {
    position: relative;
    z-index: 10;
    padding: 60px 40px 30px;
    border-top: 3px solid #ff6b35;
    background: linear-gradient(180deg, #0d0d2b 0%, #0a0a1f 100%);
    color: #ccc;
}

.footer-content {
    display: grid;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h2 {
    margin-bottom: 12px;
    color: #ffd166;
    font-size: 24px;
}

.footer-brand p {
    max-width: 280px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h3 {
    margin-bottom: 16px;
    color: #ffd166;
    font-size: 16px;
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bbb;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ff6b35;
}

.footer-bottom {
    display: flex;
    max-width: 1100px;
    margin: 40px auto 0;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    flex-wrap: wrap;
    font-size: 13px;
}

.rocket {
    font-size: 20px;
}

@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        padding: 16px 20px;
    }

    .site-nav {
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .hero-kids {
        height: 280px;
    }

    .astronaut {
        font-size: 110px;
    }

    .features,
    .content-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .hero,
    .features,
    .content-grid,
    .extra-space,
    .front-callout,
    .page-hero {
        width: min(100% - 28px, 900px);
    }

    .hero-card {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .site-nav {
        gap: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
