/*
 * Public experience content
 *
 * This file is scoped to the home hero, the refreshed experience sections and
 * How We Play. The established venue, blog and app pages keep their layout.
 */

/* --- Shared type and accessibility --- */
.experience-section-header h2,
.experience-onpitch-copy h2,
.experience-app-copy h2,
.experience-narrow h2,
.first-game-copy h2,
.cta-banner h2 {
    text-wrap: balance;
}

.experience-section-header .label,
.experience-onpitch-copy .label,
.experience-app-copy .label,
.experience-pricing .label,
.first-game-copy .label,
.page-header-kicker {
    color: var(--red);
    font-family: 'League Spartan', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* The shared reveal classes used by the legacy script must not hide useful
 * experience content when JavaScript is unavailable. */
.experience-onpitch .reveal,
.experience-onpitch .reveal-left,
.experience-onpitch .reveal-right,
.experience-onpitch .reveal-scale,
.experience-how .reveal,
.experience-how .reveal-left,
.experience-how .reveal-right,
.experience-how .reveal-scale,
.experience-first-game .reveal,
.experience-first-game .reveal-left,
.experience-first-game .reveal-right,
.experience-first-game .reveal-scale,
.experience-app .reveal,
.experience-app .reveal-left,
.experience-app .reveal-right,
.experience-app .reveal-scale,
.experience-pricing .reveal,
.experience-pricing .reveal-left,
.experience-pricing .reveal-right,
.experience-pricing .reveal-scale,
.experience-steps .reveal,
.experience-steps .reveal-left,
.experience-steps .reveal-right,
.experience-steps .reveal-scale,
.faq-list .reveal,
.faq-list .reveal-left,
.faq-list .reveal-right,
.faq-list .reveal-scale,
.gallery-grid .reveal,
.gallery-grid .reveal-left,
.gallery-grid .reveal-right,
.gallery-grid .reveal-scale,
.testimonial-grid .reveal,
.testimonial-grid .reveal-left,
.testimonial-grid .reveal-right,
.testimonial-grid .reveal-scale,
.media-section .reveal,
.media-section .reveal-left,
.media-section .reveal-right,
.media-section .reveal-scale,
.podcast-section .reveal,
.podcast-section .reveal-left,
.podcast-section .reveal-right,
.podcast-section .reveal-scale,
.stats-section .reveal,
.stats-section .reveal-left,
.stats-section .reveal-right,
.stats-section .reveal-scale {
    opacity: 1;
    transform: none;
}

/* --- Home hero --- */
.hero[data-aaf-hero] {
    min-height: clamp(620px, 78vh, 760px);
    padding-right: clamp(20px, 4vw, 48px);
    padding-left: clamp(20px, 4vw, 48px);
    background-position: center center;
}

.hero[data-aaf-hero]::before {
    background:
        linear-gradient(90deg, rgba(7, 9, 12, 0.88) 0%, rgba(7, 9, 12, 0.67) 44%, rgba(7, 9, 12, 0.24) 100%),
        linear-gradient(180deg, rgba(7, 9, 12, 0.3) 0%, rgba(7, 9, 12, 0.12) 52%, rgba(7, 9, 12, 0.52) 100%);
}

.hero[data-aaf-hero] .container {
    width: 100%;
    max-width: var(--max-width);
    margin-right: auto;
    margin-left: auto;
    padding-top: clamp(92px, 12vh, 128px);
    padding-right: 0;
    padding-bottom: clamp(40px, 6vh, 64px);
    padding-left: 0;
}

.hero-headline-slot {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 960px;
    min-height: clamp(7.75rem, 10vw, 9.75rem);
    margin-bottom: clamp(14px, 2vw, 24px);
}

.hero[data-aaf-hero] h1 {
    display: block;
    width: 100%;
    max-width: 920px;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: clamp(2.75rem, 5.25vw, 4.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-transform: none;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
    text-wrap: balance;
}

.hero[data-aaf-hero] .hero-tagline {
    max-width: 620px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    font-weight: 600;
    letter-spacing: 0.6px;
}

.hero[data-aaf-hero] .hero-description {
    max-width: 700px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    line-height: 1.55;
}

.hero[data-aaf-hero] .hero-location {
    max-width: 720px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(0.96rem, 1.35vw, 1.04rem);
    font-weight: 600;
    line-height: 1.5;
}

.hero[data-aaf-hero] .hero-buttons {
    justify-content: flex-start;
    gap: 12px;
}

.hero[data-aaf-hero] .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 184px;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.2;
    text-transform: none;
}

.hero[data-aaf-hero] .hero-buttons .btn-primary {
    background: var(--red);
    box-shadow: 0 10px 28px rgba(221, 28, 75, 0.28);
}

.hero[data-aaf-hero] .hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(10, 12, 16, 0.12);
    color: #fff;
}

