/* =========================
   ACE ESPORTS - GLOBAL CSS
   Dark esports + blue glow
   ========================= */

:root {
  --bg: #07090d;
  --panel: #0b1220;
  --panel2: #0a0f1a;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke2: rgba(60, 120, 255, 0.25);
  --text: #e9eefc;
  --muted: rgba(233, 238, 252, 0.65);
  --blue: #2f6bff;
  --blue2: #1e49c7;
  --good: #2ee59d;
  --warn: #ffc857;
  --bad: #ff4d4d;

  --radius: 16px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(47, 107, 120, 0.25), 0 0 30px rgba(47, 107, 255, 0.12);
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background:
    radial-gradient(1000px 500px at 50% 0%,
      rgba(47, 107, 255, 0.18),
      transparent 60%),
    radial-gradient(800px 400px at 15% 30%,
      rgba(47, 107, 255, 0.1),
      transparent 60%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Tournaments page: add breathing room under "UPCOMING / LIVE" */
#upcomingGrid {
  margin-top: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* subtle background pattern */
.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: radial-gradient(circle at 10px 10px,
      rgba(255, 255, 255, 0.05) 2px,
      transparent 3px);
  background-size: 60px 60px;
  filter: blur(0.2px);
  z-index: -1;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    width: 100%;
    overflow-x: hidden;
  }
}

.section {
  padding: 80px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 238, 252, 0.9);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 28px;
  position: relative;
}

.section-title:before,
.section-title:after {
  content: "";
  height: 1px;
  width: min(220px, 28vw);
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent);
}

.kicker {
  color: var(--muted);
  text-align: center;
  margin: -14px auto 28px;
  max-width: 60ch;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.55));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg,
      rgba(47, 107, 255, 0.25),
      rgba(255, 255, 255, 0.04));
  box-shadow: var(--glow);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand small {
  display: block;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  position: relative;
  padding: 8px 4px;
  color: rgba(233, 238, 252, 0.75);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  transition: color 0.3s;
}

.menu a.active,
.menu a:hover {
  color: var(--blue);
}

.menu a.active:after,
.menu a:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu.mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 18px;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
    url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 350px at 50% 40%,
      rgba(47, 107, 255, 0.18),
      transparent 60%);
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 78px 0;
}

.hero-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06),
      rgba(47, 107, 255, 0.2));
  box-shadow: var(--shadow), var(--glow);
  display: grid;
  place-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 68px);
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.7);
}

