/* ============================================================
   VERSAO 06 · CAMPO DE GUERRA
   Fontes : Barlow Condensed (títulos) · Barlow (corpo)
   Cores  : #c00020 vermelho · #0a0a0a fundo · #fff texto
   Layout : diagonal cuts, números grandes, energia de arena
   ============================================================ */

:root {
    --bg:        #0a0a0a;
    --bg2:       #111111;
    --surface:   #161616;
    --surface2:  #202020;
    --text:      #ffffff;
    --muted:     #999999;
    --accent:    #c00020;
    --accent2:   #ff0030;
    --accent-glow: rgba(192,0,32,0.22);
    --gold:      #ffcc00;
    --silver:    #c8c8c8;
    --bronze:    #e08c45;
    --line:      rgba(255,255,255,0.07);
    --line-r:    rgba(192,0,32,0.2);
    --shadow:    0 20px 60px rgba(0,0,0,0.55);
    --container: min(1200px, calc(100% - 48px));
    --fd:        'Barlow Condensed', sans-serif;
    --fb:        'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--fb);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.container { width: var(--container); margin: 0 auto; }

/* ==== HEADER ==== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #000;
    border-bottom: 3px solid var(--accent);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 62px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 46px;
    filter: drop-shadow(0 0 10px rgba(192,0,32,0.4));
}

.brand-copy span {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 2px;
}

.brand-copy strong {
    display: block;
    font-family: var(--fd);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    color: var(--muted);
    font-family: var(--fd);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    padding: 8px 13px;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--accent2);
    border-bottom-color: var(--accent2);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 2px solid var(--accent);
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
}

/* ==== DOCK ==== */
.version-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    display: grid;
    gap: 4px;
    padding: 12px;
    width: min(210px, calc(100vw - 32px));
    background: #000;
    border: 1px solid var(--line-r);
    border-left: 3px solid var(--accent);
    box-shadow: 0 0 30px rgba(192,0,32,0.15);
}

.dock-label {
    font-size: 0.62rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2px;
}

.version-dock a {
    text-decoration: none;
    color: var(--muted);
    padding: 7px 10px;
    font-family: var(--fd);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: 0.2s;
}

.version-dock a:hover,
.version-dock a.is-current {
    background: var(--accent);
    color: #fff;
}

/* ==== HERO ==== */
.hero {
    position: relative;
    min-height: calc(100vh - 65px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    scroll-margin-top: 65px;
    overflow: hidden;
}

/* Diagonal cut divider */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 48%, rgba(192,0,32,0.12) 48%);
    pointer-events: none;
    z-index: 1;
}

.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 0;
    gap: 22px;
    z-index: 2;
}

.hero-number {
    font-family: var(--fd);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
}

.hero-left h1 {
    font-family: var(--fd);
    font-size: clamp(3.4rem, 5.5vw, 7.2rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text);
}

.hero-left h1 strong {
    color: var(--accent);
    display: block;
}

.hero-left p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 44ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-right {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 30%);
    z-index: 1;
    pointer-events: none;
}

.hero-tag {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 3;
    background: var(--accent);
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-tag span {
    font-family: var(--fd);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.7);
}

