/* SuperWolf — Marketing v2
   New components for the multi-game refresh: reworked hero, games hub grid,
   comparison table, tournament teaser, and per-game detail chrome.
   Lives in its own file (not site.css) because CloudFront caches /css/* and
   ignores ?v= query strings — a new filename is how a CSS change ships. */

/* ── Reworked hero ────────────────────────────────────────── */

.hero-v2 {
    background: linear-gradient(135deg, var(--sw-teal-light) 0%, #ffffff 55%, #f0f7f4 100%);
    position: relative;
    overflow: hidden;
}

.hero-v2::before {
    content: "";
    position: absolute;
    top: -45%;
    right: -15%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 212, 212, 0.32) 0%, transparent 70%);
    pointer-events: none;
}

/* Large, subtle brand logo bleeding off the right margin (echoes the old hero). */
.hero-v2-logo {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    height: 92%;
    max-height: 520px;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-v2-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--sw-green);
    margin-bottom: 0.75rem;
}

.hero-v2-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--sw-dark);
    font-size: 3.4rem;
}

.hero-v2-title .accent { color: var(--sw-green); }

.hero-v2-sub {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #5a6c7d;
    margin-top: 1.25rem;
    max-width: 34rem;
}

.hero-v2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* ── Roster strip (games at a glance) ─────────────────────── */

.roster-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    align-items: center;
    margin-top: 2rem;
}

.roster-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sw-dark);
    text-decoration: none;
    transition: all 0.15s;
}

.roster-chip:hover {
    border-color: var(--sw-teal);
    color: var(--sw-dark);
    transform: translateY(-1px);
}

.roster-chip .count {
    font-weight: 800;
    color: var(--sw-green);
    font-size: 0.78rem;
}

/* ── Screenshot placeholder (until real shots land) ───────── */

.shot-slot {
    border: 2px dashed rgba(26, 46, 53, 0.18);
    border-radius: 22px;
    background:
        repeating-linear-gradient(45deg, rgba(176, 212, 212, 0.10) 0 12px, transparent 12px 24px),
        var(--sw-teal-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c8a8a;
    padding: 1.5rem;
    aspect-ratio: 9 / 16;
    width: 240px;
    max-width: 100%;
    margin: 0 auto;
}

.shot-slot i { font-size: 1.75rem; opacity: 0.6; }
.shot-slot .shot-label { font-weight: 700; font-size: 0.85rem; margin-top: 0.5rem; }
.shot-slot .shot-hint { font-size: 0.72rem; opacity: 0.8; margin-top: 0.15rem; }

.shot-slot-wide { aspect-ratio: 16 / 9; width: 100%; }

/* ── Games hub grid ───────────────────────────────────────── */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.game-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--tile-accent, var(--sw-teal));
    border-radius: 14px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    height: 100%;
}

.game-tile:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.game-tile-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.game-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    background: var(--tile-accent, var(--sw-teal));
    flex-shrink: 0;
}

.game-tile-name { font-weight: 800; color: var(--sw-dark); font-size: 1.05rem; line-height: 1.1; }
.game-tile-tagline { font-size: 0.78rem; color: #8a98a5; font-weight: 600; }
.game-tile-blurb { color: #5a6c7d; font-size: 0.9rem; line-height: 1.55; margin: 0.25rem 0 0.9rem; }

.game-tile-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.players-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--sw-teal-light);
    color: var(--sw-dark);
    border-radius: 7px;
    padding: 0.25rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.game-tile-go { color: var(--sw-green); font-weight: 700; font-size: 0.85rem; }

.cat-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

/* ── Comparison table ─────────────────────────────────────── */

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.compare-table th {
    background: var(--sw-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.7rem 1rem;
    text-align: left;
}

.compare-table td {
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    font-size: 0.9rem;
}

.compare-table tr:first-child td { border-top: none; }
.compare-table .count-cell { font-weight: 800; color: var(--sw-green); white-space: nowrap; }
.compare-table a { color: var(--sw-dark); font-weight: 600; text-decoration: none; }
.compare-table a:hover { color: var(--sw-green); text-decoration: underline; }

/* ── Tournaments teaser ───────────────────────────────────── */

.tourney-teaser {
    background: var(--sw-dark);
    border-radius: 18px;
    color: #fff;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.tourney-teaser h3 { font-weight: 800; color: #fff; }
.tourney-teaser p { color: rgba(255, 255, 255, 0.62); }

.tourney-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.tourney-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Per-game detail chrome ───────────────────────────────── */

.game-hero {
    border-radius: 18px;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--game-accent, var(--sw-teal)) 0%, var(--sw-dark) 130%);
    color: #fff;
}

.game-hero .eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.78rem; opacity: 0.85; }
.game-hero h1 { font-weight: 800; letter-spacing: -0.02em; margin: 0.4rem 0; }
.game-hero .tagline { font-size: 1.25rem; font-weight: 600; opacity: 0.95; }

