/* ===== VECTORSTRIKES.XYZ — Main Stylesheet ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --card-bg: #1e1e35;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #2d2d4e;
  --success: #10b981;
  --warning: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

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

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent) !important;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-brand span { color: var(--primary); }

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0.8rem !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { filter: invert(1); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.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(124,58,237,0.4) 0%, rgba(6,182,212,0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.3);
  border: 1px solid var(--primary);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.45);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

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

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: var(--primary);
}

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

.game-card-body {
  padding: 1.25rem;
}

.game-genre {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.game-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-score {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.rating-stars { color: var(--warning); font-size: 0.85rem; }

/* ===== TOURNAMENT SECTION ===== */
.tournament-section {
  background: var(--dark2);
}

.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.tournament-card:hover { border-color: var(--primary); }

.tournament-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.status-live { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid #ef4444; }
.status-upcoming { background: rgba(245,158,11,0.2); color: var(--warning); border: 1px solid var(--warning); }
.status-finished { background: rgba(148,163,184,0.15); color: var(--text-muted); border: 1px solid var(--border); }

.tournament-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.tournament-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem; }

.tournament-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.tournament-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark3));
  padding: 3rem 0;
}

.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.newsletter-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.newsletter-box p { color: var(--text-muted); margin-bottom: 1.75rem; }

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

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

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

/* ===== CONTACT FORM ===== */
.contact-section { background: var(--dark2); }

.form-control-custom {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-control-custom:focus { border-color: var(--primary); }
.form-control-custom::placeholder { color: var(--text-muted); }

textarea.form-control-custom { resize: vertical; min-height: 130px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group { margin-bottom: 1.25rem; }

.form-success {
  display: none;
  background: rgba(16,185,129,0.15);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===== ABOUT ===== */
.about-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-item h5 { font-weight: 700; margin-bottom: 0.25rem; }
.feature-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.footer-brand span { color: var(--primary); }

footer p { color: var(--text-muted); font-size: 0.88rem; }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-divider {
  border-color: var(--border);
  margin: 2rem 0 1.5rem;
}

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

.footer-bottom p { margin: 0; font-size: 0.82rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

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

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--accent);
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.policy-content p, .policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content li { margin-bottom: 0.4rem; }

.policy-content a { color: var(--accent); }

.policy-updated {
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2rem;
  display: inline-block;
}

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

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== TOURNAMENTS PAGE ===== */
.tournament-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 220px;
}

#cookie-banner a { color: var(--accent); }

.cookie-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 75vh; }
  .newsletter-box { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar .row > div { margin-bottom: 1.5rem; }
}
