:root {
    --ag-navy: #0a1730;
    --ag-ink: #16213a;
    --ag-muted: #5c6a86;
    --ag-red: #c8102e;
    --ag-red-dark: #8f0b20;
    --ag-gold: #e8b94c;
    --ag-blue: #2e5eaa;
    --ag-line: rgba(22, 33, 58, 0.12);
    --ag-soft: #fdf3ee;
    --ag-card: #ffffff;
    --ag-shadow: 0 18px 46px rgba(10, 23, 48, 0.12);
    --max-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    color: var(--ag-ink);
    background: #f7f9fc;
}

main {
    display: block;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow,
.fake3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--ag-red);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.fake1 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.fake2 {
    margin: 0;
    color: var(--ag-muted);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.primary-button {
    background: var(--ag-red);
    color: #fff;
}

.secondary-button {
    background: #fff;
    color: var(--ag-navy);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(200, 16, 46, 0.2);
}

/* ---------- Hero ---------- */
.hero-section {
    --hero-progress: 0;
    --hero-bg-shift: 0px;
    --hero-bg-scale: 1;
    --hero-center-y: 0px;
    --hero-center-scale: 1;
    --hero-left-x: 0px;
    --hero-right-x: 0px;
    --hero-side-blur: 0px;
    --hero-side-opacity: 1;
    --hero-rating-y: 0px;
    --hero-rating-opacity: 1;
    position: relative;
    height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    color: #fff;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: -4%;
    background:
        linear-gradient(100deg, rgba(8, 15, 33, 0.93) 0%, rgba(10, 23, 48, 0.66) 42%, rgba(143, 11, 32, 0.55) 74%, rgba(8, 15, 33, 0.9) 100%),
        url("/assets/images/chinatown.jpg") center / cover no-repeat;
    transform: translate3d(0, var(--hero-bg-shift), 0) scale(var(--hero-bg-scale));
    transform-origin: center center;
    will-change: transform;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 48% 49%, transparent 49% 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 132px),
        radial-gradient(circle at 50% 45%, rgba(232, 185, 76, 0.2), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 25%, rgba(0, 0, 0, 0.34));
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 18%, transparent 76%, rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2rem), 1280px);
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr minmax(160px, 280px) 1fr;
    align-items: start;
    gap: 1.5rem;
    overflow: hidden;
    transform: translateZ(0);
}

.hero-side {
    max-width: 450px;
    transition: transform 0.18s linear, opacity 0.18s linear, filter 0.18s linear;
}

.hero-left {
    justify-self: start;
    margin-top: 8rem;
    transform: translate3d(var(--hero-left-x), calc(var(--hero-progress) * -20px), 0);
    opacity: var(--hero-side-opacity);
    filter: blur(var(--hero-side-blur));
}

.hero-right {
    justify-self: end;
    align-self: flex-end;
    margin-bottom: 4rem;
    text-align: right;
    transform: translate3d(var(--hero-right-x), calc(var(--hero-progress) * 24px), 0);
    opacity: var(--hero-side-opacity);
    filter: blur(var(--hero-side-blur));
}

.hero-kicker {
    margin: 0 0 0.75rem;
    color: var(--ag-gold);
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-side h1,
.hero-side h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 4.7vw, 4.6rem);
    line-height: 0.94;
}

.hero-copy {
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    line-height: 1.1;
    font-weight: 650;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8rem;
    height: 60vh;
    padding: 2.9rem 0 0.2rem;
    margin-top: 8rem;
    transform: translate3d(0, var(--hero-center-y), 0) scale(var(--hero-center-scale));
    transform-origin: center top;
    transition: transform 0.18s linear;
}