.hero-tag strong {
    font-family: var(--fd);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Big background number */
.hero-bg-num {
    position: absolute;
    bottom: -60px;
    left: -20px;
    font-family: var(--fd);
    font-size: 28vw;
    font-weight: 900;
    color: rgba(192,0,32,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

/* ==== BUTTONS ==== */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: var(--accent);
    color: #fff;
    font-family: var(--fd);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: background 0.2s, transform 0.15s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-red:hover {
    background: var(--accent2);
    border-color: var(--accent2);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 26px;
    background: transparent;
    color: var(--text);
    font-family: var(--fd);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s, color 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-ghost:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}

/* ==== STATS ==== */
.stats-band {
    background: var(--accent);
    padding: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 26px 28px;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat:last-child { border-right: none; }

.stat strong {
    font-family: var(--fd);
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat span {
    font-family: var(--fd);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.65);
}

/* ==== SECTION ==== */
.section {
    padding: 92px 0;
    scroll-margin-top: 65px;
}

.section-head {
    margin-bottom: 50px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.section-kicker {
    font-family: var(--fd);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.section-kicker::before {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background: var(--accent);
}

.section-head h2 {
    font-family: var(--fd);
    font-size: clamp(2.2rem, 3.4vw, 4.6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    max-width: 22ch;
}

.section-head p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 44ch;
}

/* ==== FORMATO ==== */
.format-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}

.format-card {
    background: var(--surface);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.format-card:hover { background: var(--surface2); }

.format-card::before {
    content: attr(data-n);
    position: absolute;
    top: -10px;
    right: 16px;
    font-family: var(--fd);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(192,0,32,0.08);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.03em;
    transition: color 0.25s;
}

.format-card:hover::before { color: rgba(192,0,32,0.15); }

.format-card h3 {
    font-family: var(--fd);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    line-height: 1;
}

.format-card p {
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==== ETAPAS ==== */
#etapas { background: var(--bg2); }

.stage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}

.stage-card {
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.stage-card:hover { background: var(--surface2); }

.stage-img {
    position: relative;
    overflow: hidden;
}

.stage-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: brightness(0.75) grayscale(15%);
    transition: filter 0.35s, transform 0.35s;
}

.stage-card:hover .stage-img img {
    filter: brightness(0.9) grayscale(0%);
    transform: scale(1.05);
}

.stage-num-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--fd);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #fff;
    background: var(--accent);
    padding: 4px 10px;
}

.stage-body {
    padding: 22px 22px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stage-city {
    font-family: var(--fd);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}

.stage-venue {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 6px;
}

.stage-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-grow: 1;
}

.stage-details li {
    font-size: 0.87rem;
    color: var(--muted);
    padding-left: 14px;
    position: relative;
}

.stage-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.65rem;
    top: 3px;
}

.stage-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-family: var(--fd);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.stage-link:hover { gap: 14px; color: var(--accent2); }

/* ==== RANKING ==== */
.legend-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--line-r);
}

.legend-strip span {
    padding: 9px 16px;
    font-family: var(--fd);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    border-right: 1px solid var(--line-r);
}

.legend-strip span:last-child { border-right: none; }
.legend-strip strong { color: var(--accent); font-weight: 800; }

.rank-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    overflow: hidden;
}

.rank-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 12px;
}

.rank-title {
    font-family: var(--fd);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rank-filters { display: flex; gap: 6px; }

.rank-filter {
    padding: 7px 14px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--fd);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.2s;
}

.rank-filter.is-active, .rank-filter:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.rank-table { display: flex; flex-direction: column; }

.rank-head {
    display: grid;
    grid-template-columns: 56px 1fr 150px 110px 72px;
    gap: 12px;
    padding: 10px 22px;
    background: rgba(192,0,32,0.1);
    border-bottom: 1px solid var(--line-r);
    font-family: var(--fd);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.rank-row {
    display: grid;
    grid-template-columns: 56px 1fr 150px 110px 72px;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background 0.15s;
}

.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: rgba(192,0,32,0.05); }

.rank-row.is-leader {
    background: rgba(192,0,32,0.08);
    border-left: 3px solid var(--accent);
    padding-left: 19px;
}

.rank-pos {
    font-family: var(--fd);
    font-size: 1.7rem;
    font-weight: 800;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    letter-spacing: -0.02em;
}

.rank-row.is-leader .rank-pos { color: var(--accent); }

.rank-row strong { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.rank-row span   { font-size: 0.85rem; color: var(--muted); }

.rank-pts {
    font-family: var(--fd) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,0.2) !important;
    text-align: right;
    line-height: 1;
    display: block;
    letter-spacing: -0.02em;
}

.rank-row.is-leader .rank-pts { color: var(--accent) !important; }

/* ==== PREMIACAO ==== */
#premiacao {
    background: linear-gradient(180deg, #0a0a0a 0%, #140005 100%);
    border-top: 3px solid var(--accent);
}

.podium-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line-r);
    border: 1px solid var(--line-r);
}

