/* ============================== */
/*  ARKDEMIA — Road to Battle     */
/*  Coliseum — Gaming Dark Theme  */
/* ============================== */

/* ---- Reset & Root ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Base Colors */
  --bg: hsl(225, 25%, 8%);
  --bg2: hsl(225, 20%, 12%);
  --surface: hsl(225, 18%, 14%);
  --surface-hover: hsl(225, 18%, 18%);
  --border: hsl(225, 15%, 20%);
  --fg: hsl(0, 0%, 95%);
  --muted-fg: hsl(225, 10%, 55%);

  /* SF6: Red/Orange (default) */
  --accent: hsl(10, 90%, 50%);
  --accent-dim: hsl(10, 70%, 35%);
  --accent-glow: hsla(10, 90%, 50%, 0.25);
  --accent-bright: hsl(15, 100%, 55%);

  /* 2XKO: Green */
  --green: hsl(80, 85%, 50%);
  --green-dim: hsl(80, 60%, 30%);
  --green-glow: hsla(80, 85%, 50%, 0.25);

  /* Purple for logo glow */
  --purple: hsl(270, 60%, 55%);
  --purple-glow: hsla(270, 60%, 55%, 0.4);

  /* Rank Colors */
  --gold: hsl(45, 100%, 55%);
  --silver: hsl(210, 15%, 70%);
  --bronze: hsl(25, 60%, 50%);

  /* Typography */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
}

/* ---- Game themes ---- */
body[data-game="sf6"] {
  --accent: hsl(10, 90%, 50%);
  --accent-dim: hsl(10, 70%, 35%);
  --accent-glow: hsla(10, 90%, 50%, 0.25);
  --accent-bright: hsl(15, 100%, 55%);
}

body[data-game="2xko"] {
  --accent: hsl(80, 85%, 50%);
  --accent-dim: hsl(80, 60%, 30%);
  --accent-glow: hsla(80, 85%, 50%, 0.25);
  --accent-bright: hsl(80, 100%, 55%);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Scanline overlay */
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 4px);
  pointer-events: none;
  z-index: 9999;
}

/* ---- Top Navbar ---- */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: hsla(225, 25%, 8%, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.navbar-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.navbar-brand .brand-accent {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--accent);
}

.navbar-social {
  display: flex;
  gap: 1rem;
}

.navbar-social .social-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s;
}

.navbar-social .social-btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent-dim);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  /* Increased top padding for fixed navbar */
  position: relative;
  z-index: 1;
}

/* ---- Hero ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 0;
}

.hero-logo {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px var(--purple-glow));
  transition: filter 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}

.hero-logo:hover {
  filter: drop-shadow(0 0 60px hsla(270, 60%, 55%, 0.7));
  transform: scale(1.05);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--fg);
  text-shadow:
    0 0 40px hsla(270, 60%, 55%, 0.3),
    0 0 80px hsla(270, 60%, 55%, 0.1);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-fg);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted-fg);
  margin-top: 1rem;
  max-width: 380px;
  letter-spacing: 0.02em;
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent-dim), var(--border), transparent);
  margin-bottom: 2rem;
}

/* ---- Game Selector ---- */
.game-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 110px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.game-btn:hover {
  background: var(--surface-hover);
  border-color: var(--muted-fg);
}

.game-btn-logo {
  height: 150px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(0.7) brightness(0.6);
  transition: filter 0.25s ease;
}

.game-btn:hover .game-btn-logo {
  filter: grayscale(0.3) brightness(0.8);
}

.game-btn.active .game-btn-logo {
  filter: none;
}

/* SF6 active: subtle warm */
#btn-sf6.active {
  background: hsla(10, 70%, 50%, 0.12);
  border-color: hsla(10, 80%, 55%, 0.5);
  box-shadow: 0 0 20px hsla(10, 80%, 50%, 0.1);
}

/* 2XKO active: subtle green */
#btn-2xko.active {
  background: hsla(80, 70%, 50%, 0.12);
  border-color: hsla(80, 80%, 50%, 0.5);
  box-shadow: 0 0 20px hsla(80, 80%, 50%, 0.1);
}

/* ---- Header (Circuit Info) ---- */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  gap: 0.75rem;
}

.header-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.title-game {
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  color: var(--fg);
  text-shadow: 0 0 30px hsla(0, 0%, 100%, 0.1);
}

.title-circuit {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-shadow: 0 0 25px var(--accent-glow);
}

/* ---- Header Meta ---- */
.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subtitle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.subtitle-icon {
  font-size: 1rem;
}



/* ---- Event Tabs ---- */
.event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted-fg);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--surface-hover);
  color: var(--fg);
  border-color: var(--muted-fg);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  font-weight: 700;
}

/* ---- Loading ---- */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted-fg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-msg {
  padding: 2rem;
  text-align: center;
  color: hsl(0, 70%, 60%);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: hsla(0, 70%, 50%, 0.08);
  border: 1px solid hsla(0, 70%, 50%, 0.2);
  border-radius: var(--radius);
}

/* ---- Column Headers ---- */
.column-headers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.col-left {
  display: flex;
  gap: 1.5rem;
}

.col-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
}

/* ---- Leaderboard ---- */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  animation: slideIn 0.4s ease both;
}

.lb-row:hover {
  background: var(--surface-hover);
  transform: translateX(4px);
}

