/* ===================================
   TEC ARENA - MAIN STYLESHEET
   Dark Cyberpunk Gaming Theme
   =================================== */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1422;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --border-subtle: rgba(255,255,255,0.06);
  --border-glow: rgba(0,242,254,0.25);

  --cyan: #00f2fe;
  --cyan-dim: #0072ff;
  --purple: #7c3aed;
  --purple-dim: #4c1d95;

  --bgmi-color: #f2a900;
  --bgmi-glow: rgba(242,169,0,0.35);
  --valorant-color: #ff4655;
  --valorant-glow: rgba(255,70,85,0.35);
  --ff-color: #ff5722;
  --ff-glow: rgba(255,87,34,0.35);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --glass-bg: rgba(13, 20, 34, 0.75);
  --glass-border: rgba(0, 242, 254, 0.12);
  --glass-blur: blur(16px);

  --nav-height: 70px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; height: auto; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ===== UTILITY ===== */
.hidden { display: none !important; }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7, 11, 20, 0.98);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0,242,254,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-tec { font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 900; background: linear-gradient(90deg, var(--cyan), var(--cyan-dim)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-arena { font-size: 8px; font-weight: 600; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: rgba(0,242,254,0.08);
}
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav-login {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0,242,254,0.08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-nav-login:hover {
  background: rgba(0,242,254,0.15);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0,242,254,0.2);
}
.user-avatar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0,242,254,0.06);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.nav-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  object-fit: cover;
}
.user-avatar-nav:hover .user-dropdown { display: flex; }
.user-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  min-width: 160px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  z-index: 100;
}
.dropdown-item {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.dropdown-item:hover { background: rgba(0,242,254,0.08); color: var(--cyan); }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  padding: 4px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(7,11,20,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  z-index: 999;
  padding: 12px;
}
.mobile-link {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.mobile-link:hover { color: var(--cyan); background: rgba(0,242,254,0.08); }

/* ===== PAGES ===== */
.page { display: none; padding-top: var(--nav-height); }
.page.active { display: block; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('assets/hero_banner.png') center center / cover no-repeat;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,11,20,0.95) 0%, rgba(7,11,20,0.75) 60%, rgba(7,11,20,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 40px 80px;
  margin-left: max(5vw, 40px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,242,254,0.1);
  border: 1px solid rgba(0,242,254,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--cyan);
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-games-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  animation: fadeInRight 0.8s ease 0.5s both;
}
.float-card {
  padding: 14px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
}
.float-card:hover { transform: translateX(-6px); }
.bgmi-card { border-left: 3px solid var(--bgmi-color); color: var(--bgmi-color); }
.bgmi-card:hover { background: rgba(242,169,0,0.1); box-shadow: 0 0 20px var(--bgmi-glow); }
.valorant-card { border-left: 3px solid var(--valorant-color); color: var(--valorant-color); }
.valorant-card:hover { background: rgba(255,70,85,0.1); box-shadow: 0 0 20px var(--valorant-glow); }
.ff-card { border-left: 3px solid var(--ff-color); color: var(--ff-color); }
.ff-card:hover { background: rgba(255,87,34,0.1); box-shadow: 0 0 20px var(--ff-glow); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,242,254,0.4);
}
.btn-primary.full-width { width: 100%; justify-content: center; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,242,254,0.06); }
.btn-game {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  margin-top: 12px;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 1px;
}
.see-all-link {
  font-size: 13px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-weight: 600;
}
.see-all-link:hover { gap: 10px; }

