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

:root {
  --neon-cyan: #00e5ff;
  --neon-purple: #a855f7;
  --neon-pink: #f0abfc;
  --bg-dark: #0a0a0f;
  --bg-card: #12121c;
  --bg-nav: rgba(10,10,20,0.97);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(168,85,247,0.25);
  --radius: 10px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

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

a { color: var(--neon-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--neon-pink); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; letter-spacing: 1px;
  color: var(--neon-cyan); text-shadow: 0 0 12px var(--neon-cyan);
}
.nav-logo img { width: 36px; height: 36px; border-radius: 6px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--text-main);
  letter-spacing: 0.5px; padding: 4px 0; border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan); border-bottom-color: var(--neon-cyan);
}
.nav-cta {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff !important; border: none; padding: 8px 20px;
  border-radius: 6px; font-weight: 700; cursor: pointer;
  transition: opacity var(--transition);
}
.nav-cta:hover { opacity: 0.85; border-bottom-color: transparent !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,20,0.7) 0%, rgba(168,85,247,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 40px 20px;
}
.hero-badge {
  display: inline-block; background: rgba(0,229,255,0.15);
  border: 1px solid var(--neon-cyan); color: var(--neon-cyan);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(168,85,247,0.5);
}
.hero h1 span { color: var(--neon-cyan); text-shadow: 0 0 20px var(--neon-cyan); }
.hero p {
  font-size: 1.15rem; color: var(--text-muted); margin-bottom: 36px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff; font-weight: 700; font-size: 1rem;
  padding: 14px 32px; border-radius: 8px; border: none;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(168,85,247,0.4); color: #fff; }
.btn-outline {
  background: transparent; color: var(--neon-cyan);
  font-weight: 700; font-size: 1rem;
  padding: 13px 32px; border-radius: 8px;
  border: 2px solid var(--neon-cyan); cursor: pointer;
  transition: all var(--transition); text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--neon-cyan); color: var(--bg-dark); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--neon-cyan);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 2.2rem; font-weight: 900; color: var(--neon-cyan); text-shadow: 0 0 12px var(--neon-cyan); }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== REVIEW CARDS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(168,85,247,0.2); }
.review-card img { width: 100%; height: 200px; object-fit: cover; }
.review-card-body { padding: 20px; }
.review-genre {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--neon-purple); margin-bottom: 8px;
}
.review-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.review-card-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.review-meta { display: flex; align-items: center; justify-content: space-between; }
.score {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff; font-weight: 800; font-size: 0.85rem;
  padding: 4px 10px; border-radius: 5px;
}
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--neon-cyan); }

/* ===== TOURNAMENTS ===== */
.tournaments-section { background: var(--bg-card); }
.tournament-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; position: relative; }
.tournament-banner img { width: 100%; height: 340px; object-fit: cover; filter: brightness(0.6); }
.tournament-banner-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 20px;
}
.tournament-banner-text h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.tournament-banner-text p { color: var(--text-muted); font-size: 1rem; }
.tournaments-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tournament-item {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color var(--transition);
}
.tournament-item:hover { border-color: var(--neon-purple); }
.t-icon {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.t-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.t-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.t-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.t-tag {
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; border: 1px solid var(--border); color: var(--text-muted);
}
.t-tag.live { border-color: #22c55e; color: #22c55e; }
.t-tag.upcoming { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(168,85,247,0.15); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.about-feature-text h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.about-feature-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== NEWSLETTER / CTA ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(0,229,255,0.08) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.newsletter-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.newsletter-inner p { color: var(--text-muted); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-main); padding: 13px 18px; border-radius: 8px;
  font-size: 0.95rem; outline: none; transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--neon-cyan); }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff; font-weight: 700; padding: 13px 24px;
  border: none; border-radius: 8px; cursor: pointer;
  transition: opacity var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { opacity: 0.85; }
.form-success {
  display: none; margin-top: 16px; padding: 12px 20px;
  background: rgba(34,197,94,0.15); border: 1px solid #22c55e;
  border-radius: 8px; color: #22c55e; font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.95rem; }
.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--border);
  color: var(--text-main); padding: 12px 16px; border-radius: 8px;
  font-size: 0.95rem; outline: none; transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--neon-cyan); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-main); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--neon-cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--neon-cyan); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 80px; text-align: center;
  background: linear-gradient(180deg, rgba(168,85,247,0.1) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 820px; margin: 0 auto; padding: 60px 20px 80px;
}
.policy-content h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 12px; color: var(--neon-cyan); }
.policy-content h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.policy-content p { color: var(--text-muted); margin-bottom: 14px; }
.policy-content ul { color: var(--text-muted); padding-left: 22px; margin-bottom: 14px; }
.policy-content ul li { margin-bottom: 6px; }
.policy-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 40px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 18px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); max-width: 700px; }
.cookie-banner p a { color: var(--neon-cyan); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 9px 20px; border: none; border-radius: 6px; cursor: pointer;
}
.cookie-decline {
  background: transparent; color: var(--text-muted); font-size: 0.85rem;
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-nav); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .tournaments-list { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