.hero p {
  margin: 0 auto 22px;
  color: rgba(233, 238, 252, 0.74);
  max-width: 60ch;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  transition:
    transform 0.12s ease,
    filter 0.12s ease,
    background 0.12s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color: white;
  box-shadow: var(--glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(233, 238, 252, 0.9);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Cards */
.grid {
  display: grid;
  gap: 18px;
}

/* Increased columns for wider containers */
@media (min-width: 1500px) {
  .grid-3 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.card:hover {
  border-color: rgba(47, 107, 255, 0.28);
}

.card-media {
  height: 150px;
  background: #0a0f1a;
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(47, 107, 255, 0.92);
  color: white;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
}

.card-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 14px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(233, 238, 252, 0.88);
}

.pill.good {
  border-color: rgba(46, 229, 157, 0.35);
  color: rgba(46, 229, 157, 0.95);
}

.pill.warn {
  border-color: rgba(255, 200, 87, 0.35);
  color: rgba(255, 200, 87, 0.95);
}

.pill.bad {
  border-color: rgba(255, 77, 77, 0.35);
  color: rgba(255, 77, 77, 0.95);
}

/* Tournament detail layout */
.detail-hero {
  padding: 42px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(650px 350px at 50% 0%,
      rgba(47, 107, 255, 0.16),
      transparent 60%);
}

.detail-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.detail-top h1 {
  margin: 0 0 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.meta span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tab {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(233, 238, 252, 0.85);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.tab.active {
  background: linear-gradient(180deg,
      rgba(47, 107, 255, 0.25),
      rgba(255, 255, 255, 0.03));
  border-color: rgba(47, 107, 255, 0.35);
  box-shadow: var(--glow);
}

.panel {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.table th,
.table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 13px;
}

.table th {
  color: rgba(233, 238, 252, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.table tr:last-child td {
  border-bottom: none;
}

.table td small {
  color: var(--muted);
  font-weight: 700;
}

/* Groups */
.group {
  margin-top: 14px;
}

.group h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: rgba(233, 238, 252, 0.9);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 22px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(820px, 100%);
  max-height: min(86vh, 980px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg,
      rgba(10, 15, 26, 0.98),
      rgba(7, 9, 13, 0.98));
  box-shadow: var(--shadow), var(--glow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-head strong {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

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

.field label {
  display: block;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(233, 238, 252, 0.85);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(47, 107, 255, 0.35);
  box-shadow: var(--glow);
}

.hr {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(233, 238, 252, 0.82);
  font-size: 13px;
}

.checkbox input {
  margin-top: 3px;
}

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(233, 238, 252, 0.7);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: rgba(233, 238, 252, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(47, 107, 255, 0.4);
}

/* ===== Ace fixes: hero + image sizing ===== */

:root {
  --bg: #0b0f14;
  --panel: #121826;
  --blue: #2563eb;
  --blue2: #3b82f6;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --line: #1f2937;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Navbar logo size */
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* HERO: controlled size + crop */
.hero {
  position: relative;
  min-height: 72vh;
  /* not insane tall, still “hero” */
  max-height: 780px;
  /* stops it from becoming a billboard */
  padding: 96px 0 70px;
  /* room under the fixed header */
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

/* Dark overlay so text reads */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 65% at 50% 38%,
      rgba(59, 130, 246, 0.22),
      rgba(0, 0, 0, 0.7)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}

/* Full logo (wordmark) size FIX */
.hero-wordmark {
  width: min(520px, 86vw);
  /* caps max size */
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

/* Hero paragraph */
.hero-sub {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto 18px;
  line-height: 1.55;
}

/* CTA buttons spacing */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Game pills: stop icons being massive */
.hero-meta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 24, 38, 0.55);
  border-radius: 999px;
  color: rgba(229, 231, 235, 0.9);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.meta-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2));
}

/* Make section spacing feel less “empty” */
.section {
  padding: 54px 0;
}

/* Featured grid: keep cards centered and not too wide */
#featuredGrid {
  margin-top: 18px;
}

/* Responsive: on smaller screens reduce hero height */
@media (max-width: 720px) {
  .hero {
    min-height: 62vh;
    padding: 84px 0 54px;
  }

  .hero-wordmark {
    width: min(420px, 90vw);
  }
}

/* ===== Featured tournament cards polish ===== */

.section-head {
  text-align: center;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  margin: 10px 0 0;
  color: rgba(156, 163, 175, 0.9);
}

.card {
  background: rgba(18, 24, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  position: relative;
}

.card-media {
  height: 160px;
  background: #0b0f14;
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.75));
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(37, 99, 235, 0.95);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-body {
  padding: 16px 16px 14px;
}

.card-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: #e5e7eb;
}

.card-sub {
  margin: 0;
  color: rgba(156, 163, 175, 0.95);
  font-size: 13px;
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.pill-open {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.35);
}

.pill-closed {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
}

.pill-live {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.35);
}

.btn-sm {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Featured tournament cards polish ===== */

.section-head {
  text-align: center;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  margin: 10px 0 0;
  color: rgba(156, 163, 175, 0.9);
}

.card {
  background: rgba(18, 24, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  position: relative;
}

.card-media {
  height: 160px;
  background: #0b0f14;
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.75));
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(37, 99, 235, 0.95);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-body {
  padding: 16px 16px 14px;
}

.card-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: #e5e7eb;
}

.card-sub {
  margin: 0;
  color: rgba(156, 163, 175, 0.95);
  font-size: 13px;
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.pill-open {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.35);
}

.pill-closed {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
}

.pill-live {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.35);
}

.btn-sm {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== REDESIGN: FONTS ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text,
.hero-title,
.section-title-fancy,
.social-title,
.merch-name,
.slide-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
}

/* ===== REDESIGN: NAVBAR ENHANCEMENT ===== */
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  padding: 8px 4px;
  position: relative;
  font-family: 'Orbitron', sans-serif;
}

.nav-link svg {
  opacity: 0.8;
  transition: all 0.3s ease;
  stroke: currentColor;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link:hover svg,
.nav-link.active svg {
  opacity: 1;
  stroke: #3b82f6;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

.brand-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: #fff;
  flex-shrink: 0;
}

/* ===== REDESIGN: HERO TITLE ===== */
.hero-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  text-transform: uppercase;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.7);
}

.text-blue {
  color: #60a5fa;
}

.text-red {
  color: #ef4444;
}

.hero-sub {
  color: rgba(156, 163, 175, 0.95);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ===== IMAGE SLIDER ===== */
.slider-section {
  position: relative;
  background: #070a0f;
  padding: 20px 40px;
}

.slider-viewport {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  flex: 0 0 33.3333%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.15) 100%);
}

.slide-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
}

.slide-title {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.slide-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(13px, 1.5vw, 16px);
  margin: 0 0 16px;
  max-width: 600px;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.slide-link:hover {
  color: #93bbfd;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.slider-arrow:hover {
  background: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.6);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.dot.active {
  width: 28px;
  border-radius: 6px;
  background: #3b82f6;
  border-color: #3b82f6;
}

/* ===== CARD-SUIT BACKGROUND ===== */
.tournaments-section {
  position: relative;
  overflow: hidden;
  background: #060a12;
}

.card-suit-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%234080ff' stroke-width='1.5'%3E%3Cpath d='M5 9c-1.5 1.5-3 3.2-3 5.5A5.5 5.5 0 0 0 7.5 20c1.8 0 3-.5 4.5-2 1.5 1.5 2.7 2 4.5 2a5.5 5.5 0 0 0 5.5-5.5c0-2.3-1.5-4-3-5.5l-7-7-7 7Z'/%3E%3Cpath d='M12 18v4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%234080ff' stroke-width='1.5'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%234080ff' stroke-width='1.5'%3E%3Cpath d='M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z'/%3E%3Cpath d='M12 17.66L12 22'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%234080ff' stroke-width='1.5'%3E%3Cpath d='M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  background-position: 0 0, 50px 0, 0 50px, 50px 50px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.section-head-fancy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.line-deco {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.section-title-fancy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.center-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-blue-gradient {
  display: inline-block;
  background: linear-gradient(180deg, #3b82f6, #1e40af);
  color: #fff;
  padding: 14px 42px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.btn-blue-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35);
}

/* ===== CONNECT WITH US ===== */
.social-section {
  background: #020408;
  padding: 100px 0;
  position: relative;
}

.container-social {
  max-width: var(--max);
}

.social-title {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  margin: 0 auto 80px;
  display: table;
  border-bottom: 4px solid #3b82f6;
  padding-bottom: 8px;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.social-join-heading {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  color: #fff;
  text-transform: uppercase;
}

.social-desc {
  color: rgba(156, 163, 175, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

.social-icons-square {
  display: flex;
  gap: 12px;
}

.square-icon {
  width: 48px;
  height: 48px;
  background: #0d121b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.square-icon:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: translateY(-4px) scale(1.05);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: #0d121b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s;
}

.info-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: #0f172a;
}

.info-ico {
  width: 44px;
  height: 44px;
  background: #020617;
  border: 2px solid #3b82f6;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #3b82f6;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.info-txt {
  flex-grow: 1;
}

.info-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  color: #fff;
}

.muted-label {
  color: rgba(156, 163, 175, 0.6);
  font-weight: 500;
  margin-left: 4px;
}

.info-highlight {
  font-size: 14px;
  font-weight: 800;
  color: #60a5fa;
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}

.social-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.btn-join-now {
  background: #2563eb;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-join-now:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .social-subtitle {
    text-align: center;
  }

  .social-desc {
    max-width: 100%;
  }

  .social-icons-square {
    justify-content: center;
  }

  .social-cta {
    justify-content: center;
  }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 1;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.12), transparent);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(59, 130, 246, 0.12), transparent);
}