.hero-logo {
    font-size: clamp(1.8rem, 3vw, 3.4rem);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.hero-logo-meta {
    display: block;
    margin-top: 0.6rem;
}

.hero-logo-meta-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-logo-meta-item+.hero-logo-meta-item::before {
    content: " | ";
}

.hero-button {
    background: #fff;
    color: var(--ag-navy);
    min-height: 46px;
    padding-inline: 1.35rem;
}

.hero-mobile-trust-badge {
    display: none;
}

.google-rating {
    position: absolute;
    left: 0;
    bottom: 1.1rem;
    display: flex;
    align-items: center;
    color: #fff;
    transform: translate3d(0, var(--hero-rating-y), 0);
    opacity: var(--hero-rating-opacity);
    transition: transform 0.18s linear, opacity 0.18s linear;
}

.google-rating .phela {
    display: flex;
    align-items: center;
    gap: 5px;
}

.google-rating img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.google-rating span {
    color: #fff;
    font-size: 1rem;
    font-weight: 650;
}

/* ---------- Sections base ---------- */
section:not(.hero-section) {
    padding: 5rem 0;
}

.section-heading,
.faq-intro,
.booking-header-compact {
    margin: 0 auto 2.2rem;
    text-align: center;
}

.section-heading h2,
.faq-intro h2,
.content-copy h2,
.final-box h2 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
}

.section-heading p,
.faq-intro p,
.content-copy p,
.final-box p,
.rich-card p {
    margin: 0;
    color: var(--ag-muted);
    line-height: 1.65;
}

/* ---------- Overview strip ---------- */
.overview-strip {
    background:
        radial-gradient(circle at 15% 20%, rgba(200, 16, 46, 0.1), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(232, 185, 76, 0.16), transparent 26%),
        #fff;
}

.overview-lead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overview-grid {
    display: grid;
    grid-template-rows: 1.15fr 0.85fr;
    gap: 1rem;
    text-align: center;
}

.overview-lead,
.score-card,
.rich-card,
.team-card,
.player-card,
.rivalry-card,
.boarding-card,
.venue-card,
.tip-card,
.faq-item,
.final-box {
    border: 1px solid var(--ag-line);
    border-radius: 25px;
    background: var(--ag-card);
    box-shadow: var(--ag-shadow);
}

.overview-lead,
.score-card {
    border-radius: 45px !important;
}