.hero[data-aaf-hero] .hero-buttons .btn-outline:hover {
    background: #fff;
    color: var(--red);
}

.hero[data-aaf-hero] a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* --- On-pitch feature --- */
.experience-onpitch {
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: clamp(56px, 7vw, 88px);
    overflow-x: clip;
}

.experience-onpitch-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: clamp(40px, 7vw, 88px);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.experience-onpitch-copy {
    min-width: 0;
    max-width: 640px;
}

.experience-onpitch .experience-section-header {
    max-width: 640px;
    margin: 0 0 22px;
    text-align: left;
}

.experience-onpitch .experience-section-header p {
    max-width: 600px;
    margin-right: 0;
    margin-left: 0;
}

.experience-onpitch-support {
    max-width: 600px;
    color: var(--text-light);
    line-height: 1.65;
}

.experience-onpitch-secondary-label {
    margin-top: 26px;
    margin-bottom: 7px !important;
}

.experience-onpitch-subheading {
    margin-bottom: 8px;
    font-size: 1.34rem;
    line-height: 1.15;
}

.experience-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 24px;
}

.experience-facts > div {
    min-width: 0;
    padding-top: 12px;
    border-top: 2px solid var(--red);
}

.experience-facts strong,
.experience-facts span {
    display: block;
}

.experience-facts strong {
    color: var(--dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.02rem;
    line-height: 1.25;
}

.experience-facts span {
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.45;
}

.experience-onpitch-image {
    max-width: 470px;
    margin: 0 0 0 auto;
}

.experience-onpitch-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.experience-onpitch-image figcaption {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.45;
}

.experience-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: var(--max-width);
    margin: clamp(48px, 6vw, 72px) auto 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--outline-light);
}

.experience-point {
    display: flex;
    gap: 15px;
    min-width: 0;
    padding: 24px 24px 4px;
    border-right: 1px solid var(--outline-light);
}

.experience-point:first-child {
    padding-left: 0;
}

.experience-point:last-child {
    padding-right: 0;
    border-right: 0;
}

.experience-point-number,
.experience-step-number {
    flex: 0 0 auto;
    color: var(--red);
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.experience-point-number {
    font-size: 0.82rem;
}

.experience-point h3 {
    margin-bottom: 7px;
    font-size: 1.18rem;
}

.experience-point p,
.experience-step p {
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.62;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 600;
}

.text-link:hover {
    color: var(--red-dark);
}

/* --- Practical steps --- */
.experience-how {
    background: var(--bg);
    overflow-x: clip;
}

.experience-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.experience-step {
    display: flex;
    gap: 15px;
    min-width: 0;
    padding: 23px 8px 8px;
    border-top: 2px solid var(--red);
}

.experience-step-number {
    font-size: 1.18rem;
    line-height: 1.2;
}

.experience-step h3 {
    margin-bottom: 7px;
    font-size: 1.2rem;
}

/* --- First game panel --- */
#your-first-game {
    scroll-margin-top: 96px;
}

.experience-first-game {
    background: var(--bg-page);
    overflow-x: clip;
}

.first-game-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 54px);
    overflow: hidden;
    border-radius: 22px;
    background: var(--dark);
    color: #fff;
}

.first-game-copy {
    max-width: 440px;
}

.first-game-copy .label {
    color: #ff9ab1;
}

.first-game-copy h2 {
    margin-bottom: 15px;
    color: #fff;
}

.first-game-copy p {
    color: rgba(255, 255, 255, 0.84);
}

.first-game-copy .text-link {
    margin-top: 16px;
    color: #ffb1c3;
}

.first-game-copy .text-link:hover {
    color: #fff;
}

.first-game-note {
    margin-top: 20px;
    padding-left: 14px;
    border-left: 2px solid var(--red);
    font-size: 0.9rem;
    line-height: 1.6;
}

.first-game-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.first-game-list li {
    display: grid;
    gap: 4px;
    padding-left: 17px;
    border-left: 2px solid rgba(221, 28, 75, 0.78);
}

.first-game-list strong {
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
}

.first-game-list span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.5;
}

.experience-first-game--compact {
    padding-top: 56px;
    padding-bottom: 56px;
}

