/* ════════════════════════════════════════════════
   GLOBAL BASE STYLES
   ════════════════════════════════════════════════ */

:root {
  --red:    #9b2b2b;
  --red-dark: #6e1a1a;
  --green:  #7ec87a;
  --green-dark: #4a8c47;
  --black:  #0d0d0d;
  --cream:  #f0ead8;
  --surface: #1a1a1a;
  --border: rgba(126,200,122,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HEADER ───────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--red-dark);
  border-bottom: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.5rem;
  gap: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}
.header-logo:hover img { transform: rotate(-6deg) scale(1.05); }

.header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  letter-spacing: 0.06em;
  color: var(--green);
  text-shadow: 0 0 18px rgba(126,200,122,0.35);
  text-align: center;
  flex: 1;
  line-height: 1.1;
}

/* ── HAMBURGER ────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: transparent;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(126,200,122,0.1); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV DRAWER ───────────────────────────────── */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(280px, 80vw);
  background: var(--red-dark);
  border-left: 2px solid var(--green);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-drawer.open { transform: translateX(0); }

.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 190;
}
.nav-overlay.open { display: block; }

.nav-drawer a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--green); }

.nav-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--green);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(155,43,43,0.45) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.04) 28px, rgba(126,200,122,0.04) 30px
    );
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 3px;
  padding: 0.25em 1em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

.hero-logo-large {
  width: clamp(120px, 22vw, 200px);
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 32px rgba(155,43,43,0.7));
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.hero h1 span { color: var(--green); }

.hero-sub {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: rgba(240,234,216,0.7);
  max-width: 540px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}

/* ── MAIN CONTENT ─────────────────────────────── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: 6px 0 0 6px;
}
.card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 0.85rem;
}
.card p {
  color: rgba(240,234,216,0.8);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.card p:last-child { margin-bottom: 0; }

.card a {
  color: var(--green);
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

/* ── INFO GRID ────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-tile {
  background: rgba(155,43,43,0.18);
  border: 1px solid rgba(155,43,43,0.4);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
}
.info-tile .tile-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.info-tile .tile-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

/* ── BUTTONS ──────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  padding: 0.75em 1.75em;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-dark);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(74,140,71,0.4);
}
.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,0.35);
}

/* ── DISCORD CARD ─────────────────────────────── */
.discord-card {
  border-color: rgba(88,101,242,0.35);
}
.discord-card::before { background: #5865F2; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  color: rgba(240,234,216,0.3);
  border-top: 1px solid var(--border);
}

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════
   PAGE HERO  (shared by all inner pages)
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}


/* ════════════════════════════════════════════════
   CUBES PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── CUBE GRID ───────────────────────────────── */
.cubes-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

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

.cube-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  opacity: 0;
  animation: fadeUp 0.6s forwards;
}
.cube-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: rgba(126,200,122,0.5);
}

/* stagger animation delays */
.cube-card:nth-child(1) { animation-delay: 0.1s; }
.cube-card:nth-child(2) { animation-delay: 0.18s; }
.cube-card:nth-child(3) { animation-delay: 0.26s; }
.cube-card:nth-child(4) { animation-delay: 0.34s; }
.cube-card:nth-child(5) { animation-delay: 0.42s; }
.cube-card:nth-child(6) { animation-delay: 0.50s; }

.cube-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--red-dark);
}

/* Card art container */
.cube-card-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--red-dark);
  overflow: hidden;
}

.cube-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cube-card:hover .cube-card-image {
  transform: scale(1.04);
}

.cube-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.cube-card-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
}

.cube-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1.1;
}

.cube-card-owner {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.4);
}

.cube-card-desc {
  color: rgba(240,234,216,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
  margin-top: 0.25rem;
}

.cube-card-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cube-meta-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: 3px;
  background: rgba(155,43,43,0.25);
  border: 1px solid rgba(155,43,43,0.45);
  color: rgba(240,234,216,0.65);
}
.cube-meta-pill.green {
  background: rgba(74,140,71,0.15);
  border-color: rgba(126,200,122,0.3);
  color: var(--green);
}

.cube-card-footer {
  padding: 0 1.4rem 1.25rem;
}
.cube-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--green);
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}
.cube-link:hover {
  color: #a8e4a5;
  gap: 0.7rem;
}
.cube-link-arrow {
  transition: transform 0.18s;
}
.cube-link:hover .cube-link-arrow {
  transform: translateX(3px);
}