.partners-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.partners-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #111;
  margin: 0;
  font-style: italic;
}

.partners-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.partners-explore:hover {
  color: #1e40af;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo {
  flex: 1;
  min-width: 120px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(1) opacity(0.5);
  cursor: pointer;
}

.logo-gatorade img {
  transform: scale(1.3);
}

.logo-easports img {
  transform: scale(2.0);
}

.logo-nba img {
  transform: scale(1.3);
}

.logo-kia img {
  transform: scale(1.0);
}

.partner-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.2);
}

.partner-logo svg,
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease;
}

/* ===== MERCHANDISE SECTION ===== */
.merch-section {
  background: linear-gradient(180deg, #0a1020, #070a0f);
  padding: 80px 0;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.merch-card {
  background: rgba(12, 18, 30, 0.6);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.merch-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.merch-card:last-child {
  grid-column: span 1;
}

.merch-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.merch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.merch-card:hover .merch-img img {
  transform: scale(1.05);
}

.merch-body {
  padding: 24px;
}

.merch-name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
}

.merch-desc {
  color: rgba(156, 163, 175, 0.85);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.merch-link {
  color: #60a5fa;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.merch-link:hover {
  color: #93bbfd;
}

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

  .merch-card:last-child {
    max-width: 100%;
  }
}

/* ===== FOOTER REDESIGN ===== */
.footer-new {
  background: #0a0f18;
  color: rgba(200, 210, 225, 0.75);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.06em;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  color: rgba(200, 210, 225, 0.6);
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #60a5fa;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 14px;
}

.footer-col ul a {
  color: rgba(200, 210, 225, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

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

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SLIDER RESPONSIVE ===== */
@media (max-width: 720px) {
  .slider-section {
    padding: 12px 16px;
  }

  .slider-viewport {
    aspect-ratio: 16 / 10;
  }

  .slide-content {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .social-icons-row {
    gap: 10px;
  }

  .info-box {
    padding: 14px 16px;
  }
}

/* ===== UPDATED CARD ELEMENTS ===== */
.card-org {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.card-org span {
  color: rgba(200, 210, 225, 0.65);
  font-size: 13px;
  font-weight: 600;
}

.card-divider {
  height: 2px;
  background: linear-gradient(to right, #3b82f6, transparent);
  margin: 10px 0;
}

.card-org-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* Hide old footer if present */
.footer {
  display: none;
}

/* ===== TOURNAMENTS PAGE REDESIGN ===== */

.tournaments-hero {
  padding: 40px 0 60px;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
}

.featured-banner-wrapper {
  margin-top: 30px;
  width: 100%;
}

.featured-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-banner:hover img {
  transform: scale(1.03);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.banner-content {
  max-width: var(--max);
}

.banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.banner-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Card Grid Override for 2-column on Tournaments page */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

/* Results Section */
.results-section {
  padding: 80px 0;
  background: #070a0f;
}

.results-sub {
  text-align: center;
  color: rgba(156, 163, 175, 0.9);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  font-size: 14px;
}

.results-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.results-tabs {
  display: flex;
  background: rgba(18, 24, 38, 0.8);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.res-tab {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.res-tab.active {
  background: #1e293b;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: border-color 0.3s, background 0.3s;
}

.match-row:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(20, 30, 50, 0.8);
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.team-name {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.02em;
}

.vs-divider {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #3b82f6;
  padding: 0 10px;
}

.match-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.match-game {
  font-size: 12px;
  font-weight: 700;
  color: rgba(156, 163, 175, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-watch {
  color: #3b82f6;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.btn-watch:hover {
  color: #60a5fa;
}

@media (max-width: 720px) {
  .match-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .match-teams {
    flex-direction: column;
    gap: 15px;
  }

  .match-info {
    align-items: center;
  }
}

.banner-skeleton {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: linear-gradient(90deg, #121826 25%, #1a2234 50%, #121826 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-radius: 20px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}


/* ===== TEAMS PAGE REDESIGN ===== */

.teams-hero {
  padding: 60px 0 40px;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%);
}

.teams-sub {
  text-align: center;
  color: rgba(156, 163, 175, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: 0.02em;
}

.teams-section {
  padding-top: 20px;
}

.team-card-new {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.4s ease;
}

.team-card-new:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.7);
}

.team-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
}

.team-card-new:hover .team-card-bg {
  transform: scale(1.1);
  filter: blur(4px) brightness(0.6);
}

.team-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  z-index: 2;
  transition: opacity 0.4s ease;
}

.team-card-new:hover .team-card-footer {
  opacity: 0;
}

.team-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hover Overlay Content */
.team-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.95);
  text-align: center;
}

.team-card-new:hover .team-card-overlay {
  opacity: 1;
  transform: scale(1);
}

.team-overlay-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.team-overlay-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.team-overlay-title svg {
  color: #3b82f6;
}

.team-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2dd4bf;
  /* Teal color from reference */
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-learn-more:hover {
  color: #5eead4;
}

@media (max-width: 768px) {
  .team-card-new {
    aspect-ratio: 1 / 1;
  }

  .team-card-title {
    font-size: 20px;
  }
}


/* ===== ABOUT PAGE REDESIGN ===== */

.about-hero {
  position: relative;
  padding: 140px 0 100px;
  background: #070a0f;
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-about {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
  display: block;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 180px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #a3a5a8;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-action {
  margin-top: 10px;
}

/* ===== OUR COMMUNITY (ABOUT PAGE REDESIGN) ===== */
.custom-community {
  padding: 80px 0;
  text-align: center;
  background-color: #070a0f;
  overflow: hidden;
}

.community-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 60px;
}

.community-cards-wrapper {
  position: relative;
  height: 300px;
  /* fixed height to contain absolute cards */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  /* Adds depth for 3D transforms */
}

.community-card {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Center origins before applying dynamic transforms via JS */
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #111a2c 0%, #0c121e 100%);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Smooth easing */
  width: 400px;
  min-height: 220px;
  opacity: 0;
  /* Default hidden */
  pointer-events: none;
  z-index: 0;
}

.active-card {
  width: 500px;
  min-height: 260px;
  border-color: rgba(59, 130, 246, 0.2);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) translateX(0);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.active-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.1);
}

.inactive-card-left {
  opacity: 0.4;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%) translateX(-120%) scale(0.85);
  /* Shift left */
  /* Re-enable pointer events for the nav arrow specifically inside */
}

.inactive-card-right {
  opacity: 0.4;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%) translateX(120%) scale(0.85);
  /* Shift right */
}

/* Internal Layouts for Card Content */
.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cc-header svg {
  color: #3b82f6;
  /* Blue icon */
}

.cc-stat {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
}

.inactive-card-left .cc-header svg,
.inactive-card-left .cc-stat,
.inactive-card-right .cc-header svg,
.inactive-card-right .cc-stat {
  color: #213a69;
  /* Darker blue for inactive */
}

.cc-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.cc-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #cad0db;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.cc-sub-stat {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #3b82f6;
  margin-bottom: 15px;
  font-weight: 500;
}

.cc-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #cad0db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cc-link:hover {
  color: #fff;
}

/* Nav arrows on inactive cards */
.cc-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: #111a2c;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  /* Re-enable pointer events for arrow */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.cc-nav-arrow:hover {
  background-color: #1e293b;
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.cc-nav-left {
  left: -20px;
}

.cc-nav-right {
  right: -20px;
}

/* Pagination dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1a2744;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #3b82f6;
  transform: scale(1.2);
}

.dot:hover {
  background-color: #5596fd;
}

.about-mission {
  background: #0f172a;
}

.mission-grid {
  align-items: center;
  gap: 60px;
}

.section-title-orbitron {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: 0.05em;
}

.centered {
  text-align: center;
}

.mission-p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.9);
  max-width: 600px;
}

.mission-img-fancy {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-jersey-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-jersey-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-jersey-img {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(37,99,235,0.4));
  transition: transform 0.4s ease;
}

.about-jersey-img:hover {
  transform: scale(1.04) translateY(-8px);
}

.about-management {
  background: #0b111e;
  padding-bottom: 100px;
}

.management-sub {
  color: rgba(156, 163, 175, 0.6);
  margin-bottom: 40px;
  font-weight: 500;
}

.management-grid {
  gap: 30px;
}

.management-card {
  height: 400px;
  /* Reduced from 500px to better fit 3-col grid */
  perspective: 1000px;
  cursor: pointer;
}

.m-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.management-card:hover .m-card-inner {
  transform: rotateY(180deg);
}

.management-card:hover .m-card-front,
.management-card:hover .m-card-back {
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.7), 0 0 30px rgba(0, 243, 255, 0.4);
  border: 1px solid rgba(0, 243, 255, 0.5);
}

