:root {
    --background: #080b13;
    --text: #f5f7ff;
    --accent: #a2bcff;
    --muted: #9ba9bf;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    padding: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 25px 6%;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.logo span,
.hero h1 span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: white;
    text-decoration: none;
}

.nav-button,
.primary-button {
    display: inline-block;
    padding: 14px 22px;
    background: var(--accent);
    color: #080b13;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.hero {
    min-height: 75vh;
    padding: 80px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.eyebrow {
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 85px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.description {
    color: var(--muted);
    max-width: 430px;
    line-height: 1.8;
    margin: 25px 0;
}

.hero-art {
    min-height: 350px;
}

#about {
    padding: 100px 6%;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 50px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .hero h1 {
        letter-spacing: -2px;
    }
}

/* Space logo */
.space-illustration {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 20px #5b7bc044);
}

/* Floating animation */
.space-illustration {
    animation: float 6s ease-in-out infinite;
}

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

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-art {
        min-height: 0;
        max-width: 500px;
        width: 100%;
        margin: auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .space-illustration {
        animation: none;
    }
}

/* Mission */

.mission {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 6%;
}

/* Section heading */

.section-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.section-label {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.section-top h2 {
    font-size: clamp(36px, 4.5vw, 65px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-top h2 span {
    color: var(--accent);
}

.section-description {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
    max-width: 440px;
}

/* Feature cards */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: linear-gradient(
        145deg,
        #151e2e,
        #0c111b
    );

    border: 1px solid #29354a;
    border-radius: 10px;
    padding: 30px;
    min-height: 260px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-number {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
}

.feature-line {
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin: 35px 0 22px;
}

.feature-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

/* Tablet */

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

/* Mobile */

@media (max-width: 600px) {
    .mission {
        padding: 70px 6%;
    }

    .section-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .feature-card {
        min-height: 220px;
    }
}

/* Reduced motion preference */

@media (prefers-reduced-motion: reduce) {
    .feature-card {
        transition: none;
    }

    .feature-card:hover {
        transform: none;
    }
}

/* Event Schedule */

.schedule {
    padding: 100px 6%;
    background: #0b101a;
    border-top: 1px solid #253047;
    border-bottom: 1px solid #253047;
}

.schedule-header {
    max-width: 1400px;
    margin: 0 auto 65px;
}

.schedule-label {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.schedule-header h2 {
    font-size: clamp(36px, 4.5vw, 65px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.schedule-header h2 span {
    color: var(--accent);
}

.schedule-description {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
    max-width: 550px;
    margin-top: 20px;
}

/* Timeline */

.schedule-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* Connect horizontal line */

.schedule-track::before {
    content: "";
    position: absolute;

    top: 19px;
    left: 22px;
    right: 22px;
    height: 2px;

    background: linear-gradient(
        90deg,
        #4a638d,
        #4a638d,
        #4a638d
    );
}

/* Individual timeline stage */

.schedule-step {
    position: relative;
    padding-top: 56px;
    min-width: 0;
}

/* Timeline dots */

.schedule-step::before {
    content: "";
    position: absolute;

    top: 11px;
    left: 14px;

    width: 16px;
    height: 16px;
    border-radius: 50%;

    background: #0b101a;
    border: 3px solid var(--accent);

    box-shadow: 0 0 14px #a2bcff55;
    z-index: 1;
}

/* Event cards */

.schedule-card {
    height: 100%;
    min-height: 230px;

    padding: 25px;
    border: 1px solid #29374e;
    border-radius: 10px;

    background: linear-gradient(
        145deg,
        #151e2e,
        #0c111b
    );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px #00000044;
}

.schedule-number {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
}

.schedule-card h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 25px 0 14px;
}

.schedule-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Mobile timeline */

@media (max-width: 900px) {

    .schedule {
        padding: 70px 6%;
    }

    .schedule-header {
        margin-bottom: 40px;
    }

    .schedule-track {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Change line to vertical */

    .schedule-track::before {
        top: 30px;
        bottom: 55px;
        left: 22px;
        right: auto;

        width: 2px;
        height: auto;
    }

    .schedule-step {
        padding: 0 0 20px 54px;
    }

    .schedule-step::before {
        top: 22px;
        left: 14px;
    }

    .schedule-card {
        min-height: 0;
        padding: 24px;
    }

}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .schedule-card {
        transition: none;
    }

    .schedule-card:hover {
        transform: none;
    }
}

/* Stage 5: shared styles */

.prizes-section,
.sponsors-section {
    padding: 100px, 6%;
}

.stage5-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stage5-label {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.stage5-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.stage5-heading h2 {
    font-size: clamp(36px, 4.5vw, 65px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.stage5-heading h2 span {
    color: var(--accent);
}

.stage5-heading p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 440px;
}

/* Prize cards */

.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.prize-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: linear-gradient(
        145deg,
        #151e2e,
        #151e2e
    );

    border: 1px solid #29374e;
    border-radius: 10px;

    padding: 30px;
    min-height: 300px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Highlight Main Prize */

.prize-card.featured {
    border-color: #7699e2;
    background: linear-gradient(
        145deg,
        #1c2a43,
        #0e1625
    );
}

.prize-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px #00000055;
}

.prize-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
}

.prize-star {
    font-size: 27px;
}

.prize-content h3 {
    font-size: 27px;
    margin-bottom: 15px;
}

.prize-value {
    font-size: 17px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 12px;
}

.prize-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

.prize-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 22px;
}

/* Sponsors */

.sponsors-section {
    background: #0b101a;
    border-top: 1px solid #253047;
    border-bottom: 1px solid #253047;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sponsor-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-height: 150px;
    padding: 20px;
    text-align: center;

    background: #111a29;
    border: 1px dashed #35435c;
    border-radius: 10px;

    color: #91a0bb;
    font-size: 11px;
    letter-spacing: 1.5px;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}
.sponsor-slot:hover {
    border-color: var(--accent);
    background: #172238;
}

.sponsor-plus {
    font-size: 30px;
    color: var(--accent);
    font-weight: 300;
}

.sponsor-note {
    margin-top: 25px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

/* Future Sponsor Logos */

.sponsor-slot img {
    max-width: 80%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive design */

@media (max-width: 900px) {

    .stage5-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prize-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .prizes-section,
    .sponsors-section {
        padding: 70px 6%;
    }

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

    .prize-card {
        min-height: 250px;
    }

    .sponsor-slot {
        min-height: 110px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prize-card,
    .sponsor-slot {
        transition: none;
    }

    .prize-card:hover {
        transform: none;
    }
}

/* Stage 6: Shared */

.faq-section,
.registration-section {
    padding: 100px 6%;
}

.stage6-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stage6-label {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.stage6-title {
    font-size: clamp(36px, 4.5vw, 65px);
    letter-spacing: -2px;
    line-height: 1.1;
}

.stage6-title span {
    color: var(--accent);
}

.stage6-description {
    color: var(--muted);
    font-size: 15px;
    margin: 22px 0 40px;
    line-height: 1.8;
}

/* FAQ Accordion */

.faq-list {
    max-width: 900px;
    border-top: 1px solid #29374e;
}

.faq-item {
    border-bottom: 1px solid #29374e;
    padding: 0 20px;
    transition: background 0.3s ease;
}

.faq-item:hover,
.faq-item[open] {
    background: #111b2c;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 26px 0;
    cursor: pointer;

    color: #f5f7ff;
    font-size: 18px;
    font-weight: 500;

    list-style: none;
}

/* Remove default disclosure arrow */

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Keyboard focus */

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Plus symbol */

.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 26px;
    font-weight: 300;

    transition: transform 0.3s ease;
}

/* Change + into x when open */

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* Answer text */

.faq-item p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;

    max-width: 700px;
    padding-bottom: 28px;
}

/* Registration CTA */

.registration-section {
    background: #0b101a;
    border-top: 1px solid #253047;
}

.registration-box {
    text-align: center;
    padding: 80px 30px;

    border: 1px solid #34496c;
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 50% 110%,
            #233b6577,
            transparent 65%
        ),
        #101827;
}

.registration-box h2 {
    font-size: clamp(38px, 6vw, 80px);
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.registration-box h2 span {
    color: var(--accent);
}

.registration-description {
    max-width: 500px;
    margin: 0 auto 35px;

    color: #aab8ce;
    font-size: 16px;
    line-height: 1.8;
}

/* Registration status / future button */

.registration-button {
    display: inline-block;
    padding: 17px 30px;

    background: var(--accent);
    color: #080b13;

    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}

/* When it becomes an actual link */

a.registration-button {
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

a.registration-button:hover {
    background: #d5e1ff;
    transform: translateY(-3px);
}

a.registration-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.registration-note {
    color: #8697b0;
    font-size: 12px;
    margin-top: 20px;
}

/* Mobile */

@media (max-width: 600px) {

    .faq-section,
    .registration-section {
        padding: 70px 6%
    }

    .faq-item {
        padding: 0 12px;
    }

    .faq-item summary {
        font-size: 16px;
        padding: 22px 0;
    }

    .registration-box {
        padding: 65px 20px;
    }

    .registration-box h2 {
        letter-spacing: -2px;
    }

    .registration-button {
        padding: 15px 20px;
        font-size: 11px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-icon,
    a.registration-button {
        transition: none;
    }

    a.registration-button:hover {
        transform: none;
    }
}