.podium-card {
    background: var(--surface);
    padding: 44px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.podium-card:hover { background: var(--surface2); }

.podium-card.is-gold   { border-top: 3px solid var(--gold); }
.podium-card.is-silver { border-top: 3px solid var(--silver); }
.podium-card.is-bronze { border-top: 3px solid var(--bronze); }

.podium-ghost {
    position: absolute;
    top: 0;
    right: 16px;
    font-family: var(--fd);
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    opacity: 0.06;
    letter-spacing: -0.04em;
}

.podium-card.is-gold   .podium-ghost { color: var(--gold); }
.podium-card.is-silver .podium-ghost { color: var(--silver); }
.podium-card.is-bronze .podium-ghost { color: var(--bronze); }

.podium-place {
    font-family: var(--fd);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
}

.podium-card.is-gold   .podium-place { color: var(--gold); }
.podium-card.is-silver .podium-place { color: var(--silver); }
.podium-card.is-bronze .podium-place { color: var(--bronze); }

.podium-card h3 {
    font-family: var(--fd);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.podium-card.is-gold   h3 { color: var(--gold); }
.podium-card.is-silver h3 { color: var(--silver); }
.podium-card.is-bronze h3 { color: var(--bronze); }

.podium-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.68;
    position: relative;
    z-index: 1;
}

/* ==== PARCEIROS ==== */
.partners-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 26px;
}

.logo-strip a {
    opacity: 0.45;
    filter: grayscale(100%) brightness(1.6);
    transition: opacity 0.25s, filter 0.25s;
}

.logo-strip a:hover { opacity: 1; filter: none; }
.logo-strip img { height: 40px; width: auto; object-fit: contain; }

.cta-box {
    background: var(--accent);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: 'GAG';
    position: absolute;
    bottom: -20px;
    right: -8px;
    font-family: var(--fd);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    pointer-events: none;
}

.cta-kicker {
    font-family: var(--fd);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.65);
}

.cta-box h3 {
    font-family: var(--fd);
    font-size: 2.1rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.cta-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; position: relative; z-index: 1; }

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #fff;
    color: var(--accent);
    font-family: var(--fd);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid #fff;
    transition: 0.2s;
}

.btn-cta-white:hover { background: transparent; color: #fff; }

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-family: var(--fd);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    transition: 0.2s;
}

