/* ===========================
   POOLS PAGE
   =========================== */

/* Shared eyebrow + section title patterns */
.pools-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--fs-eyebrow);
    font-weight: 900;
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--bma-yellow);
    line-height: var(--lh-cozy);
    margin-bottom: var(--space-4);
}

.pools-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.pools-section-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 950;
    line-height: var(--lh-snug);
    letter-spacing: var(--tracking-tightest);
    text-transform: uppercase;
    color: var(--bma-white);
    margin: 0 0 var(--space-4);
    text-wrap: balance;
}

.pools-section-title-xl {
    font-size: var(--fs-h1);
}

.pools-section-heading {
    max-width: 780px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pools-section-heading p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.7;
}

.pools-section-heading-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.58fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
}

.pools-section-heading-split > p {
    margin: 0;
}

.pools-section-heading-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pools-section-heading-centered .pools-eyebrow {
    justify-content: center;
}

@media (max-width: 1080px) {
    .pools-section-heading-split {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pools-section-heading-split > p {
        max-width: 680px;
    }
}

.accent-yellow {
    color: var(--bma-yellow);
}

/* ============================================
   1. HERO
   ============================================ */
.pools-hero {
    position: relative;
    overflow: hidden;
    margin-top: -120px;
    padding: clamp(7rem, 12vw, 10rem) 0 clamp(3.5rem, 7vw, 6rem);
    background: #0d0d0d;
    isolation: isolate;
}

.pools-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.76) 54%, rgba(47, 121, 77, 0.46) 100%),
        url('../images/How-To-Play-Hero-Optimized.png') center / cover no-repeat;
}

.pools-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 25%, rgba(0, 230, 118, 0.12), transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(255, 215, 0, 0.13), transparent 28%);
}

.pools-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1080px) {
    .pools-hero-grid {
        grid-template-columns: 1fr;
    }
}

.pools-hero-copy {
    max-width: 760px;
}

.pools-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--bma-yellow);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pools-hero-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.pools-hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: 950;
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tightest);
    text-transform: uppercase;
    color: var(--bma-white);
    margin: 0 0 var(--space-5);
    text-wrap: balance;
}

.pools-hero-subline {
    font-size: var(--fs-body-lg);
    color: rgba(255, 255, 255, 0.78);
    line-height: var(--lh-loose);
    margin: 0 0 2rem;
    max-width: 670px;
}

.pools-hero-ctas {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pools-hero-ctas .hero-pill {
    flex: 0 0 auto;
}

.pools-hero-ctas .hero-pill-btn {
    min-height: 48px;
}

@media (max-width: 900px) {
    .pools-hero-ctas {
        justify-content: flex-start;
    }
}

/* Hero phones — graphic stub area */
.pools-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
    padding: clamp(1rem, 2vw, 2rem);
}

.pools-phones {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 560px;
}

.pools-phone {
    position: absolute;
    width: 240px;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 8px solid #0a0a0a;
    border-radius: 36px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.7),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pools-phone-back {
    top: 0;
    right: 5%;
    transform: rotate(6deg);
    z-index: 1;
}

.pools-phone-front {
    bottom: 0;
    left: 5%;
    transform: rotate(-6deg);
    z-index: 2;
}

.pools-phone-solo {
    position: relative;
    width: 280px;
    margin: 0 auto;
    transform: none;
}

.pools-phone-stub {
    position: absolute;
    inset: 12px;
    border-radius: 26px;
    background:
        repeating-linear-gradient(135deg, rgba(0, 230, 118, 0.06) 0 12px, rgba(255, 215, 0, 0.04) 12px 24px),
        linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
}

