/* Awards Page Styles */

.awards-hero {
    position: relative;
    padding: 16rem 0 8rem;
    text-align: center;
    z-index: 1;
}

.awards-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: rgba(197, 37, 53, 0.12);
    border: 1px solid rgba(197, 37, 53, 0.25);
    border-radius: 100px;
    color: #c52535;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.awards-hero__badge svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: #c52535;
}

.awards-hero__title {
    font-size: 6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.awards-hero__subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 60rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Season Overview */
.awards-season {
    position: relative;
    background: #e6e6e3;
    padding: 8rem 0 6rem;
    border-radius: 50vw 50vw 0 0;
    z-index: 2;
}

.awards-container {
    width: 80rem;
    max-width: 90%;
    margin: 0 auto;
}

.awards-season__header {
    text-align: center;
    margin-bottom: 6rem;
}

.awards-season__year {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c52535;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.awards-season__heading {
    font-size: 4rem;
    font-weight: 700;
    color: #2c2a28;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.awards-season__record {
    font-size: 1.6rem;
    color: #666;
    font-weight: 400;
}

.awards-season__record strong {
    color: #2c2a28;
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 8rem;
}

.stat-card {
    background: #fff;
    border-radius: 1.6rem;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 350ms ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stat-card__number {
    font-size: 4.2rem;
    font-weight: 700;
    color: #c52535;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.stat-card__label {
    font-size: 1.2rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Event Section */
.event-section {
    margin-bottom: 8rem;
}

.event-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.event-card__header {
    position: relative;
    background: #2c2a28;
    padding: 4rem;
    overflow: hidden;
}

.event-card__header::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(197, 37, 53, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.event-card__winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.6rem;
    background: linear-gradient(135deg, #c52535, #e74c3c);
    border-radius: 100px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.event-card__winner-badge svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: #fff;
}

.event-card__event-name {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-card__event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
}

.event-card__event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card__event-meta svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.event-card__body {
    padding: 4rem;
}

/* Awards List */
.awards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 2.5rem;
    background: #f8f8f6;
    border-radius: 1.2rem;
    border-left: 4px solid #c52535;
    transition: transform 300ms ease, background-color 300ms ease;
}

.award-item:hover {
    transform: translateX(4px);
    background: #f0f0ed;
}

.award-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    min-width: 4.4rem;
    background: linear-gradient(135deg, #c52535, #e74c3c);
    border-radius: 1rem;
}

.award-item__icon svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: #fff;
}

.award-item__content {
    flex: 1;
}

.award-item__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c2a28;
    margin-bottom: 0.4rem;
}

.award-item__desc {
    font-size: 1.3rem;
    color: #888;
    line-height: 1.5;
}

/* Alliance Table */
.alliance-section {
    margin-bottom: 4rem;
}

.alliance-section__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2a28;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alliance-section__title::before {
    content: "";
    display: block;
    width: 3px;
    height: 2rem;
    background: #c52535;
    border-radius: 2px;
}

.alliance-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

.alliance-table thead th {
    background: #f8f8f6;
    padding: 1.4rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.alliance-table tbody td {
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    color: #2c2a28;
    border-bottom: 1px solid #f0f0ed;
}

.alliance-table tbody tr:last-child td {
    border-bottom: none;
}

.alliance-table .team-highlight {
    font-weight: 700;
    color: #c52535;
}

.alliance-table .role-cell {
    font-weight: 600;
    color: #666;
}

/* District Points */
.points-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.points-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8f8f6;
    border-radius: 1.2rem;
    transition: transform 300ms ease;
}

.points-card:hover {
    transform: translateY(-2px);
}

.points-card--total {
    background: #2c2a28;
}

.points-card--total .points-card__value {
    color: #c52535;
}

.points-card--total .points-card__label {
    color: rgba(255, 255, 255, 0.6);
}

.points-card__value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c2a28;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.points-card__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Rankings Section */
.rankings-section {
    position: relative;
    background: #2c2a28;
    padding: 8rem 0;
    z-index: 2;
}

.rankings-section__header {
    text-align: center;
    margin-bottom: 5rem;
}

.rankings-section__label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c52535;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.rankings-section__heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.rankings-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

.podium-card {
    flex: 0 0 24rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.6rem;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: transform 300ms ease, border-color 300ms ease;
}

.podium-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.podium-card--highlight {
    background: rgba(197, 37, 53, 0.08);
    border-color: rgba(197, 37, 53, 0.3);
    transform: translateY(-1rem);
}

.podium-card--highlight:hover {
    transform: translateY(-1.4rem);
    border-color: rgba(197, 37, 53, 0.5);
}

.podium-card__rank {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 1.2rem;
}

.podium-card--highlight .podium-card__rank {
    color: #c52535;
}

.podium-card__team {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.podium-card__name {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.podium-card__epa {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.podium-card--highlight .podium-card__epa {
    background: rgba(197, 37, 53, 0.15);
    color: #e88;
}

/* Photo Gallery */
.gallery-section {
    background: #e6e6e3;
    padding: 8rem 0;
    z-index: 2;
    position: relative;
}

.gallery-section__header {
    text-align: center;
    margin-bottom: 5rem;
}

.gallery-section__label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c52535;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.gallery-section__heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c2a28;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    background: #d4d4d1;
    cursor: pointer;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 400ms ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    object-fit: cover;
    display: block;
    transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item--large .gallery-item__image {
    min-height: 42rem;
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 1;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 400ms ease, transform 400ms ease;
}

.gallery-item:hover .gallery-item__caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    background: linear-gradient(135deg, #d4d4d1 0%, #c8c8c5 100%);
    color: #999;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-item--large .gallery-placeholder {
    min-height: 42rem;
}

.gallery-placeholder svg {
    width: 3rem;
    height: 3rem;
    fill: #bbb;
}

/* Match Highlights */
.matches-section {
    background: #f8f8f6;
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.matches-section__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2a28;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.matches-section__title::before {
    content: "";
    display: block;
    width: 3px;
    height: 2rem;
    background: #c52535;
    border-radius: 2px;
}

.match-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.match-card {
    background: #fff;
    border-radius: 1.2rem;
    padding: 2.5rem;
    border: 1px solid #eee;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.match-card__label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.match-card__score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.match-card__score-value {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.match-card__score-value--red {
    color: #c52535;
}

.match-card__score-value--blue {
    color: #3b82f6;
}

.match-card__score-divider {
    font-size: 1.8rem;
    color: #ccc;
    font-weight: 300;
}

.match-card__teams {
    font-size: 1.2rem;
    color: #999;
    text-align: center;
    line-height: 1.6;
}

.match-card__teams strong {
    color: #2c2a28;
    font-weight: 700;
}

.match-card__result {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.match-card__result--win {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* CTA Section */
.awards-cta {
    background: #e6e6e3;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.awards-cta__text {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 2rem;
}

.awards-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3.2rem;
    background: #c52535;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: background 300ms ease, transform 300ms ease;
}

.awards-cta__link:hover {
    background: #a01f2d;
    transform: translateY(-2px);
}

.awards-cta__link svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: #fff;
}

/* Scroll Animations */
.awards-fade-up {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 800ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-fade-up.fInview--enter {
    opacity: 1;
    transform: translateY(0);
}

.awards-fade-in {
    opacity: 0;
    transition: opacity 900ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-fade-in.fInview--enter {
    opacity: 1;
}

.awards-scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 700ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-scale-in.fInview--enter {
    opacity: 1;
    transform: scale(1);
}

.awards-slide-left {
    opacity: 0;
    transform: translateX(-3rem);
    transition: opacity 800ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-slide-left.fInview--enter {
    opacity: 1;
    transform: translateX(0);
}

.awards-stagger-parent.fInview--enter .awards-stagger-child {
    opacity: 1;
    transform: translateY(0);
}

.awards-stagger-child {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 600ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-stagger-child:nth-child(1) { transition-delay: 0ms; }
.awards-stagger-child:nth-child(2) { transition-delay: 100ms; }
.awards-stagger-child:nth-child(3) { transition-delay: 200ms; }
.awards-stagger-child:nth-child(4) { transition-delay: 300ms; }
.awards-stagger-child:nth-child(5) { transition-delay: 400ms; }
.awards-stagger-child:nth-child(6) { transition-delay: 500ms; }

.awards-hero__badge {
    opacity: 0;
    transform: translateY(2rem);
}

.awards-hero__title {
    opacity: 0;
    transform: translateY(3rem);
}

.awards-hero__subtitle {
    opacity: 0;
    transform: translateY(2rem);
}

.Container.is-enter .awards-hero__badge {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms 200ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 700ms 200ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.Container.is-enter .awards-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 700ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.Container.is-enter .awards-hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms 600ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 700ms 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Responsive */
@media screen and (max-width: 1023px) {
    .awards-hero {
        padding: 14rem 2rem 6rem;
    }

    .awards-hero__title {
        font-size: 3.6rem;
    }

    .awards-hero__subtitle {
        font-size: 1.5rem;
    }

    .awards-season {
        padding: 6rem 0 4rem;
    }

    .awards-season__heading {
        font-size: 2.8rem;
    }

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

    .awards-list {
        grid-template-columns: 1fr;
    }

    .event-card__header {
        padding: 3rem 2rem;
    }

    .event-card__event-name {
        font-size: 2.2rem;
    }

    .event-card__body {
        padding: 3rem 2rem;
    }

    .points-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rankings-podium {
        flex-direction: column;
        align-items: center;
    }

    .podium-card {
        flex: none;
        width: 100%;
        max-width: 30rem;
    }

    .podium-card--highlight {
        transform: none;
        order: -1;
    }

    .podium-card--highlight:hover {
        transform: translateY(-4px);
    }

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--large .gallery-item__image,
    .gallery-item--large .gallery-placeholder {
        min-height: 25rem;
    }

    .match-highlights {
        grid-template-columns: 1fr;
    }

    .rankings-section__heading {
        font-size: 2.6rem;
    }

    .gallery-section__heading {
        font-size: 2.6rem;
    }

    .event-card__event-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media screen and (max-width: 600px) {
    .awards-hero__title {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-card__number {
        font-size: 3rem;
    }

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

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

    .gallery-item--large {
        grid-column: span 1;
    }

    .alliance-table {
        font-size: 1.2rem;
    }

    .alliance-table thead th,
    .alliance-table tbody td {
        padding: 1rem 1.2rem;
    }
}
