/* ============================================================
   OrbitStrike.info — Main Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #0d0f1a;
  --clr-surface:  #151828;
  --clr-card:     #1c2035;
  --clr-border:   #252a45;
  --clr-accent:   #00b4ff;
  --clr-orange:   #ff6a00;
  --clr-text:     #e2e8f0;
  --clr-muted:    #8892a4;
  --clr-white:    #ffffff;
  --radius:       10px;
  --shadow:       0 4px 24px rgba(0,0,0,.45);
  --transition:   .25s ease;
  --font-main:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-orange); }

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

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-white);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Helpers ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section    { padding: 80px 0; }
.section--alt { background: var(--clr-surface); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header p { color: var(--clr-muted); max-width: 600px; margin: 12px auto 0; }

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-accent), #0077cc);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent), #0077cc);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,180,255,.35); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
}
.btn-outline:hover { background: var(--clr-accent); color: #fff; }
.btn-orange {
  background: linear-gradient(135deg, var(--clr-orange), #cc4400);
  color: #fff;
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,106,0,.35); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,15,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-white);
  text-decoration: none;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 6px; }
.nav-logo span { color: var(--clr-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--clr-text);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--clr-accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 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-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: var(--clr-accent); }
.hero-content p { font-size: 1.15rem; color: var(--clr-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
}
.stat-item span { font-size: .85rem; color: var(--clr-muted); margin-top: 4px; display: block; }

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .8rem;
  color: var(--clr-muted);
}
.card-meta .tag {
  background: rgba(0,180,255,.12);
  color: var(--clr-accent);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
}
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--clr-muted); font-size: .9rem; margin-bottom: 16px; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--clr-border);
}
.rating { display: flex; align-items: center; gap: 4px; font-weight: 700; color: #fbbf24; }
.rating svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Featured Review ---------- */
.featured-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.featured-review img { border-radius: var(--radius); box-shadow: var(--shadow); }
.review-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin: 20px 0;
}
.score-num { font-size: 2.5rem; font-weight: 800; color: #fbbf24; line-height: 1; }
.score-label { font-size: .8rem; color: var(--clr-muted); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pros-cons ul li { padding: 4px 0; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.pros-cons ul li::before { flex-shrink: 0; margin-top: 4px; }
.pros li::before { content: '✓'; color: #22c55e; font-weight: 700; }
.cons li::before { content: '✗'; color: #ef4444; font-weight: 700; }
.pros-cons h4 { margin-bottom: 8px; }

/* ---------- Tournament Cards ---------- */
.tournament-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tournament-card-img { width: 100%; height: 180px; object-fit: cover; }
.tournament-card-body { padding: 20px; flex: 1; }
.tournament-card-body h3 { margin-bottom: 8px; }
.tournament-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.info-item { font-size: .85rem; }
.info-item strong { color: var(--clr-accent); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.tournament-card-footer { padding: 14px 20px; border-top: 1px solid var(--clr-border); }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-live   { background: rgba(239,68,68,.15); color: #ef4444; }
.status-upcoming { background: rgba(34,197,94,.15); color: #22c55e; }
.status-ended  { background: rgba(100,116,139,.15); color: #64748b; }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: linear-gradient(135deg, #0d1b2e 0%, #0d0f1a 100%);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}
.newsletter-section h2 { margin-bottom: 12px; }
.newsletter-section p { color: var(--clr-muted); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-size: .95rem;
}
.newsletter-form input::placeholder { color: var(--clr-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--clr-accent); }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--clr-muted); margin-bottom: 28px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(0,180,255,.1);
  border: 1px solid rgba(0,180,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent);
  font-size: 1.1rem;
}
.contact-detail strong { display: block; font-size: .85rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.contact-detail span { font-size: .95rem; }

.form-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--clr-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--clr-accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--clr-card); }

/* ---------- Success Message ---------- */
.form-success {
  display: none;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--clr-surface) 0%, var(--clr-bg) 100%);
  border-bottom: 1px solid var(--clr-border);
  padding: 60px 0;
  text-align: center;
}
.page-hero p { color: var(--clr-muted); margin-top: 10px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--clr-muted);
  margin-bottom: 12px;
  justify-content: center;
}
.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { color: var(--clr-text); }

/* ---------- Prose (policy pages) ---------- */
.prose {
  max-width: 820px;
  margin: 0 auto;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 48px;
}
.prose h2 { margin: 32px 0 12px; font-size: 1.4rem; }
.prose h3 { margin: 24px 0 8px; font-size: 1.1rem; color: var(--clr-accent); }
.prose p, .prose li { color: var(--clr-muted); font-size: .95rem; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--clr-accent); }
.prose strong { color: var(--clr-text); }
.prose .last-updated { font-size: .85rem; color: var(--clr-muted); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--clr-border); }

/* ---------- About Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  color: #fff;
  font-weight: 700;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: .85rem; color: var(--clr-muted); margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px;
}
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--clr-muted); font-size: .9rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--clr-muted); font-size: .9rem; margin: 12px 0 20px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-muted); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--clr-muted); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--clr-accent); }
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: var(--clr-muted);
}
.footer-bottom a { color: var(--clr-muted); }
.footer-bottom a:hover { color: var(--clr-accent); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--clr-card);
  border-top: 1px solid var(--clr-border);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
}
#cookie-banner p { font-size: .9rem; color: var(--clr-muted); margin: 0; max-width: 700px; }
#cookie-banner p a { color: var(--clr-accent); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-review { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--clr-surface); border-bottom: 1px solid var(--clr-border); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { min-height: 70vh; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pros-cons { grid-template-columns: 1fr; }
  .prose { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .cards-grid { grid-template-columns: 1fr; }
}