.m-card-front,
.m-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
  /* Tighter border-radius in image */
  overflow: hidden;
  transition: box-shadow 0.3s ease, border 0.3s ease;
}

.m-card-front {
  background-color: #1e293b;
}

.m-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.m-info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  text-align: left;
}

.m-info-bar h3 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  margin-bottom: 5px;
  font-size: 20px;
}

.m-info-bar p {
  color: #3b82f6;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.m-card-back {
  background-color: #0b1120;
  /* Darker blue bg */
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  /* very faint border */
}

.ace-logo-deco {
  position: absolute;
  font-size: 20px;
  opacity: 1;
  color: #fff;
  /* White small spades */
}

.tl {
  top: 15px;
  left: 15px;
}

.br {
  bottom: 15px;
  right: 15px;
}

.m-back-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.m-back-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
}

.m-back-content .role {
  color: #3b82f6;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 24px;
}

.m-back-content .bio {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  padding: 0 10px;
  text-align: center;
}

.m-socials {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* Divider line */
  padding-top: 20px;
}

.m-socials a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  /* Blue social icons */
  transition: all 0.3s ease;
}

.m-socials a:hover {
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 42px;
  }

  .mission-grid {
    gap: 40px;
  }
}

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

  .hero-title {
    font-size: 32px;
  }

  .management-card {
    height: 450px;
  }
}