.experience-first-game--compact .first-game-panel {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* --- App benefits --- */
.experience-app {
    overflow-x: clip;
}

.experience-app-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 88px);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.experience-app-image {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-app-image img {
    height: auto;
    max-width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.experience-app-image--app img {
    width: auto;
    max-height: 540px;
    object-fit: contain;
}

.experience-app-image--spond img {
    width: 100%;
    aspect-ratio: 16 / 17;
    object-fit: cover;
}

.experience-app-copy {
    max-width: 620px;
}

.experience-app-copy > p:not(.label) {
    max-width: 600px;
}

.experience-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.experience-benefits li {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding-top: 11px;
    border-top: 2px solid var(--red);
}

.experience-benefits strong {
    color: var(--dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
}

.experience-benefits span {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.45;
}

.experience-subheading {
    margin: 23px 0 7px;
    font-size: 1.06rem;
}

/* --- How We Play opening and pricing --- */
.experience-page-header {
    padding: clamp(34px, 5vw, 52px) 24px clamp(30px, 4vw, 42px);
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    text-align: left;
}

.experience-page-header .container {
    max-width: 860px;
    margin: 0 auto;
}

.experience-page-header .page-header-kicker {
    color: rgba(255, 255, 255, 0.76);
}

.experience-page-header h1 {
    max-width: 760px;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(2.45rem, 5.5vw, 4rem);
    line-height: 1;
    text-align: left;
    text-transform: none;
}

.experience-page-header .page-header-strapline {
    max-width: 720px;
    margin-bottom: 6px;
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    font-weight: 600;
    line-height: 1.25;
}

.experience-page-header .page-header-lede {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.58;
}

.experience-page-header .experience-intro-note {
    margin-top: 14px;
    color: #fff !important;
    font-size: 0.94rem;
}

.experience-page-header .experience-intro-note strong {
    color: #fff;
}

.experience-pricing {
    background: var(--bg);
    overflow-x: clip;
}

.experience-narrow {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.experience-narrow p:not(.label) {
    color: var(--text-light);
}

.experience-pricing h2 {
    margin-bottom: 10px;
}

/* --- Footer outcome CTA --- */
.cta-banner {
    padding: clamp(44px, 6vw, 60px) 24px;
    overflow: hidden;
}

.cta-banner-inner {
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner-kicker {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-family: 'League Spartan', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-banner h2 {
    margin-bottom: 10px;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
}

.cta-banner p:not(.cta-banner-kicker) {
    max-width: 560px;
    margin-bottom: 20px;
}

.cta-banner .btn-white {
    min-width: 184px;
    min-height: 50px;
    padding: 12px 22px;
    text-transform: none;
}

.cta-banner a:focus-visible,
.first-game-panel a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.footer-links a {
    overflow-wrap: anywhere;
}

/* --- Responsive experience layout --- */
@media (max-width: 921px) {
    .hero[data-aaf-hero] .container {
        max-width: none;
    }

    .hero[data-aaf-hero] h1 {
        font-size: clamp(2.6rem, 6vw, 3.8rem);
    }

    .experience-onpitch-feature,
    .experience-app-grid,
    .first-game-panel {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .experience-onpitch-copy,
    .experience-app-copy,
    .first-game-copy {
        max-width: none;
    }

    .experience-onpitch-image {
        width: min(100%, 460px);
        margin-right: auto;
        margin-left: auto;
    }

    .experience-points,
    .experience-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .experience-point,
    .experience-step {
        padding-right: 0;
        padding-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--outline-light);
    }

    .experience-point:last-child,
    .experience-step:last-child {
        border-bottom: 0;
    }

    .first-game-panel {
        padding: 40px;
    }
}

@media (max-width: 544px) {
    .hero[data-aaf-hero] {
        min-height: 620px;
    }

    .hero[data-aaf-hero] .container {
        padding-top: 88px;
        padding-bottom: 40px;
    }

    .hero-headline-slot {
        min-height: 12.25rem;
        margin-bottom: 17px;
    }

    .hero[data-aaf-hero] h1 {
        font-size: clamp(2.125rem, 9.2vw, 2.4rem);
        line-height: 1.08;
        letter-spacing: -0.015em;
    }

    .hero[data-aaf-hero] .hero-description {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero[data-aaf-hero] .hero-location {
        font-size: 0.96rem;
        line-height: 1.48;
    }

    .hero[data-aaf-hero] .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 320px);
    }

    .hero[data-aaf-hero] .hero-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .experience-onpitch {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .experience-facts,
    .experience-benefits {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .experience-facts > div,
    .experience-benefits li {
        padding-top: 10px;
    }

    .experience-onpitch-image img {
        border-radius: 18px;
    }

    .first-game-panel {
        gap: 28px;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .experience-first-game--compact {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .experience-first-game--compact .first-game-panel {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .experience-page-header {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .experience-page-header h1 {
        font-size: 2.5rem;
    }

    .cta-banner {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .cta-banner .btn-white {
        width: 100%;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero[data-aaf-hero] {
        animation: none;
    }

    .hero[data-aaf-hero] .hero-tagline,
    .hero[data-aaf-hero] h1,
    .hero[data-aaf-hero] .hero-description,
    .hero[data-aaf-hero] .hero-location,
    .hero[data-aaf-hero] .hero-buttons,
    .experience-page-header h1 {
        opacity: 1;
        animation: none;
    }

    .hero[data-aaf-hero] .btn,
    .text-link,
    .cta-banner .btn,
    .footer-links a {
        transition: none;
    }
}
