/* ======================================================
   GLOBAL META / TEXT UTILITIES
====================================================== */

.game-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}


/* ======================================================
   BUTTONS
====================================================== */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Primary */
.btn-primary {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
}

/* Secondary */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: transparent;
  border-color: #fff;
  transform: translateY(-3px);
}

/* Sizes */
.btn-small { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-large { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }


/* ======================================================
   BASE CARD
====================================================== */

.card {
  background: rgba(21, 27, 46, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.15),
    0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Card states */
.card.featured { border-left: 3px solid var(--primary); }
.card.live {
  border-left: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(255, 46, 99, 0.15);
}


/* ======================================================
   GAME CARD – LOGO STYLE (COMPACT)
====================================================== */

.game-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
}

/* Logo container */
.game-logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.15),
    0 0 20px rgba(0, 240, 255, 0.25);
}

.game-logo-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
}

.game-logo-card h3 {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

/* Hover polish */
.game-logo-card:hover .game-logo-badge {
  box-shadow:
    0 0 0 1px var(--primary),
    0 0 30px rgba(0, 240, 255, 0.5);
}

.game-logo-card:hover h3 {
  color: var(--primary);
  opacity: 1;
}


/* ======================================================
   GAME CARD – VERTICAL (IMAGE + CONTENT)
====================================================== */

.game-vertical-card {
  padding: 0;
  overflow: hidden;
}

/* Image */
.game-vertical-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-vertical-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 26, 0.15),
    rgba(11, 15, 26, 0.85)
  );
}

/* Content */
.game-vertical-content {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.game-vertical-content h3 {
  font-size: 1.05rem;
  margin: 0;
}

.game-vertical-content .btn {
  align-self: center;
  margin-top: 0.75rem;
}


/* ======================================================
   BADGES
====================================================== */

.badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-live     { background: #ff2e63; color: #fff; }
.badge-active   { background: #00ff9c; color: #000; }
.badge-upcoming { background: #ffd166; color: #000; }
.badge-ended    { background: #666; color: #fff; }


/* ======================================================
   TABLES
====================================================== */

thead th {
  font-size: 0.8rem;
  opacity: 0.7;
}

tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}


/* ======================================================
   SECTION HEADINGS
====================================================== */

section h2 {
  margin-bottom: 2rem;
}

section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.1em;
  margin-right: 0.75rem;
  background: var(--primary);
  border-radius: 2px;
  vertical-align: middle;
}


/* ======================================================
   INPUTS
====================================================== */

.input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
}

.input::placeholder {
  color: rgba(255,255,255,0.5);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

/* ===============================
   GLOBAL GAME LEADER CARD
================================ */

.game-leader-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.game-leader-card .leader-name {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* ======================================
   SHARED PAGE SECTIONS
====================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 46, 99, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(21, 27, 46, 0.95), rgba(11, 15, 26, 0.96));
  border-bottom: 1px solid var(--border-light);
}

.hero-section .hero-content {
  max-width: 760px;
}

.hero-section .hero-content h1 {
  margin-bottom: 0.8rem;
}

.hero-section .hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.cta-section {
  text-align: center;
  margin-top: var(--section-space);
  background:
    linear-gradient(180deg, rgba(11, 15, 26, 0.9), rgba(7, 10, 20, 0.96));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding:20px 0;
}

.cta-section h2 {
  margin-bottom: 0.6rem;
}

.cta-section p {
  margin: 0 auto 1.8rem;
  max-width: 640px;
}