/* ==========================================================================
   NEWS PAGE REDESIGN
   ========================================================================== */

.news-hero {
  position: relative;
  background: #020617;
}

.news-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-slide {
  position: absolute;
  width: 75%;
  height: 85%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.news-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1) translateZ(0);
  pointer-events: auto;
  z-index: 3;
}

.news-slide.prev {
  opacity: 0.5;
  transform: translateX(-40%) scale(0.85) translateZ(-100px);
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}

.news-slide.next {
  opacity: 0.5;
  transform: translateX(40%) scale(0.85) translateZ(-100px);
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}

.news-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 12s linear;
}

.news-slide.active .news-slide-img {
  transform: scale(1.05);
}

.news-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(2, 6, 23, 0.95) 100%);
  pointer-events: none;
}

.news-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news-slide.active .news-slide-content {
  opacity: 1;
  transition-delay: 0.3s;
}

/* --- NAV ARROWS --- */
.news-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: #111a2c;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  transition: all 0.3s ease;
}

.news-nav-arrow:hover {
  background-color: #1e293b;
  border-color: #3b82f6;
  transform: translateY(-50%) scale(1.1);
}

.news-nav-arrow.prev {
  left: 30px;
}

.news-nav-arrow.next {
  right: 30px;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-slide-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  max-width: var(--max);
  margin-bottom: 30px;
}

.news-carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.news-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.news-dot.active {
  width: 32px;
  border-radius: 6px;
  background: #3b82f6;
}

/* --- CATEGORY FILTERS --- */
.news-filter-section {
  background: #020617;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

.news-categories {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cat-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.cat-link:hover,
.cat-link.active {
  color: #3b82f6;
}

.cat-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cat-link.active::after {
  transform: scaleX(1);
}

/* --- NEWS GRID --- */
.news-grid-section {
  background: #020617;
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.news-item {
  display: flex;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  padding: 12px;
  margin: -12px;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.news-img-wrap {
  flex: 0 0 240px;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content .news-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.news-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

/* --- EXACT HOVER ANIMATIONS --- */
.news-item:hover .news-img-wrap img {
  transform: scale(1.1);
}

.news-item:hover .news-title {
  color: #3b82f6;
}

li.news-grid-featured {
  max-width: var(--max);
}

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

@media (max-width: 768px) {
  .news-carousel {
    height: 450px;
  }

  .news-img-wrap {
    flex: 0 0 160px;
    height: 110px;
  }
}

/* ==========================================================================
   TOURNAMENT DETAIL PAGE
   ========================================================================== */

.tourn-detail-page {
  padding: 30px 0 80px;
  min-height: 80vh;
}

/* Back Link */
.tourn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.3s;
}

.tourn-back-link:hover {
  color: #60a5fa;
}

/* Hero Banner */
.tourn-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}





.tourn-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tourn-hero-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Title Block */
.tourn-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.1;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}



.tourn-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
}







.tourn-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* Two Column Layout */
.tourn-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.tourn-main, .tourn-sidebar {
  min-width: 0;
  max-width: 100%;
}

/* Sections */
.tourn-section {
  margin-bottom: 44px;
}

.tourn-section-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tourn-section-text {
  color: rgba(200, 210, 230, 0.8);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* Prizes Grid */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}



.prize-card {
  background: rgba(15, 25, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.prize-card:hover {
  transform: translateY(-4px);
}

.prize-gold {
  border-color: rgba(234, 179, 8, 0.25);
}

.prize-gold:hover {
  border-color: rgba(234, 179, 8, 0.6);
}

.prize-silver {
  border-color: rgba(180, 188, 204, 0.25);
}

.prize-silver:hover {
  border-color: rgba(180, 188, 204, 0.6);
}

.prize-bronze {
  border-color: rgba(180, 100, 40, 0.25);
}

.prize-bronze:hover {
  border-color: rgba(180, 100, 40, 0.6);
}

.prize-icon {
  margin-bottom: 14px;
}

.prize-gold .prize-icon {
  color: #eab308;
}

.prize-silver .prize-icon {
  color: #94a3b8;
}

.prize-bronze .prize-icon {
  color: #b46328;
}

.prize-place {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.prize-amount {
  font-size: 14px;
  font-weight: 700;
}

.prize-gold .prize-amount {
  color: #eab308;
}

.prize-silver .prize-amount {
  color: #94a3b8;
}

.prize-bronze .prize-amount {
  color: #b46328;
}

/* Eligibility */
.eligibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eligibility-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 25, 45, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: rgba(200, 210, 230, 0.85);
  font-weight: 500;
}

.eligibility-item svg {
  color: #3b82f6;
  flex-shrink: 0;
}



/* How To */
.how-to-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-to-list li {
  color: rgba(200, 210, 230, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

/* Invite Code Box */
.tourn-invite-box {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

/* Register CTA */
.tourn-register-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}



.btn-register-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 36px;
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.btn-register-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Tabs Section */
.tourn-tabs-section {
  margin-top: 20px;
}

.tourn-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tourn-tabs::-webkit-scrollbar {
  display: none;
}

.tourn-tabs-section {
  position: relative;
}

.tourn-tabs-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 48px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}



.tourn-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  padding: 12px 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s;
}

.tourn-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.tourn-tab.active {
  color: #fff;
}

.tourn-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
}

.tourn-tab-panel {
  padding: 4px 0;
}

/* Tournament Table */
.tourn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 100%;
}

.tourn-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(15, 25, 45, 0.7);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tourn-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(200, 210, 230, 0.85);
  white-space: nowrap;
}