.overview-lead {
    padding: 1.6rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.score-card {
    min-height: 150px;
    padding: 1.1rem;
    display: grid;
    align-content: center;
    text-align: center;
}

.score-card span,
.card-label {
    color: var(--ag-red);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.score-card strong {
    display: block;
    margin: 0.35rem 0;
    color: var(--ag-navy);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1;
}

.score-card p {
    margin: 0;
    color: var(--ag-muted);
}

/* ---------- Booking form ---------- */
.flight-quick-booking {
    padding: 4rem 0;
    background: var(--ag-soft);
}

.flight-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flight-card-compact {
    margin-bottom: 15px;
    padding: 25px;
    border: 1px solid rgba(200, 16, 46, 0.14);
    border-radius: 45px;
    background: #fff;
    box-shadow: var(--ag-shadow);
}

.trip-type-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.toggle-container {
    position: relative;
    display: inline-flex;
    padding: 4px;
    border-radius: 40px;
    background: #fdeee9;
}

.toggle-container input[type="radio"] {
    display: none;
}

.toggle-label {
    position: relative;
    z-index: 2;
    padding: 8px 25px;
    border-radius: 40px;
    color: var(--ag-muted);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-container input[type="radio"]:checked+.toggle-label {
    color: #fff;
}

.toggle-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 1;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 40px;
    background: var(--ag-red);
    transition: transform 0.3s ease;
}

.toggle-container:has(#roundtrip-flight:checked) .toggle-bg {
    transform: translateX(100%);
}

.flight-row-2col,
.flight-row-3col,
.flight-row-4col {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.flight-row-2col {
    grid-template-columns: 1fr 1fr;
}

.flight-row-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flight-row-4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-group {
    position: relative;
    height: 48px;
}

.field-group input,
.field-group select {
    width: 100%;
    height: 100%;
    padding: 0 15px 0 40px;
    border: 1px solid rgba(200, 16, 46, 0.14);
    border-radius: 18px;
    background: #fbf8f7;
    color: var(--ag-ink);
    font-size: 13px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 30px;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: var(--ag-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.11);
}

.field-group .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    color: var(--ag-red);
    font-size: 16px;
    opacity: 0.85;
    pointer-events: none;
    transform: translateY(-50%);
}

.field-group input::placeholder,
.location-input::placeholder,
.date-input::placeholder,
.passenger-input::placeholder {
    color: #778393;
    opacity: 1;
}

.location-group,
.date-group,
.passenger-compact-group {
    position: relative;
}

.suggestions-dropdown,
.calendar-popup,
.passenger-dropdown-flight {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 100;
    display: none;
    border: 1px solid rgba(200, 16, 46, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(10, 23, 48, 0.14);
}

.suggestions-dropdown {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

.suggestions-dropdown.show,
.calendar-popup.show,
.passenger-dropdown-flight.show {
    display: block;
}

.suggestion-item {
    padding: 10px 15px;
    font-size: 12px;
    cursor: pointer;
}

.suggestion-item:hover,
.calendar-day:hover {
    background: #fdeee9;
    color: var(--ag-red);
}

.date-input {
    cursor: pointer;
}

.calendar-popup {
    width: 280px;
    padding: 15px;
}

.calendar-header,
.calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.calendar-header {
    margin-bottom: 15px;
}

.calendar-header button,
.calendar-footer button,
.counter-sm button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 16, 46, 0.14);
    background: #fff;
    color: var(--ag-red);
}

.calendar-header button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.calendar-header span {
    color: var(--ag-ink);
    font-size: 14px;
    font-weight: 750;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}

.weekday,
.calendar-day {
    padding: 5px;
    text-align: center;
    font-size: 11px;
}

.weekday {
    color: var(--ag-muted);
    font-weight: 850;
}

.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.calendar-day.selected {
    background: var(--ag-red);
    color: #fff;
}

.calendar-day.today {
    border: 1px solid var(--ag-red);
}

.calendar-day.disabled {
    color: #c8cdd5;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-footer {
    justify-content: flex-end;
}

.calendar-footer button,
.passenger-footer button {
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.calendar-footer button:last-child,
.passenger-footer button {
    border-color: var(--ag-red);
    background: var(--ag-red);
    color: #fff;
}

.passenger-dropdown-flight {
    width: 230px;
    padding: 15px;
}

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(200, 16, 46, 0.14);
}

.passenger-row span {
    color: var(--ag-ink);
    font-size: 12px;
    font-weight: 650;
}

.passenger-row small {
    color: var(--ag-muted);
    font-size: 10px;
}

.counter-sm {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-sm button {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-weight: 850;
}

.passenger-footer {
    margin-top: 12px;
    padding-top: 10px;
    text-align: right;
}

.flight-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-flight-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 35px;
    border: 0;
    border-radius: 999px;
    background: var(--ag-red);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-flight-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(200, 16, 46, 0.24);
}

.btn-flight-submit:disabled {
    cursor: wait;
    opacity: 0.85;
}

/* ---------- Content sections ---------- */
.content-section,
.teams-section,
.players-section,
.rivalries-section,
.airlines-section,
.hotels-section,
.stadium-section,
.tips-section,
.faq-section {
    background: #fff;
}

.alt-section {
    background: var(--ag-soft);
}

.dark-section {
    background:
        linear-gradient(180deg, rgba(10, 23, 48, 0.98), rgba(143, 11, 32, 0.92)),
        var(--ag-navy);
    color: #fff;
}

.dark-section .eyebrow,
.dark-section .section-heading p,
.dark-section .content-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: start;
}

.content-copy {
    display: grid;
    gap: 1rem;
    text-align: center;
}

.content-section .container .pic img {
    border-radius: 40px;
}

.rich-grid,
.watch-grid,
.teams-grid,
.players-grid,
.rivalries-grid,
.boarding-grid,
.venue-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tips-grid {
    margin-bottom: 25px;
}

.rich-card,
.venue-card,
.tip-card {
    min-height: 190px;
    padding: 1.25rem;
    text-align: center;
    border-radius: 25px;
}

.rich-card h3,
.venue-card h3,
.tip-card h3 {
    margin: 0.45rem 0 0.65rem;
    font-size: 1.22rem;
    line-height: 1.15;
}

/* ---------- Medal table ---------- */
.medal-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    border: 1px solid var(--ag-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--ag-shadow);
}

.medal-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.medal-table th,
.medal-table td {
    padding: 1rem 1.15rem;
    text-align: left;
}

.medal-table thead {
    background: var(--ag-navy);
    color: #fff;
}

.medal-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.medal-table tbody tr {
    border-bottom: 1px solid var(--ag-line);
}

.medal-table tbody tr:last-child {
    border-bottom: none;
}

