/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0d0f14;
  color: #e0e4ef;
  line-height: 1.6;
}
a { color: #7c6af5; text-decoration: none; transition: color .2s; }
a:hover { color: #a99fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --accent: #7c6af5;
  --accent2: #e040fb;
  --dark: #0d0f14;
  --dark2: #13161e;
  --dark3: #1a1e2a;
  --card: #181c27;
  --border: #252a3a;
  --text: #e0e4ef;
  --muted: #8890a8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.5);
}

/* ===== HEADER / NAV ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,15,20,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: var(--text);
  letter-spacing: -.5px;
}
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 4px; }
nav ul li a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--dark3); color: var(--text);
}
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important;
}
.nav-cta:hover { background: #6a58e0 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 600px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,15,20,.92) 40%, rgba(13,15,20,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  width: 100%;
}
.hero-tag {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  line-height: 1.15; max-width: 640px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 10px; font-size: 1rem;
  border: none; cursor: pointer; transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: #6a58e0; transform: translateY(-2px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text); font-weight: 700;
  padding: 13px 28px; border-radius: 10px; font-size: 1rem;
  border: 2px solid var(--border); cursor: pointer; transition: border-color .2s, transform .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
section { padding: 72px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  margin-bottom: 12px; line-height: 1.2;
}
.section-sub { color: var(--muted); max-width: 560px; margin-bottom: 48px; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: var(--muted); margin-bottom: 10px;
}
.badge {
  background: var(--dark3); color: var(--accent);
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.score-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1a2a1a; color: #4caf50; font-weight: 800; font-size: .9rem;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.score-badge.great { background: #1a2a1a; color: #4caf50; }
.score-badge.good { background: #2a2a1a; color: #ffc107; }
.score-badge.ok { background: #2a1a1a; color: #ff5722; }
.read-more {
  font-size: .88rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}
.read-more:hover { color: #a99fff; }

/* ===== FEATURED STRIP ===== */
.featured-strip {
  background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.featured-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.featured-inner img { border-radius: var(--radius); width: 100%; height: 340px; object-fit: cover; }
.featured-text .section-label { margin-bottom: 8px; }
.featured-text h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 14px; }
.featured-text p { color: var(--muted); margin-bottom: 24px; }

/* ===== TOURNAMENTS ===== */
.tournament-list { display: flex; flex-direction: column; gap: 16px; }
.t-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
  transition: border-color .2s;
}
.t-card:hover { border-color: var(--accent); }
.t-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--dark3); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.t-info { flex: 1; }
.t-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.t-info p { font-size: .85rem; color: var(--muted); }
.t-meta { text-align: right; }
.t-status {
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 4px; display: inline-block;
}
.t-status.live { background: rgba(229,57,53,.15); color: #ef5350; }
.t-status.upcoming { background: rgba(124,106,245,.15); color: var(--accent); }
.t-status.ended { background: rgba(100,100,100,.15); color: var(--muted); }
.t-date { font-size: .82rem; color: var(--muted); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, #1a1630 0%, #0d0f14 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  max-width: 640px; margin: 0 auto; text-align: center; padding: 72px 24px;
}
.newsletter h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 12px; }
.newsletter p { color: var(--muted); margin-bottom: 32px; }
.nl-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nl-form input {
  flex: 1; min-width: 220px; padding: 13px 18px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.nl-form input:focus { border-color: var(--accent); }
.nl-form button {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 13px 24px; border-radius: 10px; border: none; cursor: pointer;
  font-size: .95rem; transition: background .2s;
}
.nl-form button:hover { background: #6a58e0; }
.form-msg { margin-top: 14px; font-size: .9rem; min-height: 22px; }
.form-msg.success { color: #4caf50; }
.form-msg.error { color: #ef5350; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start;
}
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-detail { display: flex; flex-direction: column; gap: 14px; }
.c-item { display: flex; gap: 12px; align-items: flex-start; }
.c-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--dark3); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.c-text strong { display: block; font-size: .88rem; color: var(--text); }
.c-text span { font-size: .85rem; color: var(--muted); }
.contact-form-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: .95rem;
  outline: none; transition: border-color .2s; font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark3); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-grid img { border-radius: var(--radius); width: 100%; height: 380px; object-fit: cover; }
.about-text h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.stats-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.stat span { font-size: .82rem; color: var(--muted); }

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: var(--dark2); border-bottom: 1px solid var(--border);
  padding: 64px 24px 48px;
  text-align: center;
}
.policy-hero h1 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; margin-bottom: 12px; }
.policy-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.policy-body { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.policy-body h2 { font-size: 1.3rem; font-weight: 800; margin: 36px 0 12px; color: var(--text); }
.policy-body h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; color: var(--accent); }
.policy-body p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.policy-body ul { margin: 0 0 14px 20px; list-style: disc; }
.policy-body ul li { color: var(--muted); margin-bottom: 6px; line-height: 1.7; }
.policy-body a { color: var(--accent); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: .88rem; color: var(--muted); max-width: 700px; }
#cookie-banner p a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  padding: 9px 20px; border-radius: 8px; font-size: .88rem; font-weight: 600; cursor: pointer; border: none;
}
#cookie-accept { background: var(--accent); color: #fff; }
#cookie-decline { background: var(--dark3); color: var(--muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .82rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark2); border-bottom: 1px solid var(--border);
  padding: 64px 24px 48px;
}
.page-hero .container { display: flex; align-items: center; gap: 16px; }
.page-hero h1 { font-size: clamp(1.6rem,3vw,2.6rem); font-weight: 900; }
.page-hero p { color: var(--muted); margin-top: 8px; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--accent); }

/* ===== REVIEW DETAIL ===== */
.review-detail { max-width: 820px; }
.review-hero-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.review-meta-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.big-score {
  font-size: 2.4rem; font-weight: 900; color: #4caf50;
  background: rgba(76,175,80,.1); padding: 8px 18px; border-radius: 10px;
}
.review-detail h2 { font-size: 1.25rem; font-weight: 800; margin: 28px 0 10px; }
.review-detail p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros, .cons {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px;
}
.pros h4 { color: #4caf50; margin-bottom: 10px; }
.cons h4 { color: #ef5350; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; }
.pros ul li::before { content: '✓ '; color: #4caf50; }
.cons ul li::before { content: '✗ '; color: #ef5350; }
.pros ul li, .cons ul li { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-inner img { height: 240px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark2); border-bottom: 1px solid var(--border);
    padding: 12px 16px; gap: 4px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 1.8rem; }
}
