/* ========================================
   INFINITY'S CORE 1 WORLD
   Main Stylesheet
======================================== */


/* ========================================
   GLOBAL SETTINGS
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #11254a 0%,
            #081426 38%,
            #050816 75%
        );

    color: #f8fafc;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* ========================================
   MISSION CONTROL
======================================== */

.mission-control {
    width: 100%;
    min-height: 100vh;
    text-align: center;
}


/* ========================================
   HERO / WELCOME AREA
======================================== */

.hero {
    max-width: 1000px;
    margin: 0 auto;

    padding:
        60px
        20px
        25px;
}

.eyebrow {
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: #38bdf8;
}

.hero h1 {
    margin: 10px 0;

    font-size: clamp(
        2.3rem,
        6vw,
        4rem
    );

    line-height: 1.1;
}

.intro {
    max-width: 700px;

    margin:
        20px
        auto;

    font-size: 18px;

    color: #cbd5e1;
}


/* ========================================
   LEARNER STATUS PANEL
======================================== */

.learner-status {
    max-width: 650px;

    margin:
        35px
        auto
        0;

    padding:
        22px
        28px;

    background:
        rgba(
            15,
            30,
            55,
            0.9
        );

    border:
        1px solid
        #334155;

    border-radius: 16px;

    box-shadow:
        0 15px 40px
        rgba(
            0,
            0,
            0,
            0.3
        );
}

.learner-status h2 {
    margin-top: 0;

    color: #38bdf8;
}

.learner-status p {
    margin: 8px 0;

    color: #e2e8f0;
}


/* ========================================
   ADVENTURES SECTION
======================================== */

.adventures {
    max-width: 1100px;

    margin:
        40px
        auto;

    padding:
        20px;
}

.adventures h2 {
    margin-bottom: 35px;

    font-size: 32px;
}


/* ========================================
   ADVENTURE GRID
======================================== */

.adventure-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                280px,
                1fr
            )
        );

    gap: 25px;

    align-items: stretch;
}


/* ========================================
   ADVENTURE CARDS
======================================== */

.adventure-card {
    width: 100%;
    max-width: 420px;

    margin:
        0
        auto;

    padding:
        30px;

    background:
        linear-gradient(
            145deg,
            #101b2d,
            #0b1322
        );

    border:
        1px solid
        #334155;

    border-radius: 18px;

    box-shadow:
        0 15px 40px
        rgba(
            0,
            0,
            0,
            0.35
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.adventure-card:hover {
    transform:
        translateY(-7px);

    border-color:
        #38bdf8;

    box-shadow:
        0 18px 45px
        rgba(
            56,
            189,
            248,
            0.18
        );
}

.adventure-card h3 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 25px;

    color: #f8fafc;
}

.adventure-card > p {
    color: #cbd5e1;
}


/* ========================================
   MISSION PROGRESS
======================================== */

.mission-progress {
    margin:
        22px
        0;

    padding:
        16px;

    text-align: left;

    background:
        #08111f;

    border:
        1px solid
        #273449;

    border-radius: 12px;
}

.mission-progress p {
    margin:
        7px
        0;

    color:
        #dbeafe;
}

.mission-progress strong {
    color:
        #f8fafc;
}


/* ========================================
   ADVENTURE BUTTONS
======================================== */

.adventure-button {
    display: inline-block;

    margin-top: 15px;

    padding:
        13px
        24px;

    background:
        #38bdf8;

    border:
        2px solid
        #38bdf8;

    border-radius: 10px;

    color:
        #082f49;

    font-size:
        16px;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.adventure-button:hover {
    transform:
        translateY(-2px);

    background:
        #7dd3fc;

    border-color:
        #7dd3fc;

    color:
        #071525;

    box-shadow:
        0 8px 20px
        rgba(
            56,
            189,
            248,
            0.25
        );

    cursor:
        pointer;
}


/* ========================================
   LEARNER ACCESS PORTAL
======================================== */

.access-container {
    width:
        calc(
            100% - 40px
        );

    max-width:
        520px;

    margin:
        80px
        auto;

    padding:
        35px;

    background:
        linear-gradient(
            145deg,
            #101b2d,
            #0b1322
        );

    border:
        1px solid
        #334155;

    border-radius:
        18px;

    box-shadow:
        0 20px 60px
        rgba(
            0,
            0,
            0,
            0.4
        );
}

.access-container h1 {
    margin-top:
        0;

    margin-bottom:
        10px;

    color:
        #38bdf8;
}

.access-container > p {
    margin-bottom:
        30px;

    color:
        #cbd5e1;
}


/* ========================================
   ACCESS FORM
======================================== */

#accessForm {
    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;
}

#accessForm label {
    margin-top:
        10px;

    font-weight:
        700;

    color:
        #e2e8f0;
}

#accessForm input {
    width:
        100%;

    padding:
        13px
        14px;

    background:
        #08111f;

    border:
        1px solid
        #475569;

    border-radius:
        9px;

    color:
        white;

    font-size:
        16px;

    outline:
        none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#accessForm input:focus {
    border-color:
        #38bdf8;

    box-shadow:
        0 0 0 3px
        rgba(
            56,
            189,
            248,
            0.15
        );
}


/* ========================================
   ACCESS BUTTON
======================================== */

#accessForm button {
    margin-top:
        20px;

    padding:
        14px
        20px;

    background:
        #38bdf8;

    border:
        none;

    border-radius:
        10px;

    color:
        #082f49;

    font-size:
        16px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#accessForm button:hover {
    transform:
        translateY(-2px);

    background:
        #7dd3fc;

    box-shadow:
        0 8px 20px
        rgba(
            56,
            189,
            248,
            0.25
        );
}


/* ========================================
   ACCESS RESULTS
======================================== */

#accessStatus {
    margin-top:
        25px;
}

#accessStatus h2 {
    color:
        #38bdf8;
}

#accessStatus p {
    color:
        #dbeafe;
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (
    max-width: 650px
) {

    .hero {
        padding-top:
            40px;
    }

    .hero h1 {
        font-size:
            2.4rem;
    }

    .intro {
        font-size:
            16px;
    }

    .learner-status {
        padding:
            20px;
    }

    .adventures {
        margin-top:
            25px;
    }

    .adventure-card {
        padding:
            24px;
    }

    .access-container {
        margin:
            35px
            auto;

        padding:
            25px;
    }

}