/* left accent bar (matches main card style) */
.cube-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  border-radius: 8px 0 0 8px;
}

/* returning badge */
.returning-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--black);
  background: var(--green);
  padding: 0.2em 0.65em;
  border-radius: 3px;
  z-index: 2;
}

/* ── COMING SOON CARD ────────────────────────── */
.cube-card.coming-soon {
  border-style: dashed;
  border-color: rgba(126,200,122,0.15);
  opacity: 0;
  animation: fadeUp 0.6s 0.55s forwards;
}
.cube-card.coming-soon::before { background: rgba(155,43,43,0.3); }
.coming-soon-body {
  padding: 2.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  flex: 1;
}
.coming-soon-icon { font-size: 2rem; opacity: 0.3; }
.coming-soon-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: rgba(240,234,216,0.3);
}
.coming-soon-sub {
  font-size: 0.8rem;
  color: rgba(240,234,216,0.2);
  line-height: 1.5;
}

/* ── SECTION HEADER ─────────────────────────── */
.cubes-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cubes-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(240,234,216,0.3);
}
.submit-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--green);
  text-decoration: none;
  border: 1.5px solid rgba(126,200,122,0.3);
  border-radius: 3px;
  padding: 0.35em 1em;
  transition: background 0.18s, border-color 0.18s;
}
.submit-link:hover {
  background: rgba(126,200,122,0.08);
  border-color: var(--green);
}


/* ════════════════════════════════════════════════
   PODS PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── PODS SECTION ────────────────────────────── */

.pods-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── ROUND FILTER TABS ───────────────────────── */

.round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s forwards;
}

.round-tab {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.5);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.4em 1.1em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.round-tab:hover {
  color: var(--cream);
  border-color: rgba(126,200,122,0.5);
}
.round-tab.active {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

/* ── ROUND BLOCK ─────────────────────────────── */

.round-block {
  opacity: 0;
  animation: fadeUp 0.65s forwards;
}
.round-block:nth-child(2) { animation-delay: 0.1s; }
.round-block:nth-child(3) { animation-delay: 0.18s; }
.round-block:nth-child(4) { animation-delay: 0.26s; }
.round-block:nth-child(5) { animation-delay: 0.34s; }
.round-block:nth-child(6) { animation-delay: 0.42s; }

.round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.round-header-left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.round-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
}

.round-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.round-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--green);
}
.round-date {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(240,234,216,0.35);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.round-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: rgba(240,234,216,0.5);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.3em 0.9em;
  white-space: nowrap;
}
.round-badge-finals {
  color: var(--green);
  border-color: rgba(126,200,122,0.4);
  background: rgba(126,200,122,0.07);
}

/* ── PODS GRID ───────────────────────────────── */

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

/* ── POD CARD ────────────────────────────────── */

.pod-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.pod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: 6px 0 0 6px;
}
.pod-card:hover {
  border-color: rgba(126,200,122,0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

/* Finals card */
.pod-card.pod-finals {
  border-color: rgba(126,200,122,0.3);
}
.pod-card.pod-finals::before {
  background: var(--green);
}

/* Extra pod card */
.pod-card.pod-extra::before {
  background: #5865F2;
}

/* ── POD CARD HEADER ─────────────────────────── */

.pod-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem 0.75rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}

.pod-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
}

.pod-cube-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: rgba(240,234,216,0.45);
  text-transform: uppercase;
}
.pod-cube-label-finals {
  color: var(--green);
}
.pod-cube-label-extra {
  color: #8f9cf5;
}

.pod-cube-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ── SEAT LIST ───────────────────────────────── */

.seat-list {
  display: flex;
  flex-direction: column;
}

.seat {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 0 0.75rem;
  padding: 0.5rem 1rem 0.5rem 1.4rem;
  border-bottom: 1px solid rgba(126,200,122,0.07);
  transition: background 0.15s;
}
.seat:last-child {
  border-bottom: none;
}
.seat:hover {
  background: rgba(126,200,122,0.04);
}

.seat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: rgba(155,43,43,0.45);
  text-align: right;
  line-height: 1;
}