.btn-cta-outline:hover { border-color: #fff; color: #fff; }

/* ==== FOOTER ==== */
.site-footer {
    background: #000;
    border-top: 3px solid var(--accent);
    padding: 24px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-brand {
    font-family: var(--fd);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-brand span { color: var(--accent); }
.footer-copy { font-size: 0.76rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ==== RESPONSIVE ==== */

/* ── 1200px: large tablets / small desktops ── */
@media (max-width: 1200px) {
    .partners-layout { grid-template-columns: 1fr 300px; gap: 36px; }
    .rank-head, .rank-row { grid-template-columns: 50px 1fr 140px 100px 64px; }
}

/* ── 960px: tablet landscape ── */
@media (max-width: 960px) {
    :root { --container: min(100%, calc(100% - 32px)); }

    .menu-toggle { display: flex; }

    .site-nav {
        display: none;
        position: fixed;
        inset: 0 0 0 auto;
        width: min(280px, 88vw);
        flex-direction: column;
        align-items: stretch;
        background: #000;
        border-left: 3px solid var(--accent);
        padding: 76px 20px 40px;
        gap: 2px;
        overflow-y: auto;
        z-index: 45;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 16px; font-size: 1rem; border-bottom: 1px solid var(--line); }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 52px 28px 48px; }
    .hero-right { min-height: 280px; max-height: 340px; }
    .hero-bg-num { display: none; }

    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat { border-bottom: 1px solid rgba(255,255,255,0.1); }

    .section { padding: 64px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }

    .format-grid { grid-template-columns: 1fr; }
    .stage-grid { grid-template-columns: 1fr 1fr; }

    .podium-row { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    .partners-layout { grid-template-columns: 1fr; gap: 40px; }

    .rank-head, .rank-row { grid-template-columns: 44px 1fr 110px 60px; }
    .rank-head span:nth-child(4), .rank-row span:nth-child(4) { display: none; }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
    .hero-left { padding: 44px 20px 40px; gap: 18px; }
    .hero-right { min-height: 220px; }

    .stage-grid { grid-template-columns: 1fr; }

    .stat strong { font-size: 2.6rem; }
    .stat { padding: 20px 18px; }

    .format-card { padding: 28px 22px; }
    .podium-card { padding: 36px 24px; }
    .podium-card h3 { font-size: 2.4rem; }

    .section { padding: 52px 0; }

    .rank-toolbar { padding: 12px 16px; }
    .rank-title { font-size: 1.3rem; }
    .rank-head, .rank-row { padding: 10px 16px; gap: 8px; }

    .legend-strip span { padding: 8px 10px; font-size: 0.72rem; }

    .footer-row { flex-direction: column; text-align: center; align-items: center; gap: 8px; }
}

/* ── 600px: large phones ── */
@media (max-width: 600px) {
    :root { --container: min(100%, calc(100% - 24px)); }

    .hero-left { padding: 36px 16px 32px; gap: 16px; }
    .hero-right { min-height: 200px; max-height: 240px; }

    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn-red, .btn-ghost { width: 100%; justify-content: center; }

    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat strong { font-size: 2.2rem; }
    .stat span { font-size: 0.68rem; }
    .stat { padding: 16px 14px; }

    .section { padding: 44px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head h2 { font-size: clamp(1.8rem, 7vw, 3rem); }

    .format-card { padding: 24px 18px; }
    .format-card h3 { font-size: 1.5rem; }
    .format-card::before { font-size: 5rem; }

    .podium-card { padding: 28px 20px; }
    .podium-card h3 { font-size: 2rem; }
    .podium-ghost { font-size: 7rem; }

    .rank-head, .rank-row { grid-template-columns: 40px 1fr 52px; gap: 6px; padding: 10px 14px; }
    .rank-head span:nth-child(3), .rank-row span:nth-child(3) { display: none; }
    .rank-pts { font-size: 1.7rem !important; }
    .rank-pos { font-size: 1.3rem; }

    .logo-strip { gap: 20px; justify-content: center; }

    .cta-box { padding: 28px 20px; }
    .cta-box h3 { font-size: 1.8rem; }
    .btn-cta-white, .btn-cta-outline { justify-content: center; text-align: center; }

    .version-dock { right: 12px; bottom: 12px; width: min(190px, calc(100vw - 24px)); }
}

/* ── 480px: medium phones ── */
@media (max-width: 480px) {
    .header-row { min-height: 54px; }
    .brand img { width: 38px; }
    .brand-copy strong { font-size: 0.95rem; }

    .hero-left { padding: 28px 14px 28px; gap: 14px; }
    .hero-left h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
    .hero-left p { font-size: 0.88rem; }
    .hero-right { min-height: 180px; max-height: 200px; }

    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat strong { font-size: 1.9rem; }
    .stat { padding: 14px 12px; }

    .section { padding: 36px 0; }

    .stage-body { padding: 18px 16px 20px; }
    .stage-city { font-size: 1.6rem; }

    .rank-head, .rank-row { grid-template-columns: 36px 1fr 48px; gap: 6px; padding: 9px 12px; }
    .rank-title { font-size: 1.1rem; }

    .section-head h2 { font-size: clamp(1.6rem, 8vw, 2.6rem); }

    .podium-card h3 { font-size: 1.8rem; }
    .podium-card { padding: 24px 16px; }
    .podium-ghost { font-size: 5rem; right: 8px; }

    .footer-brand { font-size: 1.3rem; }
    .footer-copy { font-size: 0.7rem; text-align: center; }
}

/* ── 360px: small phones ── */
@media (max-width: 360px) {
    :root { --container: min(100%, calc(100% - 16px)); }

    .hero-left { padding: 22px 12px 22px; }
    .hero-left h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
    .hero-right { display: none; }

    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat strong { font-size: 1.7rem; }

    .btn-red, .btn-ghost { padding: 11px 18px; font-size: 0.82rem; }
    .legend-strip { display: none; }
}