.medal-table tbody tr:nth-child(odd) {
    background: #fbf8f7;
}

.medal-table .rank {
    font-weight: 850;
    color: var(--ag-red);
}

.medal-table .country {
    font-weight: 750;
    color: var(--ag-ink);
}

.medal-table small {
    display: block;
    color: var(--ag-muted);
    font-weight: 400;
}

/* ---------- Schedule (stage/match cards) ---------- */
.ag-schedule {
    display: grid;
    gap: 1rem;
    margin-top: 2.2rem;
}

.ag-stage {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.ag-stage-header {
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, var(--ag-navy), var(--ag-red-dark));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-stage-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.ag-stage-header p {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.ag-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease;
}

.ag-match:last-child {
    border-bottom: none;
}

.ag-match:hover {
    background: rgba(255, 255, 255, 0.05);
}

.match-info strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 1rem;
}

.match-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}

.match-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 750;
    white-space: nowrap;
}

.badge-marquee {
    background: linear-gradient(135deg, #ff6b35, #ff9f1c);
    color: #fff;
}

.badge-ceremony {
    background: linear-gradient(135deg, var(--ag-gold), #c99a2e);
    color: #241a00;
}

.badge-medal {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
}

.badge-standard {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---------- Teams / players ---------- */
.team-card {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    text-align: left;
}

.team-card.featured {
    border: 2px solid var(--ag-gold);
    background: linear-gradient(135deg, #fffef6, #fff5d6);
}

.team-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--ag-gold);
    color: #241a00;
    font-size: 12px;
    font-weight: 750;
}

.team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.team-flag-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 2.4rem;
    line-height: 1;
}

.team-title h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--ag-ink);
}

.team-title small {
    color: var(--ag-muted);
    font-weight: 650;
}

.team-card p {
    margin: 0 0 1rem;
    color: var(--ag-muted);
    line-height: 1.65;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.team-stats span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--ag-soft);
    color: var(--ag-red);
    font-size: 0.78rem;
    font-weight: 750;
}

.players-heading {
    margin-bottom: 0.6rem;
    color: var(--ag-navy);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.player-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player-tags span {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #eef2fb;
    color: var(--ag-navy);
    font-size: 12.5px;
    font-weight: 650;
}

/* ---------- Rivalries ---------- */
.rivalry-card {
    padding: 1.4rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--ag-soft);
    color: var(--ag-red);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.rivalry-scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: var(--ag-soft);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ag-ink);
}

.rivalry-scoreboard span {
    color: var(--ag-red);
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
}

/* ---------- Airlines ---------- */
.boarding-card {
    overflow: hidden;
    padding: 0;
}

.boarding-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-radius: 25px 25px 0 0;
    background: linear-gradient(135deg, var(--ag-navy), var(--ag-red-dark));
    color: #fff;
}

.airline-brand h3 {
    margin: 0;
    font-size: 1.1rem;
}

.airline-brand small {
    display: block;
    margin-top: 0.2rem;
    opacity: 0.85;
}

.rating {
    font-size: 1rem;
    color: var(--ag-gold);
}

.route {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px dashed var(--ag-line);
    font-size: 1.02rem;
    font-weight: 750;
    color: var(--ag-ink);
}

.route span {
    color: var(--ag-red);
}

.boarding-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 1.25rem;
}

.boarding-features div {
    padding: 0.55rem;
    border-radius: 10px;
    background: var(--ag-soft);
    color: var(--ag-ink);
    font-size: 0.85rem;
    font-weight: 650;
    text-align: center;
}

.bestfor {
    padding: 1.25rem;
    border-top: 1px solid var(--ag-line);
}

.bestfor strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ag-red);
}

.bestfor p {
    margin: 0;
    color: var(--ag-muted);
    line-height: 1.6;
}

/* ---------- Clouds ---------- */
.link-cloud,
.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2rem;
}

.link-cloud a,
.link-cloud span,
.keyword-cloud span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--ag-line);
    border-radius: 999px;
    background: #fbf8f7;
    color: var(--ag-navy);
    font-weight: 700;
    font-size: 0.85rem;
}

.link-cloud a {
    color: var(--ag-red);
}

.link-cloud a:hover {
    background: var(--ag-soft);
}

/* ---------- FAQ ---------- */
.faq-section {
    background: #f6efec;
}

