/* ===== CosmoRaid.info — Main Stylesheet ===== */
:root {
  --primary: #00c8ff;
  --secondary: #7b2fff;
  --dark: #060b18;
  --dark2: #0d1526;
  --dark3: #111d35;
  --text: #cdd8f0;
  --text-muted: #7a8fb5;
  --card-bg: #0f1a2e;
  --border: #1e2f50;
  --star-gold: #ffc107;
}

/* Base */
*, *::before, *::after { 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;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(6,11,24,.95) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: .8rem 0;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .5px;
}
.navbar-brand span.accent { color: var(--primary); }
.navbar-brand span.accent2 { color: var(--secondary); }
.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: .4rem .9rem !important;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: rgba(0,200,255,.08);
}
.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(.45);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,11,24,.7) 0%, rgba(123,47,255,.15) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(0,200,255,.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 .glow {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0,200,255,.5);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 6px;
  transition: opacity .2s, transform .2s;
  display: inline-block;
}
.btn-primary-custom:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: .7rem 1.8rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
  display: inline-block;
}
.btn-outline-custom:hover { background: var(--primary); color: var(--dark); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--dark2); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.section-title .accent { color: var(--primary); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: .6rem 0 1.2rem;
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,200,255,.12);
}
.review-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.review-card-body { padding: 1.4rem; }
.review-genre {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .4rem;
}
.review-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #fff;
}
.review-card-body p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.star-rating { color: var(--star-gold); font-size: .95rem; margin-bottom: .8rem; }
.score-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: .2rem .65rem;
  border-radius: 4px;
  margin-left: .5rem;
}
.tag {
  display: inline-block;
  background: rgba(0,200,255,.1);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 3px;
  margin-right: .3rem;
  margin-bottom: .3rem;
}

/* ===== STATS BAR ===== */
.stats-bar { background: var(--dark3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: .3rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}
.newsletter-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
}
.newsletter-box h2 { font-weight: 800; font-size: 1.9rem; margin-bottom: .5rem; }
.newsletter-box p { color: var(--text-muted); margin-bottom: 1.5rem; }
.form-control-custom {
  background: var(--dark);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 6px;
  padding: .7rem 1.1rem;
  font-size: .95rem;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
.form-control-custom:focus { border-color: var(--primary); }
.form-control-custom::placeholder { color: var(--text-muted); }

/* ===== CONTACT FORM ===== */
.contact-section { padding: 80px 0; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,200,255,.1);
  border: 1px solid rgba(0,200,255,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h5 { font-size: .85rem; color: var(--text-muted); margin-bottom: .1rem; }
.contact-info-item p { font-size: .95rem; color: #fff; margin: 0; }

/* ===== ABOUT ===== */
.about-img-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.team-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-brand { font-size: 1.4rem; font-weight: 800; margin-bottom: .8rem; }
.footer-desc { font-size: .9rem; color: var(--text-muted); max-width: 280px; }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--text-muted); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: var(--text-muted); }

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 40px;
}
.policy-content { padding: 60px 0; }
.policy-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin: 2rem 0 .8rem; }
.policy-content h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 .6rem; }
.policy-content p, .policy-content li { color: var(--text-muted); font-size: .95rem; line-height: 1.8; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content a { color: var(--primary); }
.policy-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

/* ===== COOKIE BANNER ===== */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark3);
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  z-index: 9999;
  display: none;
}
#cookieBanner p { font-size: .88rem; color: var(--text-muted); margin: 0; }
#cookieBanner a { color: var(--primary); }

/* ===== ALERTS ===== */
.alert-success-custom {
  background: rgba(0,200,100,.1);
  border: 1px solid rgba(0,200,100,.3);
  color: #00c864;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: .9rem;
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .newsletter-box { padding: 2rem 1.5rem; }
  .contact-card { padding: 1.8rem 1.2rem; }
  .section { padding: 55px 0; }
}