.seat-player {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.seat-player.tbd {
  color: rgba(240,234,216,0.3);
  font-weight: 400;
  font-style: italic;
}

/* Finals seat accent */
.seat.seat-finals .seat-num {
  color: rgba(126,200,122,0.4);
}

/* ── FINALS NOTE ─────────────────────────────── */

.pod-finals-note {
  font-size: 0.78rem;
  color: rgba(240,234,216,0.35);
  font-style: italic;
  line-height: 1.6;
  padding: 0.6rem 1rem 0.6rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(126,200,122,0.04);
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 560px) {
  .pods-grid {
    grid-template-columns: 1fr;
  }
  .round-tabs {
    gap: 0.4rem;
  }
  .round-tab {
    font-size: 0.78rem;
    padding: 0.35em 0.8em;
  }
}


/* ════════════════════════════════════════════════
   PRACTICAL INFO PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── PRACTICAL SECTION ───────────────────────── */

.practical-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── INFO BLOCK ──────────────────────────────── */

.info-block {
  opacity: 0;
  animation: fadeUp 0.65s forwards;
}

.info-block-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.info-block-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.info-block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1;
}

/* ── VENUE CARDS ─────────────────────────────── */

.info-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.info-detail-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.info-detail-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
}

.info-detail-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1.1;
}

.info-detail-sub {
  color: rgba(240,234,216,0.55);
  font-size: 0.87rem;
  line-height: 1.65;
  margin-top: 0.2rem;
}

.venue-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: var(--green);
  text-decoration: none;
  border: 1.5px solid rgba(126,200,122,0.3);
  border-radius: 3px;
  padding: 0.35em 0.9em;
  transition: background 0.18s, border-color 0.18s;
  width: fit-content;
}
.venue-map-btn:hover {
  background: rgba(126,200,122,0.08);
  border-color: var(--green);
}

/* ── TRANSPORT LIST ──────────────────────────── */

.transport-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.transport-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem 1.1rem 1.1rem;
  background: var(--surface);
  border-left: 4px solid var(--red);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.transport-item:first-child { border-radius: 6px 6px 0 0; }
.transport-item:last-child  { border-bottom: none; border-radius: 0 0 6px 6px; }
.transport-item:only-child  { border-radius: 6px; }
.transport-item:hover { background: rgba(30,30,30,0.9); }

.transport-icon {
  font-size: 1.5rem;
  text-align: center;
  padding-top: 0.15rem;
  line-height: 1;
}

.transport-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.transport-body {
  color: rgba(240,234,216,0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── ACCOMMODATION GRID ──────────────────────── */

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

.accom-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  padding: 1.1rem 1.25rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.accom-card:hover {
  border-color: rgba(126,200,122,0.45);
  border-top-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.accom-type {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.accom-desc {
  color: rgba(240,234,216,0.65);
  font-size: 0.87rem;
  line-height: 1.7;
}

/* ── CHECKLIST ───────────────────────────────── */

.checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checklist-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 0.75rem;
  align-items: start;
  padding: 0.95rem 1.25rem 0.95rem 1.1rem;
  background: var(--surface);
  border-left: 4px solid var(--green-dark);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-left-color 0.2s;
}
.checklist-item:first-child { border-radius: 6px 6px 0 0; }
.checklist-item:last-child  { border-bottom: none; border-radius: 0 0 6px 6px; }
.checklist-item:hover {
  background: rgba(30,30,30,0.9);
  border-left-color: var(--green);
}

.check-icon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: rgba(74,140,71,0.5);
  text-align: center;
  padding-top: 0.1rem;
  line-height: 1;
  transition: color 0.2s;
}
.checklist-item:hover .check-icon {
  color: var(--green);
}

.check-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.check-sub {
  color: rgba(240,234,216,0.6);
  font-size: 0.87rem;
  line-height: 1.65;
}

/* ── DIVIDER ─────────────────────────────────── */

.info-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.25rem 0;
}
.info-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.info-divider-icon {
  font-size: 0.75rem;
  color: rgba(126,200,122,0.4);
  letter-spacing: 0.2em;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 560px) {
  .transport-item {
    grid-template-columns: 44px 1fr;
    gap: 0 0.65rem;
  }
  .transport-icon {
    font-size: 1.25rem;
  }
  .checklist-item {
    grid-template-columns: 40px 1fr;
  }
  .accom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .accom-grid {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════════
   RULES PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── RULES SECTION ───────────────────────────── */

.rules-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── RULES BLOCK ─────────────────────────────── */

.rules-block {
  opacity: 0;
  animation: fadeUp 0.65s forwards;
}

.rules-block-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.rules-block-icon {
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}
.rules-block-icon.cube-icon {
  color: var(--green);
}

.rules-block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1;
}

.rules-intro {
  color: rgba(240,234,216,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-left: calc(100px + 1rem); /* align with rule content */
  border-left: none;
}

/* ── RULE LIST ───────────────────────────────── */

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rule-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 1.25rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--red);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  transition: background 0.2s, border-left-color 0.2s;
}
.rule-item:first-child {
  border-radius: 6px 6px 0 0;
}
.rule-item:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}
.rule-item:only-child {
  border-radius: 6px;
}
.rule-item:hover {
  background: rgba(30,30,30,0.9);
}

