/* ===== CosmoClash.info - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600&display=swap');

:root {
  --primary: #4a90d9;
  --accent: #7ec8e3;
  --dark: #0a0a1a;
  --dark2: #0f0f2e;
  --dark3: #1a1a3e;
  --text: #c8d8e8;
  --text-muted: #7a8fa8;
  --white: #ffffff;
  --star-gold: #f5c842;
  --gradient: linear-gradient(135deg, #4a90d9 0%, #7ec8e3 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  color: var(--white);
  line-height: 1.3;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(10, 10, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 144, 217, 0.2);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white) !important;
  letter-spacing: 2px;
}

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

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  transition: color 0.3s;
}

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

.navbar-toggler { border-color: rgba(74, 144, 217, 0.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2874, 144, 217, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,0.85) 0%, rgba(15,15,46,0.65) 50%, rgba(10,10,26,0.8) 100%);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(74, 144, 217, 0.15);
  border: 1px solid rgba(74, 144, 217, 0.4);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 32px;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: var(--dark);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-transform: uppercase;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 144, 217, 0.4);
  color: var(--dark);
}

.btn-outline-custom {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 13px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-transform: uppercase;
}

.btn-outline-custom:hover {
  background: rgba(74, 144, 217, 0.1);
  transform: translateY(-2px);
  color: var(--white);
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

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

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 144, 217, 0.4);
  box-shadow: 0 12px 40px rgba(74, 144, 217, 0.15);
}

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

.review-card-body { padding: 24px; }

.review-genre {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
  display: block;
}

.review-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.review-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(74, 144, 217, 0.1);
}

.score-badge {
  background: var(--gradient);
  color: var(--dark);
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 4px;
}

.stars { color: var(--star-gold); font-size: 0.85rem; }

/* ===== FEATURED REVIEW ===== */
.featured-section {
  background: var(--dark2);
  border-top: 1px solid rgba(74, 144, 217, 0.1);
  border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.featured-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.featured-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.featured-img::after {
  content: 'FEATURED';
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient);
  color: var(--dark);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 3px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: url('../images/newsletter-bg.jpg') center/cover no-repeat;
  position: relative;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.88);
}

.newsletter-section .container { position: relative; z-index: 2; }

.newsletter-form .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(74, 144, 217, 0.3);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 4px 0 0 4px;
  font-family: 'Exo 2', sans-serif;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: none;
  color: var(--white);
  outline: none;
}

.newsletter-form .form-control::placeholder { color: var(--text-muted); }

/* ===== CONTACT FORM ===== */
.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(74, 144, 217, 0.2);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 4px;
  font-family: 'Exo 2', sans-serif;
  transition: border-color 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--primary);
  box-shadow: none;
  color: var(--white);
  outline: none;
}

.contact-form .form-control::placeholder { color: var(--text-muted); }
.contact-form .form-select option { background: var(--dark3); color: var(--white); }
.contact-form label { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 6px; letter-spacing: 0.5px; }

.form-success {
  display: none;
  background: rgba(74, 217, 144, 0.1);
  border: 1px solid rgba(74, 217, 144, 0.3);
  color: #74d990;
  padding: 16px 20px;
  border-radius: 4px;
  margin-top: 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ===== STATS ===== */
.stats-section { background: var(--dark2); }

.stat-item { text-align: center; padding: 20px; }

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== CATEGORIES ===== */
.category-card {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.05);
  transform: translateY(-4px);
}

.category-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}

.category-card h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== ABOUT ===== */
.about-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(74, 144, 217, 0.2);
}

.about-img img { width: 100%; height: 100%; object-fit: cover; }

.team-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.team-value-icon {
  width: 44px;
  height: 44px;
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.team-value h5 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.team-value p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: var(--dark2);
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0;
}

.policy-content h2 {
  font-size: 1.3rem;
  color: var(--accent);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 144, 217, 0.15);
}

.policy-content p, .policy-content li {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.policy-content ul { padding-left: 24px; }
.policy-content li { margin-bottom: 8px; }

.policy-content strong { color: var(--white); }

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

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(74, 144, 217, 0.1);
  padding: 60px 0 30px;
}

.footer-brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

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

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

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

.footer-address {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(74, 144, 217, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 46, 0.97);
  border-top: 1px solid rgba(74, 144, 217, 0.3);
  padding: 20px 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
  display: none;
}

.cookie-banner p {
  color: var(--text);
  font-size: 0.88rem;
  margin: 0;
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
  background: var(--dark2);
  padding: 14px 0;
  border-bottom: 1px solid rgba(74, 144, 217, 0.08);
}

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb-item.active { color: var(--accent); font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ===== DIVIDERS ===== */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { min-height: 70vh; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