.game-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 1rem;
}

.worked-example {
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-left: 4px solid var(--sw-green);
    background: var(--sw-green-light);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
}

.worked-example .we-label {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
    font-size: 0.72rem;
    color: var(--sw-green);
}

.worked-example .we-title { font-weight: 700; color: var(--sw-dark); margin-top: 0.2rem; }
.worked-example p { color: #3f5247; margin: 0.5rem 0 0; line-height: 1.65; }

.rules-block h3 { font-weight: 800; color: var(--sw-dark); margin-bottom: 0.5rem; }
.rules-block p { color: #5a6c7d; line-height: 1.7; }
.rules-block ul { color: #5a6c7d; line-height: 1.7; padding-left: 1.1rem; margin-bottom: 0; }
.rules-block li { margin-bottom: 0.4rem; }
.rules-block strong { color: var(--sw-dark); }
.rules-block table { margin-top: 0.5rem; max-width: 22rem; }
.rules-block table td:last-child { font-weight: 700; color: var(--sw-dark); white-space: nowrap; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 860px) {
    .hero-v2-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-v2-title { font-size: 2.5rem; }
    .hero-v2-sub { margin-left: auto; margin-right: auto; }
    .hero-v2-cta, .roster-strip { justify-content: center; }
    .hero-v2-logo { max-height: 300px; opacity: 0.05; right: -30px; }
    .game-hero { padding: 1.75rem; }
}

/* ── iOS-info-view style rule cards (opt-in via GameSection.Icon) ─────────── */
.rule-card {
    background: #fff;
    border: 1px solid rgba(26, 46, 53, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 8px 26px rgba(26, 46, 53, 0.07);
}
.rule-card .rc-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.65rem; }
.rule-card .rc-icon {
    width: 2.35rem; height: 2.35rem; border-radius: 10px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: var(--game-accent, var(--sw-green)); color: #fff; font-size: 1.15rem;
}
.rule-card .rc-head h3 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--sw-dark); }
.rule-card p, .rule-card ul { color: #44555f; line-height: 1.65; }
.rule-card p:last-child, .rule-card ul:last-child { margin-bottom: 0; }
.rule-card ul li { margin-bottom: 0.35rem; }

/* Wide screenshot mounted on the game's digicamo (GameShot.CamoPanel) */
.camo-panel {
    border-radius: 20px;
    padding: 1.9rem;
    box-shadow: 0 16px 48px rgba(26, 46, 53, 0.22);
}
.camo-panel img {
    width: 100%;
    display: block;
    /* the LA image carries its own rounded-corner alpha; drop-shadow hugs it */
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

/* ── Game detail flow: reading column, feature rows, camo finale band ─────── */
.content-col { max-width: 46rem; }

.feature-row .feature-phones { gap: 1.75rem; }
.feature-row .phone-mockup { width: 250px; }

/* Wide finale (Live Activity / result card) mounted inside the game's camo */
.camo-band {
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 16px 48px rgba(26, 46, 53, 0.22);
    color: #fff;
}
.camo-band .band-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}
.camo-band h3 { color: #fff; font-weight: 800; margin: 0.35rem 0 0.85rem; }
.camo-band .band-body { color: rgba(255, 255, 255, 0.92); line-height: 1.65; max-width: 46rem; }
.camo-band .band-body strong, .camo-band .band-body b { color: #fff; }
.camo-band .band-body ul {
    list-style: none;
    padding: 0;
    margin: 0.9rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.25rem;
    max-width: none;
}
.camo-band .band-body ul li {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
}
.camo-band > img {
    width: 100%;
    display: block;
    margin-top: 1.6rem;
    border-radius: 12px;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

@media (max-width: 991.98px) {
    .feature-row .feature-phones { margin-top: 0.25rem; }
}
@media (max-width: 767.98px) {
    .camo-band { padding: 1.4rem; border-radius: 18px; }
    .camo-band .band-body ul { grid-template-columns: 1fr; }
    .feature-row .phone-mockup { width: 220px; }
}
