/* ============================================================
   TEMPLO PREMIUM V7 — GAMING / ESPORTS THEME
   Core Stylesheet
   Colors: #000 (bg), #ef4444 (red), #06b6d4 (cyan), #eab308 (gold)
   Font: Inter (Google Fonts)
   ============================================================ */

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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  --red-glow: rgba(239, 68, 68, 0.4);
  --cyan: #06b6d4;
  --cyan-dim: rgba(6, 182, 212, 0.15);
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --gold: #eab308;
  --gold-dim: rgba(234, 179, 8, 0.15);
  --gold-glow: rgba(234, 179, 8, 0.4);
  --text-primary: #f1f1f1;
  --text-secondary: #888888;
  --text-muted: #555555;
  --border-color: #222222;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Titles ---------------------------------------- */
.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  position: relative;
  padding-left: 40px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title .highlight-red { color: var(--red); }
.section-title .highlight-cyan { color: var(--cyan); }
.section-title .highlight-gold { color: var(--gold); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-red:hover {
  background: #dc2626;
  box-shadow: 0 0 35px var(--red-glow);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-cyan:hover {
  background: #0891b2;
  box-shadow: 0 0 35px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-gold:hover {
  background: #d97706;
  box-shadow: 0 0 35px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

/* --- Header / Navbar --------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(239, 68, 68, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
}
.logo span { color: var(--text-primary); }
.logo .logo-accent { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero -------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(234, 179, 8, 0.05) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--red-dim);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; color: var(--red); }
.hero-title .line-3 { display: block; color: var(--text-primary); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
}
.hero-visual-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  animation: spin-ring 30s linear infinite;
}
.hero-visual-ring:nth-child(2) {
  border-color: rgba(6, 182, 212, 0.08);
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  animation-direction: reverse;
  animation-duration: 25s;
}
.hero-visual-ring:nth-child(3) {
  border-color: rgba(234, 179, 8, 0.06);
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  animation-duration: 20s;
}
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Featured Tournaments (Home) -------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.tournament-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.tournament-card-banner {
  height: 140px;
  background: linear-gradient(135deg, var(--red-dim), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.tournament-card-banner .game-icon {
  font-size: 3rem;
  opacity: 0.3;
}
.tournament-card-banner .live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--red);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.tournament-card-banner .live-badge .dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.tournament-card-banner .prize-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
}
.tournament-card-body {
  padding: 24px;
}
.tournament-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tournament-card-body .meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.tournament-card-body .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tournament-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Leaderboard Table ------------------------------------- */
.leaderboard-table-wrap {
  overflow-x: auto;
  margin-top: 48px;
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.leaderboard-table thead th {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.leaderboard-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
}
.leaderboard-table tbody tr:hover {
  background: var(--bg-card);
}
.leaderboard-table tbody td {
  padding: 18px 20px;
  vertical-align: middle;
}
.leaderboard-table .rank {
  font-weight: 800;
  font-size: 1.1rem;
  width: 48px;
}
.leaderboard-table .rank-1 { color: var(--gold); }
.leaderboard-table .rank-2 { color: var(--text-secondary); }
.leaderboard-table .rank-3 { color: var(--red); }
.leaderboard-table .player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.leaderboard-table .player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #000;
}
.leaderboard-table .player-name {
  font-weight: 600;
}
.leaderboard-table .player-team {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.leaderboard-table .score {
  font-weight: 700;
  color: var(--cyan);
}
.leaderboard-table .kills {
  color: var(--red);
  font-weight: 600;
}
.leaderboard-table .win-rate {
  color: var(--gold);
  font-weight: 600;
}
.leaderboard-table .change {
  font-size: 0.8rem;
}
.leaderboard-table .change.up { color: #22c55e; }
.leaderboard-table .change.down { color: var(--red); }

/* --- Blog Cards -------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--cyan-dim), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}
.blog-card-img .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--cyan);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #000;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-body .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-body .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- About Page -------------------------------------------- */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
}
.about-hero .section-desc {
  margin: 0 auto;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.about-stat-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}
.about-stat-card .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 8px;
}
.about-stat-card .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 80px;
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-visual {
  position: relative;
  height: 400px;
}
.about-visual-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red-dim), var(--cyan-dim));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.about-visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Team Section (About) ---------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-4px);
}
.team-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}
.team-card h4 {
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Contact Page ------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 48px;
}
.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23888'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* --- Social Links ------------------------------------------- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* --- Footer ------------------------------------------------ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Page Header (internal pages) --------------------------- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(239, 68, 68, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header .section-title {
  font-size: 3rem;
}
.page-header .section-desc {
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--cyan);
}
.breadcrumb .sep {
  margin: 0 8px;
}

/* --- Pagination --------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  color: var(--text-secondary);
}
.pagination a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.pagination .active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
}

/* --- Filters (tournaments/leaderboard) --------------------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.filter-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}
.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
}

/* --- Animations -------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeUp 0.6s ease forwards;
}
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }
.animate-in.delay-4 { animation-delay: 0.4s; }

/* Scroll-triggered: added via JS intersection observer */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Glow text effect -------------------------------------- */
.text-glow-red {
  text-shadow: 0 0 20px var(--red-glow), 0 0 40px rgba(239, 68, 68, 0.2);
}
.text-glow-cyan {
  text-shadow: 0 0 20px var(--cyan-glow), 0 0 40px rgba(6, 182, 212, 0.2);
}
.text-glow-gold {
  text-shadow: 0 0 20px var(--gold-glow), 0 0 40px rgba(234, 179, 8, 0.2);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .featured-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0,0,0,0.98);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1rem; }
  .nav-cta { margin-left: 0; }
  .hamburger { display: flex; }

  .featured-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-stats,
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-header .section-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .about-stat-card .number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 1.8rem; }
  .hero-stat h3 { font-size: 1.4rem; }
  .tournament-card-body { padding: 16px; }
  .blog-card-body { padding: 16px; }
  .contact-form { padding: 24px; }
}
