/* ===== XIVORAMEL.INFO — MAIN STYLESHEET ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #06b6d4;
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --card-bg: #1e1e3a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #2d2d5e;
  --success: #10b981;
  --star: #f59e0b;
}

* { 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;
}

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

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

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(15,15,26,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.5px;
}

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

.nav-link-custom {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: .4rem .85rem !important;
  border-radius: 6px;
  transition: all .2s;
}

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

.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 560px;
  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);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,26,.9) 40%, transparent);
}

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

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

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

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: .7rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}

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

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  padding: .65rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--primary-light);
  color: var(--dark);
}

/* ===== SECTION TITLES ===== */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}

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

/* ===== 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(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

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

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

.review-genre {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

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

.review-excerpt {
  font-size: .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: 900;
  color: #fff;
}

.score-great { background: var(--success); }
.score-good { background: #3b82f6; }
.score-ok { background: var(--star); color: var(--dark); }

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

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

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

.featured-body { padding: 2rem; }

.featured-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--success);
  line-height: 1;
}

/* ===== CATEGORIES ===== */
.category-pill {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  margin: .25rem;
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== NEWSLETTER / CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark3) 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(124,58,237,.3);
}

.newsletter-form .form-control-custom {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-size: .95rem;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}

.newsletter-form .form-control-custom::placeholder { color: var(--text-muted); }
.newsletter-form .form-control-custom:focus { border-color: var(--primary-light); }

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

.form-group-custom { margin-bottom: 1.25rem; }

.form-label-custom {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.form-input-custom {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.form-input-custom::placeholder { color: var(--text-muted); }
.form-input-custom:focus { border-color: var(--primary-light); }

textarea.form-input-custom { resize: vertical; min-height: 130px; }

/* ===== ALERT MESSAGES ===== */
.alert-success-custom {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  color: #6ee7b7;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
}

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

/* ===== POLICY PAGES ===== */
.policy-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 2rem;
  margin-bottom: .75rem;
}

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

.policy-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: .95rem;
}

.policy-content ul {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.policy-content ul li { margin-bottom: .4rem; }

/* ===== ABOUT PAGE ===== */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

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

/* ===== STATS ===== */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

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

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

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

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

.footer-desc {
  color: var(--text-muted);
  font-size: .875rem;
  margin-top: .5rem;
  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: .875rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary-light); }

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

/* ===== UTILITY ===== */
.text-accent { color: var(--accent); }
.text-primary-light { color: var(--primary-light); }
.bg-card { background: var(--card-bg); }
.border-custom { border: 1px solid var(--border); }
.rounded-custom { border-radius: 12px; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero-section { min-height: 420px; }
  .featured-body { padding: 1.25rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .policy-content { padding: 1.5rem; }
  .cta-section { padding: 2rem 1.25rem; }
}