.rule-item.cube-rule {
  border-left-color: var(--green-dark);
}
.rule-item.cube-rule:hover {
  border-left-color: var(--green);
}

.rule-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: rgba(155,43,43,0.35);
  line-height: 1;
  padding-top: 0.1rem;
  text-align: right;
  transition: color 0.2s;
}
.rule-item:hover .rule-number {
  color: rgba(155,43,43,0.55);
}
.cube-rule .rule-number {
  color: rgba(74,140,71,0.3);
}
.cube-rule:hover .rule-number {
  color: rgba(74,140,71,0.5);
}

.rule-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.rule-body {
  color: rgba(240,234,216,0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}
.rule-body a {
  color: var(--green);
  text-decoration: none;
}
.rule-body a:hover {
  text-decoration: underline;
}
.rule-body strong {
  color: var(--green);
  font-weight: 700;
}

/* ── DIVIDER ─────────────────────────────────── */

.rules-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}
.rules-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.rules-divider-icon {
  font-size: 0.75rem;
  color: rgba(126,200,122,0.4);
  letter-spacing: 0.2em;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 560px) {
  .rule-item {
    grid-template-columns: 60px 1fr;
    gap: 0 0.75rem;
  }
  .rule-number {
    font-size: 1.4rem;
  }
  .rules-intro {
    padding-left: calc(60px + 0.75rem);
  }
}


/* ════════════════════════════════════════════════
   SCHEDULE PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── SCHEDULE SECTION ────────────────────────── */

.schedule-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* ── DAY BLOCKS ──────────────────────────────── */

.day-block {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s forwards;
}
.day-block:nth-child(1) { animation-delay: 0.1s; }
.day-block:nth-child(2) { animation-delay: 0.2s; }
.day-block:nth-child(3) { animation-delay: 0.3s; }

.day-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.day-label .day-date {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* ── SLOT LIST ───────────────────────────────── */

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slot {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 1.25rem;
  align-items: start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.slot::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: 6px 0 0 6px;
}
.slot.break::before { background: rgba(126,200,122,0.5); }
.slot:hover {
  border-color: rgba(126,200,122,0.4);
  transform: translateX(3px);
}
.slot.break:hover { transform: none; }

.slot-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--green);
  padding-top: 0.1rem;
  white-space: nowrap;
}

.slot-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.slot.break .slot-title {
  color: var(--green);
  font-size: 0.95rem;
}

/* ── CUBE TAGS ───────────────────────────────── */

.cube-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cube-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.65em;
  border-radius: 3px;
  background: rgba(155,43,43,0.2);
  border: 1px solid rgba(155,43,43,0.4);
  color: rgba(240,234,216,0.6);
}
.cube-tag.top8 {
  background: rgba(74,140,71,0.15);
  border-color: rgba(126,200,122,0.35);
  color: var(--green);
}
.cube-tag.extra {
  background: rgba(88,101,242,0.12);
  border-color: rgba(88,101,242,0.3);
  color: #8f9cf5;
}
.cube-tag.tbd {
  border-style: dashed;
  background: transparent;
  opacity: 0.5;
}

/* ── SLOT NOTE ───────────────────────────────── */

.slot-note {
  font-size: 0.8rem;
  color: rgba(240,234,216,0.4);
  margin-top: 0.35rem;
  font-style: italic;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 480px) {
  .slot {
    grid-template-columns: 80px 1fr;
    gap: 0 0.75rem;
  }
  .slot-time { font-size: 1.1rem; }
}


/* ════════════════════════════════════════════════
   STANDINGS PAGE
   ════════════════════════════════════════════════ */

.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,43,43,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      135deg,
      transparent 0px, transparent 28px,
      rgba(126,200,122,0.03) 28px, rgba(126,200,122,0.03) 30px
    );
  pointer-events: none;
}
.page-hero .hero-badge {
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.65s 0.15s forwards;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  color: rgba(240,234,216,0.65);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.65s 0.25s forwards;
}

