/* OrbitClasher - Main Stylesheet */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --card-bg: #1e1e3a;
  --border: #2d2d5e;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
}

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

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

/* ── NAVBAR ── */
.navbar {
  background: rgba(15,15,26,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.navbar-brand span { -webkit-text-fill-color: var(--accent); }
.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 0.9rem !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: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark2);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,15,26,0.95) 40%, rgba(15,15,26,0.4));
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  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.15;
  margin-bottom: 1.25rem;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; margin-bottom: 2rem; }

/* ── BUTTONS ── */
.btn-primary-custom {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-custom:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }
.btn-outline-custom {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.72rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-custom:hover { background: var(--accent); color: var(--dark); }

/* ── SECTION TITLES ── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-title .accent { color: var(--accent); }
.section-subtitle { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ── CARDS ── */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(124,58,237,0.25); }
.game-card img { width: 100%; height: 200px; object-fit: cover; }
.game-card-body { padding: 1.25rem; }
.game-card-body h5 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1.1rem; }
.game-card-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.rating-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.5rem; }
.genre-badge {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  color: var(--primary);
  border: 1px solid rgba(124,58,237,0.4);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ── TOURNAMENT CARD ── */
.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tournament-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(6,182,212,0.2); }
.tournament-card img { width: 100%; height: 220px; object-fit: cover; }
.tournament-card-body { padding: 1.4rem; }
.tournament-card-body h4 { font-weight: 800; margin-bottom: 0.6rem; }
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-live { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.4); }
.status-upcoming { background: rgba(124,58,237,0.15); color: var(--primary); border: 1px solid rgba(124,58,237,0.4); }
.status-ended { background: rgba(148,163,184,0.1); color: var(--text-muted); border: 1px solid rgba(148,163,184,0.3); }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}
.newsletter-section h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.75rem; }
.newsletter-section 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(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ── FORMS ── */
.form-control-custom {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.form-control-custom:focus { border-color: var(--accent); }
.form-control-custom::placeholder { color: var(--text-muted); }
.form-label-custom { font-weight: 600; margin-bottom: 0.4rem; display: block; font-size: 0.9rem; color: var(--text-muted); }
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--success);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ── CONTACT CARD ── */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-card h6 { font-weight: 700; color: var(--accent); margin-bottom: 0.4rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}
footer h5 {
  font-weight: 800;
  margin-bottom: 1.1rem;
  font-size: 1rem;
  color: var(--text);
}
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
footer a:hover { color: var(--accent); }
.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb-custom { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; }
.breadcrumb-custom a { color: var(--accent); text-decoration: none; }
.breadcrumb-custom a:hover { text-decoration: underline; }

/* ── POLICY PAGE ── */
.policy-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}
.policy-content h2 { font-size: 1.35rem; font-weight: 800; color: var(--accent); margin: 2rem 0 0.75rem; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: var(--text-muted); margin-bottom: 0.75rem; }
.policy-content ul { padding-left: 1.5rem; }
.policy-content strong { color: var(--text); }

/* ── REVIEW PAGE ── */
.review-hero-img { width: 100%; border-radius: 14px; object-fit: cover; max-height: 420px; margin-bottom: 2rem; }
.review-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.review-meta span { background: var(--card-bg); border: 1px solid var(--border); padding: 0.3rem 0.9rem; border-radius: 50px; font-size: 0.85rem; color: var(--text-muted); }
.score-box {
  background: var(--gradient);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.score-box .score-num { font-size: 3.5rem; font-weight: 900; color: #fff; line-height: 1; }
.score-box .score-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 0.25rem; }
.pros-cons { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.pros-cons h6 { font-weight: 700; margin-bottom: 0.75rem; }
.pros-cons ul { list-style: none; padding: 0; }
.pros-cons ul li { padding: 0.3rem 0; font-size: 0.92rem; color: var(--text-muted); }
.pros-cons ul li::before { margin-right: 0.5rem; }
.pros li::before { content: '✓'; color: var(--success); }
.cons li::before { content: '✗'; color: #ef4444; }

/* ── ABOUT ── */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s;
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.team-card h6 { font-weight: 700; margin-bottom: 0.25rem; }
.team-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ── UTILITIES ── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-dark-card { background: var(--card-bg); }
.border-custom { border: 1px solid var(--border); }
.rounded-custom { border-radius: 14px; }

/* ── 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;
  gap: 1rem;
  flex-wrap: wrap;
}
#cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .policy-content { padding: 1.5rem; }
}