.faq-list {
    margin: 2.2rem auto 0;
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    padding: 0 1.2rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
}

.faq-question {
    position: relative;
    width: 100%;
    padding: 1.1rem 2.2rem 1.1rem 0;
    border: 0;
    background: transparent;
    color: var(--ag-ink);
    text-align: left;
    font-size: 1rem;
    font-weight: 850;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    color: var(--ag-red);
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after {
    content: "-";
}

.faq-answer {
    padding: 0 0 1.1rem;
}

.faq-answer p {
    margin: 0;
    color: var(--ag-muted);
    line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.cta-section {
    background: #fff;
}

.final-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 35px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(232, 185, 76, 0.14)),
        #fff;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-section {
        height: auto;
        min-height: 100svh;
    }

    .hero-content,
    .split-layout,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        justify-items: center;
        min-height: 100svh;
        height: auto;
        padding-top: 7.5rem;
        overflow: visible;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        justify-self: center;
        max-width: 720px;
        margin-top: 0;
    }

    .hero-right {
        align-self: center;
        text-align: center;
    }

    .hero-copy {
        max-width: 34ch;
        margin-inline: auto;
    }

    .hero-center {
        height: auto;
        gap: 9rem;
        padding: 1rem 0;
    }

    .hero-logo-meta {
        display: none !important;
    }

    .google-rating {
        position: static;
        margin-top: 1rem;
    }

    .hero-mobile-trust-badge {
        position: absolute;
        left: clamp(0.75rem, 2vw, 1.35rem);
        bottom: clamp(0.75rem, 2vw, 1.1rem);
        z-index: 2;
        display: grid;
        gap: 0.18rem;
        width: min(10rem, calc(100% - 1.5rem));
        padding: 0.5rem 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 8px;
        background: rgba(8, 15, 33, 0.45);
        color: #fff;
        font-size: 10px;
        font-weight: 750;
        line-height: 1.2;
        text-align: left;
        backdrop-filter: blur(10px);
    }

    .rich-grid,
    .watch-grid,
    .teams-grid,
    .players-grid,
    .rivalries-grid,
    .boarding-grid,
    .venue-grid,
    .tips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {

    .flight-row-3col,
    .flight-row-4col,
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .flight-row-3col .date-group:last-child {
        grid-column: span 2;
    }

    .ag-match {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-box {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--max-width));
    }

    section:not(.hero-section) {
        padding: 4.25rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        align-items: center;
        gap: 0.9rem;
        min-height: 100svh;
        height: 100svh;
        padding-top: 6rem;
        padding-bottom: 1.35rem;
    }

    .hero-left {
        justify-self: center;
        width: min(100%, 23rem);
        max-width: 100%;
        margin: 50px 0 0;
        text-align: center;
    }

    .hero-right {
        display: none;
    }

    .hero-kicker {
        margin-bottom: 0.5rem;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }

    .hero-side h1,
    .hero-side h2 {
        font-size: clamp(1.82rem, 7vw, 2.35rem);
        line-height: 1;
    }

    .hero-copy {
        max-width: none;
        margin-top: 0.55rem;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .hero-center {
        width: 100%;
        gap: 1.5rem;
        min-height: 0;
        height: auto;
        margin-top: 0.5rem;
        padding: 0;
    }

    .hero-logo {
        font-size: 1.55rem;
        letter-spacing: 0.16em;
    }

    .hero-button {
        width: min(100%, 14rem);
        min-height: 48px;
    }

    .google-rating {
        display: none;
    }

    .rich-grid,
    .watch-grid,
    .teams-grid,
    .players-grid,
    .rivalries-grid,
    .boarding-grid,
    .venue-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .flight-card-compact {
        padding: 18px;
    }

    .flight-row-2col,
    .flight-row-3col,
    .flight-row-4col,
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .flight-row-3col .date-group:last-child {
        grid-column: auto;
    }

    .toggle-label {
        padding: 6px 18px;
        font-size: 12px;
    }

    .calendar-popup,
    .passenger-dropdown-flight {
        width: 100%;
    }

    .final-box,
    .overview-lead {
        padding: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-section::after,
    .hero-left,
    .hero-right,
    .hero-center,
    .google-rating,
    .reveal-up {
        transform: none !important;
        transition: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}