.tourn-table tr:hover td {
  background: rgba(59, 130, 246, 0.05);
}

/* Sidebar */
.tourn-sidebar {
  position: sticky;
  top: 90px;
}

.tourn-sidebar-card {
  background: rgba(12, 18, 30, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
}

.sidebar-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 20px;
}

.sidebar-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-detail-list li:last-child {
  border-bottom: none;
}





.detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.detail-label svg {
  color: #3b82f6;
  flex-shrink: 0;
}

.detail-value {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.btn-sidebar-register {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3);
}

.btn-sidebar-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.5);
}



/* ===== TOURNAMENT MODAL REDESIGN ===== */
.contact-form-container {
  max-width: 800px;
}

.tourn-modal {
  max-width: 760px;
  width: min(95vw, 760px);
  max-height: 90vh;
  overflow-y: auto;
  background: #0a1020;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  box-sizing: border-box;
}

.tourn-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 16px;
  position: sticky;
  top: 0;
  background: #0a1020;
  z-index: 2;
}

.tourn-modal-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #3b82f6;
  margin-bottom: 6px;
}

.tourn-modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.tourn-modal-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Form Sections */
.tourn-form-section {
  padding: 20px 32px 0;
}

.tourn-form-section:last-of-type {
  padding-bottom: 0;
}

.tourn-form-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Player Blocks */
.players-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.player-block {
  background: rgba(15, 25, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.player-block-header {
  background: rgba(59, 130, 246, 0.08);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
}

.player-block .form-grid {
  padding: 16px;
}

/* Captain Checkbox */
.captain-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  user-select: none;
}

.captain-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  flex-shrink: 0;
}

/* Modal footer buttons area */
.tourn-modal .modal-body>div:last-of-type {
  padding: 0 32px 28px;
  margin-top: 0;
}

#registerMsg {
  padding: 0 32px;
}


/* ==========================================================================
   ROSTER PAGE
   ========================================================================== */

.roster-page-header {
  padding: 30px 0 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: #3b82f6;
}

.roster-section {
  padding: 40px 0 100px;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 15 L45 15 L37 22 L40 32 L30 25 L20 32 L23 22 L15 15 L25 15 Z' fill='%233b82f6' fill-opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

.roster-titles {
  text-align: center;
  margin-bottom: 60px;
}

.roster-main-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.roster-main-title .highlight {
  color: #3b82f6;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.roster-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.player-card {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-card:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(0.2) contrast(1.1);
}

.player-card:hover .player-img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.1);
}

.player-suit {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  z-index: 2;
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.corner-tl {
  top: 15px;
  left: 15px;
}

.corner-br {
  bottom: 15px;
  right: 15px;
}

.player-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 1;
}