/* ===== TOURNAMENT CARDS ===== */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.tournament-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.tournament-card.bgmi-card-t { border-top: 3px solid var(--bgmi-color); }
.tournament-card.valorant-card-t { border-top: 3px solid var(--valorant-color); }
.tournament-card.ff-card-t { border-top: 3px solid var(--ff-color); }
.card-banner {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.card-banner img { width: 100%; height: 100%; object-fit: cover; }
.card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}
.card-game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bgmi-bg { background: var(--bgmi-color); color: #000; }
.valorant-bg { background: var(--valorant-color); color: #fff; }
.ff-bg { background: var(--ff-color); color: #fff; }
.card-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}
.status-live { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.4); animation: pulse-live 1.5s infinite; }
.status-upcoming { background: rgba(0,242,254,0.12); color: var(--cyan); border: 1px solid rgba(0,242,254,0.3); }
.status-completed { background: rgba(100,116,139,0.2); color: var(--text-muted); border: 1px solid rgba(100,116,139,0.3); }
@keyframes pulse-live { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); } 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); } }
.card-body { padding: 16px 18px; }
.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.card-meta-item i { color: var(--cyan); width: 14px; }
.prize-pool {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.prize-pool.bgmi-col { color: var(--bgmi-color); }
.prize-pool.valorant-col { color: var(--valorant-color); }
.prize-pool.ff-col { color: var(--ff-color); }
.teams-progress {
  margin-bottom: 14px;
}
.teams-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.teams-progress-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; }
.bgmi-fill { background: var(--bgmi-color); }
.valorant-fill { background: var(--valorant-color); }
.ff-fill { background: var(--ff-color); }
.teams-progress-label { font-size: 11px; color: var(--text-muted); display: flex; justify-content: space-between; }
.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.btn-register {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-register.bgmi-btn-r { background: var(--bgmi-color); color: #000; }
.btn-register.valorant-btn-r { background: var(--valorant-color); color: #fff; }
.btn-register.ff-btn-r { background: var(--ff-color); color: #fff; }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-register.registered { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); cursor: default; }
.btn-details {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-details:hover { border-color: var(--glass-border); color: var(--text-primary); }
.registered-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(34,197,94,0.9);
  color: #fff;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.filter-games, .filter-status { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--text-primary);
  background: rgba(0,242,254,0.08);
  border-color: var(--glass-border);
}
.filter-btn.bgmi-btn.active, .filter-btn.bgmi-btn:hover { color: var(--bgmi-color); background: rgba(242,169,0,0.1); border-color: var(--bgmi-color); }
.filter-btn.valorant-btn.active, .filter-btn.valorant-btn:hover { color: var(--valorant-color); background: rgba(255,70,85,0.1); border-color: var(--valorant-color); }
.filter-btn.ff-btn.active, .filter-btn.ff-btn:hover { color: var(--ff-color); background: rgba(255,87,34,0.1); border-color: var(--ff-color); }
.search-bar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text-muted);
  min-width: 200px;
}
.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  width: 100%;
}
.search-bar input::placeholder { color: var(--text-muted); }

/* ===== GAMES SHOWCASE ===== */
.games-section { background: linear-gradient(180deg, transparent, rgba(0,242,254,0.02), transparent); }
.games-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.game-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 420px;
  cursor: pointer;
  transition: var(--transition);
}
.game-card:hover { transform: scale(1.02); }
.game-card:hover .game-card-bg { transform: scale(1.08); }
.game-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}
.bgmi-theme .game-card-overlay { background: linear-gradient(to top, rgba(7,11,20,0.95) 0%, rgba(7,11,20,0.5) 60%, rgba(242,169,0,0.1) 100%); }
.valorant-theme .game-card-overlay { background: linear-gradient(to top, rgba(7,11,20,0.95) 0%, rgba(7,11,20,0.5) 60%, rgba(255,70,85,0.1) 100%); }
.ff-theme .game-card-overlay { background: linear-gradient(to top, rgba(7,11,20,0.95) 0%, rgba(7,11,20,0.5) 60%, rgba(255,87,34,0.1) 100%); }
.game-card:hover .game-card-overlay { background: linear-gradient(to top, rgba(7,11,20,0.98) 0%, rgba(7,11,20,0.6) 80%, transparent 100%); }
.game-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.game-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.bgmi-theme .game-icon { background: rgba(242,169,0,0.2); color: var(--bgmi-color); border: 1px solid rgba(242,169,0,0.3); }
.valorant-theme .game-icon { background: rgba(255,70,85,0.2); color: var(--valorant-color); border: 1px solid rgba(255,70,85,0.3); }
.ff-theme .game-icon { background: rgba(255,87,34,0.2); color: var(--ff-color); border: 1px solid rgba(255,87,34,0.3); }
.game-card-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}
.bgmi-theme h3 { color: var(--bgmi-color); }
.valorant-theme h3 { color: var(--valorant-color); }
.ff-theme h3 { color: var(--ff-color); }
.game-card-content p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.game-stats-mini { display: flex; gap: 12px; flex-wrap: wrap; }
.game-stats-mini span { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.bgmi-theme .btn-game { background: var(--bgmi-color); color: #000; }
.valorant-theme .btn-game { background: var(--valorant-color); color: #fff; }
.ff-theme .btn-game { background: var(--ff-color); color: #fff; }
.btn-game:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

/* ===== LIVE SECTION ===== */
.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--error);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-live 1.5s infinite;
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: stretch;
}
.live-stream-card, .live-chat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.live-stream-display {
  height: 300px;
  background: linear-gradient(135deg, #0a0f1e, #1a0a0f);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stream-placeholder {
  text-align: center;
  width: 100%;
  padding: 20px;
}
.stream-game-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.stream-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}
.stream-team { display: flex; align-items: center; gap: 12px; }
.team-name-live { font-weight: 700; font-size: 15px; color: var(--text-secondary); }
.stream-score {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary);
}
.stream-vs { font-family: 'Orbitron', sans-serif; font-size: 14px; color: var(--text-muted); font-weight: 700; }
.stream-map { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.stream-viewers {
  font-size: 13px;
  color: var(--error);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}
.live-chat-card {
  display: flex;
  flex-direction: column;
  height: 300px;
}
.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-message {
  display: flex;
  gap: 8px;
  animation: slideInChat 0.2s ease;
}
@keyframes slideInChat { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.chat-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.chat-text { font-size: 12px; color: var(--text-secondary); }
.chat-input-row {
  padding: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}
.chat-input-row input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 12px;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--glass-border); }
.chat-input-row button {
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border: none;
  border-radius: var(--radius-sm);
  color: var(--bg-primary);
  font-size: 13px;
  transition: var(--transition);
}
.chat-input-row button:hover { transform: scale(1.05); }

/* ===== TOP TEAMS ===== */
.top-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-3px); border-color: var(--glass-border); }
.team-rank {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.team-rank.rank-1 { color: #ffd700; }
.team-rank.rank-2 { color: #c0c0c0; }
.team-rank.rank-3 { color: #cd7f32; }
.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 12px;
}
.team-name-card { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.team-game-badge { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }
.team-wins { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; color: var(--cyan); }
.team-wins-label { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; }

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.news-grid-large { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--glass-border); }
.news-card-img { height: 160px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 16px; }
.news-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.news-title { font-weight: 700; font-size: 15px; line-height: 1.4; margin-bottom: 8px; }
.news-excerpt { font-size: 12px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-muted); }

/* ===== LEADERBOARD ===== */
.leaderboard-table-wrap { overflow-x: auto; }
.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.leaderboard-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.leaderboard-table tr:hover td { background: rgba(0,242,254,0.03); }
.leaderboard-table tr:nth-child(1) td { color: #ffd700; }
.leaderboard-table tr:nth-child(2) td { color: #c0c0c0; }
.leaderboard-table tr:nth-child(3) td { color: #cd7f32; }
.lb-rank { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 16px; }
.lb-team { display: flex; align-items: center; gap: 12px; }
.lb-avatar { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.lb-team-name { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.lb-game-badge { display: inline-block; padding: 3px 8px; border-radius: 100px; font-size: 10px; font-weight: 700; }
.lb-points { font-family: 'Orbitron', sans-serif; font-weight: 700; color: var(--cyan); }
.lb-prize { font-weight: 700; color: var(--success); }

/* ===== PAGE HEADER ===== */
.page-header-banner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border-subtle);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,242,254,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.page-header-banner p { font-size: 15px; color: var(--text-secondary); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-large { max-width: 700px; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(239,68,68,0.15); color: var(--error); border-color: var(--error); }
.modal-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.modal-tab.active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--bg-primary);
}
.modal-header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,242,254,0.15), rgba(0,114,255,0.15));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cyan);
  margin-bottom: 16px;
}
.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; margin-bottom: 6px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,242,254,0.1); }
select.form-input option { background: var(--bg-card); }
.input-password-wrap { position: relative; }
.input-password-wrap .form-input { padding-right: 44px; }
.toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.toggle-pw:hover { color: var(--cyan); }
.form-error { padding: 10px 14px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: var(--radius-sm); color: var(--error); font-size: 13px; margin-bottom: 14px; }
.form-success { padding: 10px 14px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); border-radius: var(--radius-sm); color: var(--success); font-size: 13px; margin-bottom: 14px; }
.form-switch { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.form-switch a { color: var(--cyan); font-weight: 600; }
.reg-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ===== TOURNAMENT MODAL DETAIL ===== */
.t-detail-header { margin-bottom: 20px; }
.t-detail-title { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.t-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.t-detail-item { background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 12px 16px; }
.t-detail-item label { display: block; font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.t-detail-item span { font-weight: 700; font-size: 15px; }
.bracket-section h3 { font-family: 'Orbitron', sans-serif; font-size: 15px; font-weight: 800; margin-bottom: 16px; color: var(--text-secondary); }
.bracket-tree { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.bracket-round { display: flex; flex-direction: column; gap: 16px; justify-content: space-around; min-width: 150px; }
.bracket-round-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-align: center; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.bracket-match { background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; }
.bracket-team {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  transition: var(--transition);
}
.bracket-team:first-child { border-bottom: 1px solid var(--border-subtle); }
.bracket-team.winner { background: rgba(0,242,254,0.1); color: var(--cyan); }
.bracket-score { font-family: 'Orbitron', sans-serif; font-weight: 800; }
.standings-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.standings-table th { padding: 10px 12px; text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); background: var(--bg-secondary); }
.standings-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); }
.standings-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}
.dashboard-right { display: flex; flex-direction: column; gap: 20px; }
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dash-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}
.dash-card h3 i { color: var(--cyan); }
.profile-avatar-big {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 20px;
}
.dash-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-stat { text-align: center; padding: 16px; background: var(--bg-secondary); border-radius: var(--radius-md); }
.dash-stat-val { display: block; font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 800; color: var(--cyan); }
.dash-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }
.my-tournament-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.my-tournament-item:last-child { margin-bottom: 0; }
.mti-name { font-weight: 700; font-size: 14px; }
.mti-game { font-size: 11px; color: var(--text-muted); }
.mti-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.my-team-member { padding: 8px 12px; background: var(--bg-secondary); border-radius: var(--radius-sm); margin-bottom: 8px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.my-team-member i { color: var(--cyan); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
@keyframes toastIn { from { transform: translateX(-50%) translateY(20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  margin-top: 60px;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 24px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .nav-logo { width: fit-content; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,242,254,0.08); }
.footer-links h4 { font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700; color: var(--text-primary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-links ul li a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .games-showcase { grid-template-columns: 1fr; }
  .game-card { height: 280px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-games-float { display: none; }
  .live-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .t-detail-grid { grid-template-columns: 1fr; }
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-content { padding: 40px 20px; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 22px; }
  .hero-actions { flex-direction: column; }
  .section { padding: 40px 16px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-bar { margin-left: 0; }
  .footer-container { grid-template-columns: 1fr; gap: 24px; }
  .tournaments-grid { grid-template-columns: 1fr; }
}

/* ===== CS2 STYLES ===== */
:root {
  --cs2-color: #ff6b35;
  --apex-color: #cd3333;
}
.cs2-bg { background: var(--cs2-color); color: #000; }
.apex-bg { background: var(--apex-color); color: #fff; }
.cs2-col { color: var(--cs2-color) !important; }
.apex-col { color: var(--apex-color) !important; }
.cs2-fill { background: var(--cs2-color); }
.apex-fill { background: var(--apex-color); }
.cs2-btn-r { background: linear-gradient(135deg, var(--cs2-color), #e05a2a); color: #000; font-weight: 800; border: none; }
.cs2-btn-r:hover { box-shadow: 0 6px 20px rgba(255,107,53,0.5); transform: translateY(-2px); }
.apex-btn-r { background: linear-gradient(135deg, var(--apex-color), #a02828); color: #fff; font-weight: 800; border: none; }
.apex-btn-r:hover { box-shadow: 0 6px 20px rgba(205,51,51,0.5); transform: translateY(-2px); }
.cs2-card-t { border-top-color: var(--cs2-color) !important; }
.apex-card-t { border-top-color: var(--apex-color) !important; }
.lb-game-badge.cs2-bg { background: rgba(255,107,53,0.15); color: var(--cs2-color); border: 1px solid rgba(255,107,53,0.3); }
.lb-game-badge.apex-bg { background: rgba(205,51,51,0.15); color: var(--apex-color); border: 1px solid rgba(205,51,51,0.3); }

/* ===== SPONSOR BADGE ON CARDS ===== */
.card-sponsor {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,215,0,0.4);
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== LOGO IMAGE STYLE ===== */
.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
}

/* ===== GAME CARD NAVIGATION ===== */
.game-select-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-select-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ===== PLAYER ID DISPLAY ===== */
.player-id-box {
  background: rgba(0,242,254,0.08);
  border: 1px solid rgba(0,242,254,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-id-box .pid-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.player-id-box .pid-value { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 800; color: var(--cyan); }

/* ===== GAMES PAGE - 5 GAME CARDS ===== */
.games-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