/* ── STANDINGS SECTION ───────────────────────── */

.standings-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── ROUND FILTER TABS ───────────────────────── */

.round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s forwards;
}

.round-tab {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.5);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.4em 1.1em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.round-tab:hover {
  color: var(--cream);
  border-color: rgba(126,200,122,0.5);
}
.round-tab.active {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

/* ── ROUND PANEL ─────────────────────────────── */

.round-panel {
  display: none;
  flex-direction: column;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.5s forwards;
}
.round-panel.active {
  display: flex;
}

/* ── ROUND HEADER ────────────────────────────── */

.round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.round-header-left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.round-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
}

.round-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.round-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--green);
}
.round-date {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(240,234,216,0.35);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.round-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: rgba(240,234,216,0.5);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.3em 0.9em;
  white-space: nowrap;
}

/* ── PODS RESULTS GRID ───────────────────────── */

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

/* ── POD RESULT CARD ─────────────────────────── */

.pod-result-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.5s forwards;
}
.pod-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: 6px 0 0 6px;
}

.pod-result-card:nth-child(1) { animation-delay: 0.05s; }
.pod-result-card:nth-child(2) { animation-delay: 0.10s; }
.pod-result-card:nth-child(3) { animation-delay: 0.15s; }
.pod-result-card:nth-child(4) { animation-delay: 0.20s; }

/* ── POD CARD HEADER ─────────────────────────── */

.pod-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem 0.75rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}

.pod-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
}

.pod-cube-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(240,234,216,0.4);
  text-transform: uppercase;
}

/* ── MATCH LIST (header row + match rows) ────── */

/* 3-column layout: player1 | score-pair | player2 */
.match-timer-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  padding: 0.4rem 1rem 0.4rem 1.4rem;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border);
}

.match-timer-cell {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(126,200,122,0.5);
  text-transform: uppercase;
}
.match-timer-cell:first-child  { text-align: left; }
.match-timer-cell.score-header { text-align: center; }
.match-timer-cell:last-child   { text-align: right; }

.match-list {
  display: flex;
  flex-direction: column;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0;
  padding: 0.45rem 1rem 0.45rem 1.4rem;
  border-bottom: 1px solid rgba(126,200,122,0.06);
  transition: background 0.15s;
}
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: rgba(126,200,122,0.04); }

/* Score pair: two buttons side by side, centered in their column */
.match-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.match-player {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.match-player.right {
  text-align: right;
  align-items: flex-end;
}
.match-player.tbd {
  color: rgba(240,234,216,0.3);
  font-style: italic;
  font-weight: 400;
}

/* Two-line name display inside match rows */
.match-player {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.name-first {
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.2;
}
.name-last {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(240,234,216,0.45);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* Score buttons */
.score-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1.5px solid rgba(155,43,43,0.4);
  background: rgba(155,43,43,0.12);
  color: rgba(240,234,216,0.6);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  user-select: none;
  flex-shrink: 0;
}
.score-btn:hover {
  border-color: rgba(155,43,43,0.7);
  background: rgba(155,43,43,0.25);
  color: var(--cream);
  transform: scale(1.08);
}
.score-btn.score-2 {
  background: rgba(126,200,122,0.18);
  border-color: rgba(126,200,122,0.5);
  color: var(--green);
}
.score-btn.score-0 {
  background: rgba(155,43,43,0.08);
  border-color: rgba(155,43,43,0.2);
  color: rgba(240,234,216,0.3);
}

/* Winner highlight */
.match-player.winner {
  color: var(--green);
}
.match-player.loser {
  color: rgba(240,234,216,0.35);
}

/* ── OVERALL STANDINGS TABLE ─────────────────── */

.standings-table-wrap {
  opacity: 0;
  animation: fadeUp 0.65s 0.1s forwards;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.standings-table-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--cream);
}

.standings-table-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: rgba(240,234,216,0.35);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.3em 0.9em;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.standings-table thead th {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(126,200,122,0.6);
  text-transform: uppercase;
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  white-space: nowrap;
}
.standings-table thead th.num { text-align: right; }
.standings-table thead th.rank-col { width: 48px; text-align: center; }

.standings-table tbody tr {
  border-bottom: 1px solid rgba(126,200,122,0.06);
  transition: background 0.15s;
}
.standings-table tbody tr:hover { background: rgba(126,200,122,0.04); }
.standings-table tbody tr:last-child { border-bottom: none; }

.standings-table tbody td {
  padding: 0.65rem 1rem;
  color: var(--cream);
  vertical-align: middle;
}

/* Rank cell */
.td-rank {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: rgba(155,43,43,0.5);
  text-align: center;
  width: 48px;
}
.td-rank.top3 { color: var(--green); }

.td-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.td-points {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--green);
  text-align: right;
}