.pools-phone-screen-img {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 26px;
    object-fit: cover;
    object-position: top center;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

@media (max-width: 820px) {
    .pools-hero {
        padding-top: calc(var(--hero-marquee-height) + 7rem) !important;
        padding-bottom: 3rem !important;
    }

    /* Token --fs-display already scales correctly down to xs viewports;
       no per-breakpoint font-size override needed here. */

    .pools-hero-subline {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .pools-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .pools-hero-ctas .hero-pill,
    .pools-hero-ctas .hero-pill-btn {
        width: 100%;
    }

    .pools-hero-visual {
        min-height: 460px;
    }
    .pools-phones {
        max-width: 420px;
        height: 460px;
    }
    .pools-phone {
        width: 200px;
    }
}

@media (max-width: 640px) {
    .pools-hero {
        padding-top: calc(var(--hero-marquee-height) + 6.5rem) !important;
        padding-bottom: 2.75rem !important;
    }

    .pools-hero-subline {
        font-size: 0.98rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .pools-hero {
        padding-top: calc(var(--hero-marquee-height) + 6.25rem) !important;
    }

    .pools-hero-visual {
        min-height: 370px;
        padding: 0.75rem;
    }

    .pools-phones {
        max-width: 330px;
        height: 370px;
    }

    .pools-phone {
        width: 158px;
        border-width: 6px;
        border-radius: 28px;
    }

    .pools-phone-stub {
        inset: 9px;
        border-radius: 20px;
        font-size: 0.72rem;
    }
}

/* ============================================
   2. HOW IT WORKS
   ============================================ */
.pools-how {
    background:
        linear-gradient(180deg, #101010 0%, #0d0d0d 100%);
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.pools-how .pools-eyebrow {
    margin-bottom: 1rem;
}

.pools-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 800px) {
    .pools-how-grid {
        grid-template-columns: 1fr;
    }
}

.pools-step {
    text-align: left;
}

.pools-how-grid > .pools-step {
    padding: clamp(1.1rem, 2vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.pools-step-num {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 950;
    line-height: 0.82;
    color: var(--bma-green-bright);
    margin-bottom: 0.9rem;
    display: inline-block;
}

.pools-step h3,
.pools-step h4 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 950;
    text-transform: uppercase;
    color: var(--bma-white);
    margin: 0 0 0.65rem;
    line-height: 1.05;
}

.pools-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   2.5 SPORTS STRIP — compact lineup
   ============================================ */
.pools-sports {
    background:
        linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    text-align: left;
}

.pools-sports-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--bma-white);
    margin: 0;
}

/* Conveyor of large sport tiles — three staggered rows scrolling in
   alternating directions. JS clones each row's children so translateX(-50%)
   loops seamlessly. Breaks out of .container up to a 1600px cap so on
   ultra-wide displays the rows don't feel barren. */
.pools-sports-conveyor {
    width: min(100vw, 1600px);
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    /* Pull out of .container's left/right padding while still respecting
       the max-width cap above on wide displays. */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    /* Edge fade so cards ease in/out at the viewport boundaries. */
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.4) 32px,
        #000 96px,
        #000 calc(100% - 96px),
        rgba(0, 0, 0, 0.4) calc(100% - 32px),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.4) 32px,
        #000 96px,
        #000 calc(100% - 96px),
        rgba(0, 0, 0, 0.4) calc(100% - 32px),
        transparent 100%
    );
}

.pools-sports-row {
    overflow: hidden;
    width: 100%;
}

.pools-sports-track {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    width: max-content;
    padding: 0.5rem 0;
    will-change: transform;
}

/* Each row alternates direction + has a slightly different duration so
   the rows feel organic, not in sync. */
.pools-sports-row[data-sports-direction="rtl"] .pools-sports-track {
    animation: pools-sports-conveyor-rtl 60s linear infinite;
}
.pools-sports-row[data-sports-direction="ltr"] .pools-sports-track {
    animation: pools-sports-conveyor-ltr 75s linear infinite;
}
.pools-sports-row:nth-child(3) .pools-sports-track {
    animation-duration: 50s;
}

@keyframes pools-sports-conveyor-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes pools-sports-conveyor-ltr {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .pools-sports-track { animation: none; }
}

.pools-sport-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: clamp(140px, 16vw, 200px);
    height: clamp(120px, 14vw, 160px);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.92);
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.pools-sport-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    background:
        linear-gradient(180deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.04));
    transform: translateY(-2px);
}

.pools-sport-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
}

.pools-sport-card-icon .sport-chip__icon,
.pools-sport-card-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
}

.pools-sport-card-label {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .pools-sport-card {
        width: 120px;
        height: 110px;
    }
    .pools-sport-card-icon {
        width: 44px;
        height: 44px;
    }
    .pools-sport-card-label {
        font-size: 0.88rem;
    }
}

.pools-sports-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================
   3. GAME MODES SLIDER
   ============================================ */
.pools-modes {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: #0d0d0d;
}

.pools-modes .container {
    position: relative;
    z-index: 2;
}

.pools-modes .pools-section-title {
    margin-bottom: 0;
}

.pools-modes .home-modes {
    margin-bottom: 0;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.pools-modes .home-modes-tabs-scroll {
    margin: 0 0 1.5rem;
    padding: 0;
}

.pools-modes .home-modes-panel {
    border-radius: 0;
}

.pools-modes .home-modes-panel-copy h3 {
    font-weight: 950;
    letter-spacing: 0;
}

.pools-modes-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 calc(-1 * var(--container-pad, 1rem));
    padding: 0 clamp(1rem, 4vw, 2rem) 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 230, 118, 0.4) transparent;
    -webkit-overflow-scrolling: touch;
}

.pools-modes-scroll::-webkit-scrollbar {
    height: 6px;
}

.pools-modes-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 118, 0.4);
    border-radius: 3px;
}

.pools-modes-track {
    display: flex;
    gap: 1.25rem;
}

