﻿:root {
    font-family: 'Segoe UI',Arial,sans-serif;
    color: #182944;
    background: #f5f8ff
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 92% 0,#dfeaff,transparent 38%),linear-gradient(150deg,#f9fbff,#eef5ff)
}

button {
    font: inherit;
    cursor: pointer
}

    button:focus-visible, a:focus-visible {
        outline: 4px solid #f3ac2b;
        outline-offset: 3px
    }

.shell {
    max-width: 1520px;
    margin: auto;
    padding: 26px 36px 50px
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px
}

.mark {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    background: #982c3d;
    color: white;
    display: grid;
    place-items: center;
    font-size: 33px
}

.brand strong {
    font-size: 25px;
    letter-spacing: 1px
}

.brand small {
    display: block;
    color: #667790;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.chip {
    border: 1px solid #d9e3f3;
    background: #fff;
    border-radius: 14px;
    padding: 13px 19px;
    font-weight: 800;
    color: #263a57;
    min-height: 50px
}

.hero {
    margin-top: 30px;
    padding: 40px 48px;
    border-radius: 32px;
    background: linear-gradient(112deg,#7d1d31,#a42f48);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    box-shadow: 0 20px 40px #81263c22
}

.eyebrow {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 13px;
    color: #ffdca0
}

.hero h1 {
    font-size: clamp(34px,4.6vw,64px);
    line-height: 1.08;
    margin: 14px 0
}

.hero p {
    font-size: clamp(16px,1.5vw,21px);
    max-width: 690px;
    opacity: .94;
    line-height: 1.5
}

.mascot {
    font-size: clamp(100px,14vw,195px);
    filter: drop-shadow(0 15px 12px #480d2230);
    animation: bob 4s ease-in-out infinite;
    line-height: 1
}

@keyframes bob {
    50% {
        transform: translateY(-12px) rotate(-4deg)
    }
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 36px 0 18px
}

    .heading h2 {
        font-size: 27px;
        margin: 0
    }

    .heading p {
        color: #697991;
        margin: 5px 0 0
    }

.grades {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.grade {
    background: white;
    border: 2px solid #dbe4f2;
    border-radius: 16px;
    min-width: 67px;
    min-height: 57px;
    font-weight: 900;
    font-size: 21px;
    color: #4b5d76
}

    .grade[aria-pressed=true] {
        background: #8f263b;
        border-color: #8f263b;
        color: white
    }

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px
}

.card {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 10px 26px #253b5c0c;
    display: flex;
    flex-direction: column;
    min-height: 285px;
    transition: transform .2s,box-shadow .2s
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 32px #253b5c1b
    }

.art {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 45px
}

.peach {
    background: #fff0e4
}

.blue {
    background: #e8f2ff
}

.green {
    background: #e6f8ed
}

.card h3 {
    font-size: 25px;
    margin: 20px 0 9px
}

.card p {
    color: #60728d;
    line-height: 1.5;
    font-size: 17px;
    margin: 0 0 22px
}

.launch {
    margin-top: auto;
    border: 0;
    border-radius: 14px;
    padding: 15px 20px;
    background: #8f263b;
    color: white;
    font-weight: 800;
    text-align: center;
    font-size: 17px;
    min-height: 54px
}

    .launch:disabled {
        background: #e9edf3;
        color: #78869b;
        cursor: not-allowed
    }

.status {
    margin-top: 22px;
    color: #667890;
    font-size: 14px
}

.notice {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: #26364d;
    color: white;
    border-radius: 15px;
    padding: 15px 23px;
    box-shadow: 0 10px 30px #0003;
    max-width: 90%;
    z-index: 2
}

@media(max-width:900px) {
    .cards {
        grid-template-columns: 1fr 1fr
    }

    .hero {
        padding: 32px
    }

    .mascot {
        font-size: 100px
    }
}

@media(max-width:600px) {
    .shell {
        padding: 16px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 26px;
        flex-direction: column;
        align-items: flex-start
    }

    .mascot {
        align-self: center
    }

    .heading h2 {
        font-size: 23px
    }
}

/* HULEG LEARN - Logo and Foal Mascot */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.school-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.foal-hero-image {
    display: block;
    width: min(100%, 340px);
    height: auto;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.12));
}

.foal-card-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
}

.game-icon {
    font-size: 76px;
}

.hero-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 22px;
    padding: 14px 26px;
    border-radius: 16px;
    background: #ffffff;
    color: #174c42;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .hero-play:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.14);
    }

a.launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .school-logo {
        width: 48px;
        height: 48px;
    }

    .foal-hero-image {
        width: min(100%, 230px);
        max-height: 230px;
    }

    .game-icon {
        font-size: 56px;
    }
}