.td-gwp {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(240,234,216,0.55);
  text-align: right;
}

.td-record {
  font-size: 0.82rem;
  color: rgba(240,234,216,0.4);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Top 3 row highlight */
.standings-table tbody tr.rank-1 td { background: rgba(126,200,122,0.05); }
.standings-table tbody tr.rank-2 td { background: rgba(126,200,122,0.03); }
.standings-table tbody tr.rank-3 td { background: rgba(126,200,122,0.015); }

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 600px) {
  .pods-results-grid {
    grid-template-columns: 1fr;
  }
  .round-tabs {
    gap: 0.35rem;
  }
  .round-tab {
    font-size: 0.78rem;
    padding: 0.35em 0.8em;
  }
  .td-record {
    display: none;
  }

  /* Standings table — compact on mobile */
  .standings-section {
    padding: 1.5rem 0.75rem 4rem;
  }
  .standings-table {
    font-size: 0.78rem;
    min-width: 320px;
  }
  .standings-table thead th {
    padding: 0.5rem 0.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  .standings-table thead th.rank-col {
    width: 32px;
  }
  .standings-table tbody td {
    padding: 0.5rem 0.5rem;
  }
  .td-rank {
    width: 32px;
    font-size: 0.9rem;
  }
  .td-points {
    font-size: 1rem;
  }
  .td-gwp {
    font-size: 0.78rem;
  }
}

/* ── DRAFT TABS ──────────────────────────────── */

.draft-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.25s forwards;
}

.draft-tab {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.5);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.45em 1.4em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.draft-tab:hover {
  color: var(--cream);
  border-color: rgba(155,43,43,0.6);
}
.draft-tab.active {
  color: var(--black);
  background: var(--red);
  border-color: var(--red);
}

/* Round sub-tabs */
.round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-left: 0.25rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s forwards;
}

/* ── GENERATE BUTTON AREA ────────────────────── */

.generate-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 3rem 1.5rem;
  background: rgba(0,0,0,0.2);
  border: 1.5px dashed var(--border);
  border-radius: 6px;
  text-align: center;
}

.generate-info {
  font-size: 0.88rem;
  color: rgba(240,234,216,0.5);
  letter-spacing: 0.04em;
  max-width: 380px;
  line-height: 1.6;
}

.generate-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--green);
  border: none;
  border-radius: 4px;
  padding: 0.65em 2em;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s, opacity 0.18s;
}
.generate-btn:hover {
  background: #a0d89b;
  transform: scale(1.03);
}
.generate-btn.disabled,
.generate-btn:disabled {
  background: rgba(126,200,122,0.2);
  color: rgba(240,234,216,0.3);
  cursor: not-allowed;
  transform: none;
}

/* ── FINALE CARD ─────────────────────────────── */

.pod-result-card.finale-card::before {
  background: linear-gradient(180deg, #c8a846 0%, #a07c20 100%);
}
.pod-result-card.finale-card .pod-number {
  color: #c8a846;
}

/* ── DRAW ROW ────────────────────────────────── */

.match-row.draw-row {
  background: rgba(200,168,70,0.06);
}
.match-player.draw {
  color: #c8a846;
}

/* ── DRAW CONFIRMATION MODAL ─────────────────── */

.draw-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}
.draw-modal-backdrop.open {
  display: flex;
}

.draw-modal {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: fadeUp 0.25s forwards;
}

.draw-modal-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: #c8a846;
}

.draw-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.draw-modal-body {
  font-size: 0.92rem;
  color: rgba(240,234,216,0.65);
  line-height: 1.65;
}

.draw-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.draw-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6em 1.8em;
  border-radius: 4px;
  border: 1.5px solid;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
}
.draw-btn-no {
  color: rgba(240,234,216,0.6);
  background: transparent;
  border-color: var(--border);
}
.draw-btn-no:hover {
  color: var(--cream);
  border-color: rgba(240,234,216,0.4);
  background: rgba(255,255,255,0.05);
}
.draw-btn-yes {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}
.draw-btn-yes:hover {
  background: #a0d89b;
  transform: scale(1.03);
}