.pools-mode-card {
    flex: 0 0 auto;
    width: clamp(220px, 28vw, 280px);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pools-mode-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 230, 118, 0.3);
}

.pools-mode-poster {
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px),
        #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.pools-mode-stub-label {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
}

.pools-mode-meta {
    padding: 1rem 1.25rem 1.25rem;
}

.pools-mode-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.pools-mode-tag-free {
    background: rgba(0, 230, 118, 0.15);
    color: var(--bma-green-bright);
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.pools-mode-tag-bet-boss {
    background: rgba(255, 215, 0, 0.12);
    color: var(--bma-yellow);
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.pools-mode-meta h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bma-white);
    margin: 0 0 0.4rem;
}

.pools-mode-meta p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   4. BET BOSSES
   ============================================ */
.pools-bosses {
    background:
        linear-gradient(180deg, #101010 0%, #0d0d0d 100%);
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* Outer gray-box wrapper around both the bosses-grid and the merged
   pricing card, so the whole "Become a Bet Max Boss" block reads as one
   coherent unit. */
.pools-bosses-box {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.pools-bosses-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .pools-bosses-grid {
        grid-template-columns: 1fr;
    }
}

.pools-bosses-pricing {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pools-bosses-pricing .pools-section-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* Single-column tier card (Free Pool above, Bet Max Boss inside the box). */
.pools-tier-solo {
    max-width: 560px;
    margin: 0 auto;
}

/* Free Pool tier card embedded inside the How It Works section, sitting
   below the three numbered steps. The wrapper centers and breathes. */
.pools-how-tier {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    justify-content: center;
}

.pools-bosses-intro {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 620px;
}

.pools-bosses-subhead {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bma-green-bright);
    margin: 0 0 1.5rem;
}

.pools-step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pools-step-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pools-step-row .pools-step-num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 0;
}

.pools-step-row p {
    margin-top: 0.25rem;
}

.pools-bosses-cta {
    margin-top: 0.5rem;
}

.pools-bosses-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

@media (max-width: 900px) {
    .pools-bosses-visual {
        min-height: 380px;
    }
    .pools-phone-solo {
        width: 220px;
    }
}

/* ============================================
   5. FREE VS BET BOSS
   ============================================ */
.pools-pricing {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background:
        linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
}

.pools-pricing .container {
    position: relative;
    z-index: 2;
}

.pools-pricing .pools-eyebrow {
    display: inline-flex;
    justify-content: center;
}

.pools-pricing .pools-section-title {
    margin-bottom: 1rem;
}

.pools-pricing-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.6;
}

.pools-tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 760px) {
    .pools-tier-grid {
        grid-template-columns: 1fr;
    }
}

.pools-tier {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
}

.pools-tier-bet-boss {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.08);
}

.pools-tier-bet-boss::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, var(--bma-green-bright), var(--bma-yellow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pools-tier-emblem {
    position: absolute;
    top: -24px;
    right: clamp(1rem, 2vw, 1.5rem);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bma-yellow) 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35);
}

.pools-tier-emblem-icon {
    width: 30px;
    height: 30px;
    color: #000;
}

.pools-tier-emblem-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.pools-tier-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--bma-white);
    margin: 0 0 0.4rem;
}

.pools-tier-bet-boss .pools-tier-header h3 {
    background: linear-gradient(135deg, var(--bma-green-bright), var(--bma-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pools-tier-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
}

.pools-tier-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.pools-tier-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.pools-tier-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bma-green-bright);
}

.pools-tier-bet-boss .pools-tier-list li::before {
    background: var(--bma-yellow);
}

.pools-tier-list li strong {
    color: var(--bma-white);
    font-weight: 800;
}

.pools-tier-cta {
    margin-top: auto;
}

/* Low-key "Coming Soon" pill — replaces the upgrade CTA on the Bet Max
   Commish tier while the feature is being built. */
.pools-tier-coming-soon {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================
   6. FINAL CTA + FAQ
   ============================================ */
.pools-final {
    background: #141414;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.pools-final .pools-eyebrow {
    display: inline-flex;
    justify-content: center;
}

.pools-final-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--bma-white);
    margin: 0 0 1rem;
}

.pools-final-subline {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
}

.pools-final-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* FAQ */
.pools-faq {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.pools-faq-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--bma-white);
    text-align: center;
    margin: 0 0 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pools-faq-item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.pools-faq-item[open] {
    border-color: rgba(0, 230, 118, 0.3);
}

.pools-faq-item summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bma-white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.pools-faq-item summary::-webkit-details-marker {
    display: none;
}

.pools-faq-item summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pools-faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--bma-green-bright);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.pools-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.pools-faq-item p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pools-mode-card,
    .pools-faq-item summary::after {
        transition: none;
    }
}
