/* ============================================================
   FemoraKil.info — Game Reviews Site — Main Stylesheet
   ============================================================ */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #60a5fa;
  --dark: #0d0d1a;
  --dark2: #13132b;
  --dark3: #1a1a35;
  --card-bg: #16162e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #2d2d5e;
  --score-great: #4ade80;
  --score-good: #fbbf24;
  --score-avg: #f87171;
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

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

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

/* ── NAVBAR ── */
.navbar {
  background: rgba(13, 13, 26, 0.95) !important;
  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.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.5px;
}

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

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(124, 58, 237, 0.15);
}

.navbar-toggler {
  border-color: var(--border);
}

.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%28226,232,240,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;
  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(13,13,26,0.7) 0%, rgba(92,33,182,0.2) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.25);
  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.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero h1 span { color: var(--primary); }

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

/* ── BUTTONS ── */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-outline-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-title span { color: var(--primary); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

/* ── REVIEW CARDS ── */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

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

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

.review-card:hover img { transform: scale(1.04); }

.review-card-img-wrap { overflow: hidden; position: relative; }

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

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

.review-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.review-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.score-great { background: var(--score-great); color: #052e16; }
.score-good  { background: var(--score-good);  color: #451a03; }
.score-avg   { background: var(--score-avg);   color: #450a0a; }

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-read-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.btn-read-more:hover { color: var(--accent); }

/* ── FEATURED REVIEW ── */
.featured-review {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.featured-body { padding: 2rem; }

.featured-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.featured-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.featured-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark2) 0%, #1e1040 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.newsletter-form .form-control {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  color: #fff;
}

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

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-label { color: var(--text); font-weight: 600; font-size: 0.9rem; }

.form-control, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  color: #fff;
}

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

.form-select option { background: var(--dark2); color: #fff; }

/* ── ALERT MESSAGES ── */
.alert-success-custom {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: none;
}

.alert-success-custom.show { display: block; }

/* ── ABOUT PAGE ── */
.about-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.about-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio { font-size: 0.875rem; color: var(--text-muted); }

/* ── CONTACT PAGE ── */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(124,58,237,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-title { font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.contact-info-text { color: var(--text-muted); font-size: 0.9rem; }

/* ── POLICY PAGES ── */
.policy-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem 0;
}

.policy-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
}

.policy-wrap h2:first-child { margin-top: 0; }

.policy-wrap p, .policy-wrap li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.policy-wrap ul { padding-left: 1.5rem; }

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

.policy-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

.footer-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

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

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.show { transform: translateY(0); }

#cookie-banner p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
#cookie-banner a { color: var(--accent); }

/* ── BREADCRUMB ── */
.breadcrumb-wrap {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.breadcrumb { margin: 0; background: none; }
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--text); font-size: 0.875rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

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

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* ── RATING STARS ── */
.stars { color: #fbbf24; font-size: 0.9rem; }

/* ── UTILITIES ── */
.bg-dark-card { background: var(--card-bg); }
.border-custom { border-color: var(--border) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2.25rem; }
  .policy-wrap { padding: 1.75rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .featured-review img { height: 250px; }
}
