/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0d0d1a;
  --bg-card: #13132b;
  --bg-nav: #0a0a16;
  --accent: #6c3fff;
  --accent-light: #9d6fff;
  --accent-glow: rgba(108,63,255,0.25);
  --neon-pink: #ff4d6d;
  --neon-green: #4dffb4;
  --text-primary: #f0f0ff;
  --text-secondary: #a0a0c0;
  --text-muted: #606080;
  --border: #2a2a4a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-accent: 0 0 20px rgba(108,63,255,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ===== BADGE / TAG ===== */
.badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 22, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar-logo span.accent { color: var(--accent-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: var(--accent-glow);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 8px !important;
}

.nav-cta:hover { background: var(--accent-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.85) 0%, rgba(108,63,255,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content h1 .highlight { color: var(--accent-light); }
.hero-content p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 560px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(108,63,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.hero-stat .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-accent);
  border-color: var(--accent);
}

.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  background: var(--accent-glow);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}
.card-date { font-size: 0.8rem; color: var(--text-muted); }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-primary); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent-light); }
.card-excerpt { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1rem; }

/* Rating stars */
.rating { display: flex; gap: 3px; margin-bottom: 0.75rem; }
.star { color: #ffd700; font-size: 0.9rem; }
.star.empty { color: var(--text-muted); }
.rating-score { font-size: 0.85rem; color: var(--text-muted); margin-left: 0.4rem; }

/* ===== GRID LAYOUTS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== FEATURED REVIEW ===== */
.featured-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-review img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

.featured-review-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-review-body .badge { margin-bottom: 0.75rem; }
.featured-review-body h2 { margin-bottom: 1rem; }
.featured-review-body p { margin-bottom: 1.5rem; }

/* ===== TOURNAMENTS ===== */
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}

.tournament-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}

.tournament-card img { width: 100%; height: 220px; object-fit: cover; }

.tournament-card-body { padding: 1.5rem; }

.tournament-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tournament-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.status-live { background: rgba(255,77,109,0.15); color: var(--neon-pink); border: 1px solid var(--neon-pink); }
.status-upcoming { background: rgba(77,255,180,0.1); color: var(--neon-green); border: 1px solid var(--neon-green); }
.status-ended { background: rgba(96,96,128,0.2); color: var(--text-muted); border: 1px solid var(--text-muted); }

.tournament-date { font-size: 0.82rem; color: var(--text-muted); }
.tournament-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.tournament-game { font-size: 0.85rem; color: var(--accent-light); margin-bottom: 1rem; }

.tournament-info {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.t-info-item { font-size: 0.82rem; color: var(--text-secondary); }
.t-info-item strong { color: var(--text-primary); display: block; font-size: 0.9rem; }

/* ===== NEWSLETTER / CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(108,63,255,0.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 520px; margin: 0 auto 2rem; }

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-form input:focus { border-color: var(--accent); }
.subscribe-form input::placeholder { color: var(--text-muted); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.75rem 1.1rem;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  background: rgba(77,255,180,0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1.25rem; }

.about-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.about-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(108,63,255,0.07) 0%, transparent 100%);
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--text-secondary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 1rem; display: block; }
.footer-brand .logo span { color: var(--accent-light); }
.footer-brand p { font-size: 0.88rem; margin-bottom: 1.25rem; }

.footer-col h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent-light); }

.footer-address { font-size: 0.82rem; color: var(--text-muted); font-style: normal; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--accent-light); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 13, 26, 0.97);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--accent-light); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.policy-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text-primary); }
.policy-content h3 { font-size: 1.15rem; margin: 1.75rem 0 0.75rem; color: var(--accent-light); }
.policy-content p { margin-bottom: 1rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { color: var(--text-secondary); margin-bottom: 0.4rem; }
.policy-content .last-updated { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.25rem; }
.contact-info p { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong { display: block; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 0.2rem; }
.contact-detail-text span { font-size: 0.85rem; color: var(--text-secondary); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-card h3 { margin-bottom: 1.75rem; }

/* ===== REVIEWS PAGE ===== */
.reviews-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .featured-review { grid-template-columns: 1fr; }
  .featured-review img { min-height: 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 1rem; }

  .hero { min-height: 70vh; }
  .hero-stats { gap: 1.5rem; }
  .cta-section { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
