@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --red: #E8342A;
  --gold: #F5C518;
  --purple: #7B4FD4;
  --green: #00C896;
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1e1e1e;
  --border: #2a2a2a;
  --text: #F0F0F0;
  --muted: #888;
  --ff: 'Bebas Neue', sans-serif;
  --body: 'DM Sans', sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--ff);
  font-size: 27px;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo .r { color: var(--red); }
.nav-logo .dot { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex: 1;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 1rem;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); }

.nav-search {
  margin-left: auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 14px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  width: 190px;
  outline: none;
  transition: border-color 0.15s, color 0.15s;
}
.nav-search::placeholder { color: var(--muted); }
.nav-search:focus { border-color: var(--red); color: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0505 0%, #0a0a1a 50%, #051a0a 100%);
}
.hero-bg-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px);
}
.hero-bg-art::after {
  content: 'FICTIEFREAKS';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-size: 140px;
  letter-spacing: 12px;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.97) 35%, rgba(10,10,10,0.3) 100%),
    linear-gradient(to top, rgba(10,10,10,1) 0%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem 3.5rem;
  max-width: 620px;
  animation: fadeUp 0.7s ease both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--ff);
  font-size: clamp(46px, 7vw, 80px);
  letter-spacing: 1px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 15px;
  color: #bbb;
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-score {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 6px;
  padding: 8px 16px;
}
.hero-score-num { font-family: var(--ff); font-size: 34px; color: var(--gold); letter-spacing: 1px; }
.hero-score-max { font-size: 14px; color: var(--muted); }
.hero-score-label { font-size: 12px; color: var(--muted); margin-left: 8px; }
.hero-genre { font-size: 12px; color: var(--muted); }

.hero-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.15s;
}
.hero-cta:hover { background: #c42a22; }

/* ── WRAPPER ── */
.wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── SECTION ── */
.section { padding: 3rem 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--ff);
  font-size: 30px;
  letter-spacing: 1px;
  color: #fff;
}
.section-title span { color: var(--red); }
.section-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.15s;
  letter-spacing: 0.04em;
}
.section-more:hover { color: var(--red); }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.card {
  background: var(--bg2);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s;
  cursor: pointer;
}
.card:hover { background: var(--bg3); }

.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-film  { background: linear-gradient(135deg, #2a0808, #150303); }
.thumb-serie { background: linear-gradient(135deg, #1a0a2e, #080518); }
.thumb-game  { background: linear-gradient(135deg, #0a1e14, #04100a); }
.thumb-oud   { background: linear-gradient(135deg, #1e1a08, #0f0d04); }

.thumb-text {
  font-family: var(--ff);
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.15);
  text-align: center;
  padding: 0 8px;
}

.genre-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  width: fit-content;
}
.g-film  { background: rgba(232,52,42,0.15); color: var(--red); }
.g-serie { background: rgba(123,79,212,0.15); color: #9B6FF4; }
.g-game  { background: rgba(0,200,150,0.15);  color: var(--green); }
.g-oud   { background: rgba(245,197,24,0.15); color: var(--gold); }

.card-title {
  font-family: var(--ff);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.1;
}
.card-meta { font-size: 12px; color: var(--muted); }
.card-excerpt {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.card-score {
  font-family: var(--ff);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
}
.card-score span { font-size: 12px; color: var(--muted); font-family: var(--body); }
.card-date { font-size: 11px; color: var(--muted); }

/* ── FEATURED GRID ── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.featured-card {
  background: var(--bg2);
  padding: 1.75rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-card:hover { background: var(--bg3); }
.featured-card .card-title { font-size: 26px; }
.featured-card .card-excerpt {
  -webkit-line-clamp: 3;
  font-size: 14px;
  color: #888;
}
.featured-read {
  font-size: 12px;
  margin-top: auto;
  padding-top: 12px;
  transition: color 0.15s;
}
.featured-read:hover { opacity: 0.8; }

/* ── OUD BANNER ── */
.oud-banner {
  background: var(--bg2);
  border: 1px solid rgba(245,197,24,0.18);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.oud-icon {
  font-family: var(--ff);
  font-size: 52px;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}
.oud-info-title {
  font-family: var(--ff);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.oud-info-desc { font-size: 13px; color: var(--muted); }
.oud-card {
  margin-left: auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  min-width: 190px;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s;
  text-decoration: none;
}
.oud-card:hover { border-color: var(--gold); }
.oud-card-title { font-family: var(--ff); font-size: 18px; color: #fff; margin-bottom: 2px; }
.oud-card-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.oud-card-score { font-family: var(--ff); font-size: 28px; color: var(--gold); }
.oud-card-score span { font-size: 12px; color: var(--muted); font-family: var(--body); }

/* ── ARTICLE PAGE ── */
.article-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.article-title {
  font-family: var(--ff);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 1px;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.75rem;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body {
  max-width: 720px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--ff);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.article-spoiler {
  background: rgba(232,52,42,0.08);
  border-left: 3px solid var(--red);
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #bbb;
  margin-bottom: 2rem;
}

.score-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 720px;
}
.score-box-left { flex: 1; }
.score-box-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.score-box-verdict {
  font-size: 16px;
  color: #ddd;
  font-style: italic;
  line-height: 1.5;
}
.score-box-num {
  font-family: var(--ff);
  font-size: 64px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
  flex-shrink: 0;
}
.score-box-num span { font-size: 20px; color: var(--muted); font-family: var(--body); }

/* ── COMMENTS ── */
.comments-section {
  max-width: 720px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--ff);
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.comment {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-name {
  font-size: 13px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 2px;
}
.comment-date { font-size: 11px; color: var(--muted); }
.comment-text {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin-top: 6px;
}
.comment-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 10px;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--muted); }
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { resize: vertical; min-height: 100px; }
.comment-submit {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.comment-submit:hover { background: #c42a22; }

/* ── REVIEW LIST PAGE ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.review-list-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.review-list-card:hover { border-color: #444; transform: translateY(-2px); }
.review-list-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-list-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.review-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 16px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: #444; color: var(--text); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--ff);
  font-size: 34px;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.footer-logo .r { color: var(--red); }
.footer-logo .dot { color: var(--gold); }
.footer-tagline { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 12px; color: #3a3a3a; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-2 { animation: fadeUp 0.5s 0.08s ease both; }
.fade-up-3 { animation: fadeUp 0.5s 0.16s ease both; }
.fade-up-4 { animation: fadeUp 0.5s 0.24s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; gap: 1rem; }
  .nav-links { display: none; }
  .nav-search { width: 140px; }
  .hero-content { padding: 2rem 1rem 2.5rem; }
  .wrapper { padding: 0 1rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .oud-banner { flex-direction: column; align-items: flex-start; }
  .oud-card { margin-left: 0; width: 100%; }
  .score-box { flex-direction: column; text-align: center; }
  .article-meta { gap: 0.75rem; }
}