.player-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.player-role {
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

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

/* =========================
   TOURNAMENT PAGE RESPONSIVE FIXES (NEW LOGIC)
   ========================= */

@media (max-width: 900px) {
  /* Collapse two-column layout */
  .tourn-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Sidebar stacking order: move above content or below */
  .tourn-sidebar {
    position: static;
    order: -1; 
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }
  .tourn-detail-page {
    padding: 20px 0 60px;
    overflow-x: hidden;
    width: 100%;
  }

  /* Hero section adjustments */
  .tourn-hero-img-wrap {
    aspect-ratio: 16 / 10;
  }
  
  .tourn-name {
    font-size: clamp(24px, 6vw, 36px);
  }

  /* Prizes Grid - single column on tablet/mobile */
  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .prize-card {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
  }
  
  .prize-icon {
    margin-bottom: 0px;
  }
  
  .prize-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .prize-place {
    margin-bottom: 2px;
    font-size: 13px;
  }

  /* Eligibility list items */
  .eligibility-item {
    padding: 12px 16px;
    font-size: 13px;
    gap: 12px;
  }

  /* Sidebar details tightening */
  .tourn-sidebar-card {
    padding: 16px 14px;
    margin-bottom: 24px;
  }
  
  .sidebar-heading {
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }
  
  .sidebar-detail-list li {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .detail-label {
    font-size: 11px;
    opacity: 0.7;
  }
  
  .detail-value {
    font-size: 13px;
    text-align: left;
    width: 100%;
    color: #fff;
    white-space: normal;
  }

  /* Tabs UI */
  .tourn-tabs-section::after {
    opacity: 1; /* Shows fade out indicating scroll */
  }

  /* Registration CTA */
  .tourn-register-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .btn-register-now {
    justify-content: center;
    padding: 14px 24px;
  }
}

@media (max-width: 600px) {
  /* Tournament Modal Full-Screen on Mobile */
  .tourn-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .tourn-modal-head,
  .tourn-form-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tourn-modal-head {
    padding-top: 15px;
    padding-bottom: 12px;
  }

  .tourn-modal-title {
    font-size: 18px;
  }

  .tourn-modal .modal-body > div:last-of-type {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .tourn-modal .modal-body .btn {
    width: 100%;
    margin: 0;
  }

  /* Collapse sidebar card even tighter if needed */
  .sidebar-detail-list li {
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .tourn-name {
    font-size: clamp(22px, 8vw, 28px);
  }

  /* Meta tags wraps gracefully */
  .tourn-meta-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: flex-start;
  }
  
  .tourn-meta-chip {
    font-size: 13px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05); /* slightly more visible */
    border-radius: 8px;
  }

  /* Make tabs more compact */
  .tourn-tab {
    padding: 10px 12px;
    font-size: 11px;
  }
  
  /* Tables naturally overflow to x-scroll */
  .tourn-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================
   GLOBAL RESPONSIVE FIXES
   ========================= */

@media (max-width: 1200px) {
  .container { padding: 0 30px; }
}

@media (max-width: 992px) {
  .container { padding: 0 24px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; overflow-x: hidden; width: 100%; }
  .grid-4, .grid-3 { grid-template-columns: 1fr !important; }

  /* Hero adjustments */
  .hero h1, .hero-title { font-size: clamp(28px, 8vw, 42px) !important; }
  .hero-inner { padding: 40px 0 !important; }

  /* Header / Nav */
  .nav { gap: 10px; }
  .brand-text { font-size: 14px; }

  /* About / Community Cards */
  .community-card { width: 280px !important; min-height: 180px !important; }
  .active-card { width: 320px !important; min-height: 200px !important; }
  .community-cards-wrapper { height: 260px !important; }
  
  /* Tables */
  .table-responsive, table { overflow-x: auto; display: block; -webkit-overflow-scrolling: touch; }
  
  /* Modal */
  .form-grid, .social-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 576px) {
  .container { padding: 0 12px; overflow-x: hidden; width: 100%; }

  .hero-wordmark { width: 80%; display: block; margin: 0 auto 10px; }
  .hero h1, .community-title { font-size: clamp(24px, 10vw, 36px) !important; }

  .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
  .footer-brand { margin: 0 auto !important; }
  .footer-socials { justify-content: center !important; }

  /* General Flex wrap utility for things that might overflow */
  .detail-top, .meta, .tabs, .footer-row, .social-grid, .merch-grid, .cta-row, .partners-header, .partners-logos {
    flex-wrap: wrap !important;
  }

  .partners-logos img { max-width: 120px !important; }
}

/* ==========================================================================
   ACE ESPORTS — ENHANCEMENT STYLES
   Scroll progress · Particles · Typewriter · Counters · Countdown · Toasts
   Hamburger · Cursor glow · Stats section · News ticker · Back-to-top
   ========================================================================== */

/* ── FIX: Partners section dark theme ── */
.partners-section {
  background: #080c14 !important;
}
.partners-title {
  color: #fff !important;
}
.partner-logo {
  filter: grayscale(1) brightness(0.55) !important;
}
.partner-logo:hover {
  filter: grayscale(0) brightness(1) !important;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa, #3b82f6);
  background-size: 300% 100%;
  z-index: 9999;
  transition: width 0.08s linear;
  animation: progressGlow 3s linear infinite;
  pointer-events: none;
}
@keyframes progressGlow {
  0%   { background-position: 200% center; }
  100% { background-position: 0%   center; }
}

/* ── HERO PARTICLES CANVAS ── */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
/* Ensure hero content is above canvas */
.hero-overlay { z-index: 2; }
.hero-inner   { z-index: 3; position: relative; }

/* ── TYPEWRITER CURSOR ── */
#typewriterText::after {
  content: "|";
  color: #3b82f6;
  animation: twBlink 0.72s step-end infinite;
  margin-left: 2px;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── NEWS TICKER ── */
.news-ticker {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 9px 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerRoll 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 60px;
}
.ticker-sep {
  color: rgba(255,255,255,0.4);
  font-size: 16px;
}
.ticker-label {
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
}
@keyframes tickerRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.news-ticker:hover .ticker-track { animation-play-state: paused; }

/* ── STATS SECTION ── */
.stats-section {
  background: linear-gradient(180deg, #060b14, #070a0f);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-item {
  padding: 36px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
}
.stat-item:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 32px rgba(59,130,246,0.08);
}
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 24px rgba(59,130,246,0.45);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(156,163,175,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── COUNTDOWN TIMERS ── */
.countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  margin-top: 8px;
}
.countdown-wrap::before {
  content: "⏱";
  font-size: 10px;
  opacity: 0.7;
}
.countdown-live {
  color: #22c55e !important;
  border-color: rgba(34,197,94,0.35) !important;
  background: rgba(34,197,94,0.08) !important;
  animation: livePulseText 1.4s ease-in-out infinite;
}
@keyframes livePulseText {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 4px;
  animation: liveDotPulse 1.1s ease-in-out infinite;
}
@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

/* ── BACK TO TOP BUTTON ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,99,235,0.45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 490;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(37,99,235,0.6);
}
@media (max-width: 480px) {
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ── HAMBURGER BUTTON ── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
}
@media (max-width: 820px) {
  .hamburger-btn { display: flex; }
  .menu-toggle   { display: flex !important; }
}
.ham-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger-btn.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── CURSOR GLOW (desktop) ── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.055) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ── TOAST NOTIFICATIONS ── */
#toastContainer {
  position: fixed;
  bottom: 86px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.ace-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,12,22,0.96);
  backdrop-filter: blur(12px);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ace-toast.visible      { opacity: 1; transform: translateX(0); }
.ace-toast-success      { border-color: rgba(34,197,94,0.4); }
.ace-toast-success .toast-icon { color: #22c55e; }
.ace-toast-error        { border-color: rgba(239,68,68,0.4); }
.ace-toast-error .toast-icon   { color: #ef4444; }
.ace-toast-info         { border-color: rgba(59,130,246,0.4); }
.ace-toast-info .toast-icon    { color: #3b82f6; }
.toast-icon { font-size: 16px; font-weight: 700; flex-shrink: 0; }

/* ── ENHANCED CARD HOVER + STAGGER ANIMATION ── */
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
#featuredGrid .card,
#upcomingGrid .card {
  animation: cardFadeUp 0.45s ease both;
}
#featuredGrid .card:nth-child(2),
#upcomingGrid .card:nth-child(2) { animation-delay: 0.08s; }
#featuredGrid .card:nth-child(3),
#upcomingGrid .card:nth-child(3) { animation-delay: 0.16s; }
#featuredGrid .card:nth-child(4),
#upcomingGrid .card:nth-child(4) { animation-delay: 0.24s; }

.card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease !important;
}
.card:hover {
  box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 28px rgba(59,130,246,0.14) !important;
  border-color: rgba(59,130,246,0.4) !important;
}

/* ── SECTION REVEAL (improved) ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO TITLE GLOW ACCENT ── */
.hero-title .text-blue {
  text-shadow: 0 0 40px rgba(96,165,250,0.5);
}
.hero-title .text-red {
  text-shadow: 0 0 40px rgba(239,68,68,0.4);
}

/* ── MERCH CARD ENHANCED ── */
.merch-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}
.merch-card:hover {
  box-shadow: 0 0 30px rgba(59,130,246,0.3) !important;
}

/* ── MOBILE MENU TRANSITION ── */
.menu.mobile {
  animation: menuSlideDown 0.28s ease both;
}
@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ACE JERSEY SECTION
   ========================================================================== */
.jersey-section {
  background: linear-gradient(180deg, #070a0f, #060b14);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.jersey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(37,99,235,0.09), transparent 70%);
  pointer-events: none;
}
.jersey-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .jersey-showcase { grid-template-columns: 1fr; gap: 40px; }
}

/* Media side */
.jersey-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jersey-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.jersey-img {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(37,99,235,0.2));
  transition: transform 0.5s ease, filter 0.5s ease;
}
.jersey-img:hover {
  transform: scale(1.03) translateY(-6px);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8)) drop-shadow(0 0 60px rgba(37,99,235,0.35));
}

