.mascots-header {
    max-width: 58rem;
}

.mascots-header > p:last-child {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.08rem;
    line-height: 1.6;
}

.mascots-introduction {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 5rem);
    margin-bottom: 2rem;
    padding: 0 0 1.25rem 1rem;
    border-left: 0.3rem solid var(--fifa-pink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.mascots-introduction h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
}

.mascots-introduction > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.mascot-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-top: 0.35rem solid var(--fifa-blue);
    background: rgba(255, 255, 255, 0.045);
}

.mascot-card:nth-child(2) {
    border-top-color: var(--fifa-pink);
}

.mascot-card:nth-child(3) {
    border-top-color: var(--fifa-lime);
}

.mascot-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.42), rgba(76, 201, 240, 0.3));
}

.mascot-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(transparent, rgba(16, 16, 26, 0.65));
    pointer-events: none;
}

.mascot-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mascot-card:hover .mascot-card__image {
    transform: scale(1.025);
}

.mascot-card__body {
    padding: 1.25rem;
}

.mascot-card__country {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--fifa-lime);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mascot-card__title {
    margin: 0 0 0.8rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
}

.mascot-card__description {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.58;
}

.mascots-status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 3rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.mascots-status--error {
    border-color: rgba(245, 200, 10, 0.5);
    color: var(--fifa-gold);
}

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

@media (max-width: 640px) {
    .mascots-page {
        padding: 1rem;
        margin-top: 1rem;
    }

    .mascots-introduction,
    .mascots-grid {
        grid-template-columns: 1fr;
    }
}
