:root {
    color-scheme: light;
}

body {
    font-family: 'Nunito', sans-serif;
}

.hero-mask {
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25), transparent 50%);
}

.path-tile {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
}

.badge-pop {
    animation: badge-pop 600ms ease forwards;
}

@keyframes badge-pop {
    0% {
        transform: scale(0.6) rotate(-8deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.08) rotate(3deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.hero-mascot-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(100%, 26rem);
    height: 26rem;
    border-radius: 3rem;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(251, 113, 133, 0.85), rgba(248, 184, 139, 0.9)),
        linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(59, 130, 246, 0.15));
    box-shadow: 0 30px 60px rgba(251, 113, 133, 0.28);
}

.hero-mascot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.hero-mascot-meta {
    position: absolute;
    inset-inline: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1.75rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    color: #f8fafc;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.hero-mascot-tag {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(244, 114, 182, 0.8);
}

.hero-mascot-caption {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

@keyframes float {

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

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

.confetti span {
    position: absolute;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    animation: fall 1200ms ease-in forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-40px) rotate(0deg);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: translateY(80px) rotate(240deg);
        opacity: 0;
    }
}

.score-modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    z-index: 60;
}

.score-modal-backdrop.active {
    display: flex;
}

.score-card {
    width: min(100%, 28rem);
    border-radius: 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.score-card h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.score-card p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.score-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.score-field input {
    border: none;
    border-radius: 1.25rem;
    padding: 0.85rem 1.1rem;
    background: rgba(15, 23, 42, 0.05);
    font-size: 0.95rem;
}

.score-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.score-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    border: none;
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fb7185, #f97316);
    color: white;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
    cursor: pointer;
}

.score-submit[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.score-dismiss {
    background: none;
    border: none;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.score-message {
    font-size: 0.9rem;
    font-weight: 600;
}

.logo-img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}