.lb-row.rank-1 {
  background: linear-gradient(90deg, hsla(45, 100%, 55%, 0.18), var(--surface));
  border-left-color: var(--gold);
  box-shadow: 0 0 20px hsla(45, 100%, 55%, 0.15);
}

.lb-row.rank-2 {
  background: linear-gradient(90deg, hsla(210, 40%, 85%, 0.22), var(--surface));
  border-left-color: hsl(210, 40%, 85%);
  box-shadow: 0 0 20px hsla(210, 40%, 85%, 0.15);
}

.lb-row.rank-3 {
  background: linear-gradient(90deg, hsla(25, 90%, 65%, 0.18), var(--surface));
  border-left-color: var(--bronze);
  box-shadow: 0 0 20px hsla(25, 90%, 65%, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.lb-row:nth-child(1) {
  animation-delay: 0s;
}

.lb-row:nth-child(2) {
  animation-delay: 0.04s;
}

.lb-row:nth-child(3) {
  animation-delay: 0.08s;
}

.lb-row:nth-child(4) {
  animation-delay: 0.12s;
}

.lb-row:nth-child(5) {
  animation-delay: 0.16s;
}

.lb-row:nth-child(6) {
  animation-delay: 0.2s;
}

.lb-row:nth-child(7) {
  animation-delay: 0.24s;
}

.lb-row:nth-child(8) {
  animation-delay: 0.28s;
}

.lb-row:nth-child(9) {
  animation-delay: 0.32s;
}

.lb-row:nth-child(10) {
  animation-delay: 0.36s;
}

.lb-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Load More Button Wrapper */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.load-more-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-btn:hover {
  background: var(--surface-hover);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.r1 {
  background: linear-gradient(135deg, var(--gold), hsl(40, 85%, 45%));
  color: hsl(40, 40%, 10%);
  box-shadow: 0 0 18px hsla(45, 100%, 55%, 0.4);
}

.r2 {
  background: linear-gradient(135deg, var(--silver), hsl(210, 10%, 55%));
  color: hsl(210, 10%, 15%);
  box-shadow: 0 0 12px hsla(210, 15%, 70%, 0.3);
}

.r3 {
  background: linear-gradient(135deg, var(--bronze), hsl(25, 50%, 40%));
  color: hsl(25, 30%, 10%);
  box-shadow: 0 0 12px hsla(25, 60%, 50%, 0.3);
}

.r-default {
  background: var(--bg2);
  color: var(--muted-fg);
  border: 1px solid var(--border);
}

.player-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lb-right {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.points-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.points-unit {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Player Detail Expand ---- */
.lb-row {
  cursor: pointer;
}

.lb-row .expand-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted-fg);
  transition: transform 0.3s ease;
}

.lb-row.expanded .expand-arrow {
  transform: rotate(180deg);
}

.player-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin: 0 0 0 0;
}

.player-detail.open {
  max-height: 500px;
  opacity: 1;
  margin: -2px 0 6px 0;
}

.detail-table {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 2px solid var(--accent);
  padding: 0.75rem 1rem;
}

/* Dynamic detail-table borders based on the expanded row above them */
.lb-row.expanded+.player-detail .detail-table {
  border-top-color: var(--accent);
  /* Default for other ranks */
}

.lb-row.rank-1.expanded+.player-detail .detail-table {
  border-top-color: var(--gold);
}

.lb-row.rank-2.expanded+.player-detail .detail-table {
  border-top-color: var(--silver);
}

.lb-row.rank-3.expanded+.player-detail .detail-table {
  border-top-color: var(--bronze);
}

.detail-table table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table th {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-table th:last-child {
  text-align: right;
}

.detail-table td {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid hsla(225, 15%, 20%, 0.4);
}

.detail-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}

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

.detail-table .detail-total td {
  border-top: 1px solid var(--border);
  font-weight: 800;
  color: var(--fg);
  padding-top: 0.6rem;
}

.detail-table .detail-total td:last-child {
  color: var(--accent);
}

.photo-gallery {
  margin-top: 2.5rem;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--fg);
}

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

.gallery-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.4), 0 0 20px var(--accent-glow);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-card-label {
  padding: 0.6rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  text-align: center;
}

/* ---- Stats Footer ---- */
.stats-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent-dim);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.stat-icon {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.svg-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.stat-leader {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
}

.stat-etapas {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
}

/* ---- Site Footer ---- */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 1.5rem 1.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.footer-brand .brand-accent {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-fg);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.social-col a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
}

.dev-credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.dev-credit a:hover {
  text-decoration: underline;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px hsla(0, 0%, 0%, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    gap: 1.5rem;
  }

  .hero-logo {
    width: 180px;
    height: 180px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .title-game {
    font-size: 3rem;
  }

  .game-btn {
    width: 160px;
    height: 80px;
  }
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    align-items: center;
  }

  .instagram-link {
    align-self: center;
  }

  .container {
    padding: 1rem 0.75rem 2rem;
  }

  .header-title {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .title-game {
    font-size: 3.5rem;
  }

  .title-circuit {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

  .navbar-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar-links {
    gap: 1rem;
  }

  .container {
    padding-top: 7rem;
  }

  .stats-footer {
    grid-template-columns: 1fr;
  }

  .game-btn {
    width: 140px;
    height: 70px;
  }

  .game-btn-logo {
    height: 80px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* Social Icons */
.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-icon-footer {
  width: 16px;
  height: 16px;
  object-fit: contain;
}