/* Info side */
.jersey-kicker {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.jersey-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(59,130,246,0.25);
}
.jersey-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 3px;
  margin-bottom: 24px;
}
.jersey-desc {
  color: rgba(156,163,175,0.9);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 460px;
}
.jersey-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jersey-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(229,231,235,0.9);
}
.jersey-features li svg { color: #3b82f6; flex-shrink: 0; }

.jersey-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.jersey-btn {
  font-size: 15px;
  padding: 14px 36px;
}
.jersey-link-secondary {
  color: rgba(156,163,175,0.8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.jersey-link-secondary:hover { color: #60a5fa; }

/* ==========================================================================
   NEWS PAGE — REAL CONTENT STYLES
   ========================================================================== */

/* News item featured (pinned) */
.news-item {
  display: flex;
  flex-direction: column;
  background: rgba(12,18,30,0.65);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  position: relative;
}
.news-item:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(59,130,246,0.1);
  transform: translateY(-3px);
}
.news-item-featured {
  border-color: rgba(59,130,246,0.25) !important;
  background: rgba(15,23,42,0.8) !important;
}
.news-item-pin {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(37,99,235,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Tags */
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.news-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid;
}
.tag-valorant {
  color: #f87171;
  border-color: rgba(248,113,113,0.35);
  background: rgba(248,113,113,0.08);
}
.tag-press {
  color: #a78bfa;
  border-color: rgba(167,139,250,0.35);
  background: rgba(167,139,250,0.08);
}
.tag-partner {
  color: #34d399;
  border-color: rgba(52,211,153,0.35);
  background: rgba(52,211,153,0.08);
}
.tag-video {
  color: #fbbf24;
  border-color: rgba(251,191,36,0.35);
  background: rgba(251,191,36,0.08);
}

/* Excerpt text */
.news-excerpt {
  color: rgba(156,163,175,0.85);
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 14px;
}

/* Read more link */
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s;
}
.news-read-more:hover { color: #60a5fa; }
.news-read-more-video { color: #fbbf24; }
.news-read-more-video:hover { color: #fde68a; }

/* Video overlay play button */
.news-img-video {
  position: relative;
}
.news-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.38);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.news-item:hover .news-play-btn { opacity: 1; }
.news-play-btn svg { filter: drop-shadow(0 0 12px rgba(251,191,36,0.6)); color: #fbbf24; }

/* ── TWITTER / X LIVE FEED ── */
.twitter-feed-section {
  background: #080c14;
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.twitter-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.twitter-feed-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.twitter-x-icon {
  color: #fff;
  flex-shrink: 0;
}

.twitter-feed-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.twitter-handle {
  color: #3b82f6;
}

.twitter-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d1d1d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.twitter-follow-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.twitter-embed-wrap {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  min-height: 520px;
}

.twitter-embed-wrap .twitter-timeline {
  display: block;
  min-height: 520px;
}

@media (max-width: 768px) {
  .twitter-feed-header { flex-direction: column; align-items: flex-start; }
  .twitter-feed-title { font-size: 20px; }
  .twitter-embed-wrap { border-radius: 12px; }
}
