/* ========================================================
   Game Reviews Hub — Dark Night Theme
   ========================================================
   Palette
     --bg          #161618   page background
     --surface     #1f1f23   cards / panels
     --surface-2   #0e0e10   deep surfaces (footer, hero band)
     --text        #d4d4d8   primary text
     --muted       #9b9ba1   secondary text
     --border      #2c2c30   hairline borders
     --amber       #f59e0b   accent
     --amber-2     #fbbf24   accent hover
   ======================================================== */

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

:root {
  --bg: #161618;
  --surface: #1f1f23;
  --surface-2: #0e0e10;
  --text: #d4d4d8;
  --muted: #9b9ba1;
  --border: #2c2c30;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: #f4f4f5;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

p { margin-bottom: 12px; color: var(--text); }

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover { color: var(--amber-2); }

::selection { background: var(--amber); color: var(--bg); }

/* ---- Layout helpers ---- */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

section {
  padding: 84px 0;
  border-top: 1px solid var(--border);
}

section:first-of-type { border-top: none; }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.cookie-banner .cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}
.cookie-banner a { color: var(--amber); }
.cookie-banner.hidden { display: none; }

/* ---- Header / Nav ---- */
.navbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-logo {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #f4f4f5;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.site-logo::before {
  content: "// ";
  color: var(--amber);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #f4f4f5; }

/* ---- Hero ---- */
#hero {
  background: var(--surface-2);
  border-top: none;
  padding: 96px 0 88px;
}
.hero-content { max-width: 820px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 24px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero-meta .mono { font-size: 0.78rem; }

/* ---- Buttons ---- */
.btn {
  background: var(--amber);
  color: var(--bg);
  border: 1px solid var(--amber);
  border-radius: 4px;
  padding: 11px 22px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: inline-block;
  text-align: center;
}
.btn:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
  color: var(--bg);
}
.btn:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: #3a3a40;
  color: #f4f4f5;
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}

/* ---- Section heads ---- */
.section-head { margin-bottom: 36px; max-width: 1500px; }
.section-head p { color: var(--muted); }

/* ---- Games grid ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.15s ease;
}
.game-card:hover { border-color: #3a3a40; }

.game-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.game-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.game-title { flex: 1; min-width: 0; }
.game-title h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
  color: #f4f4f5;
}
.game-developer {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-accent {
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.4);
}

.game-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.game-shots img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.game-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- About ---- */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
#about .about-content p { color: var(--muted); }
#about .about-content p + p { margin-top: 14px; }
.about-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  border-left: 2px solid var(--amber);
  padding: 6px 0 6px 14px;
  margin-top: 22px;
}

/* ---- Criteria (Na čo sa pri hrách pozeráme) ---- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.criteria-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
}
.criteria-item .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}
.criteria-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #f4f4f5;
}
.criteria-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.review-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.review-text::before {
  content: "“";
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.review-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review-name {
  font-weight: 600;
  color: #f4f4f5;
  font-size: 0.95rem;
}
.review-stamp {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}
.faq-q .qmark {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--amber);
  flex-shrink: 0;
}
.faq-q h3 {
  font-size: 1.05rem;
  color: #f4f4f5;
  margin: 0;
}
.faq-a {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 36px;
  margin: 0;
}

/* ---- Subscribe ---- */
#subscribe { background: var(--surface-2); }
.subscribe-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.subscribe-wrap .card {
  padding: 32px 32px 30px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.subscribe-wrap .eyebrow { margin-bottom: 12px; }
.subscribe-wrap h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.subscribe-wrap .subtitle {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 0.92rem;
  line-height: 1.55;
}

#subscribeForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group { margin: 0; min-width: 0; }
label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--muted);
}
input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14.5px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  outline: none;
  box-sizing: border-box;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder { color: #6b6b71; }
input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.consent-field { margin: 2px 0 0; min-width: 0; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  accent-color: var(--amber);
}
.consent span { flex: 1 1 auto; min-width: 0; }
.consent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}
.consent a:hover { color: var(--amber); }

.btn-block {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  font-size: 14px;
}

.success-msg {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(245, 158, 11, 0.08);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }

/* ---- Legal page content (kept for parity) ---- */
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 32px; }
.legal-content h3 { margin-top: 22px; }
.legal-content ul { padding-left: 24px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; color: var(--muted); }
.legal-content p { color: var(--muted); }

/* ---- Footer ---- */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
  color: var(--muted);
  font-size: 14px;
}
.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  list-style: none;
  padding: 0;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--amber); }
.footer-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-copy {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #6b6b71;
  letter-spacing: 0.04em;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .games-grid,
  .reviews-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding: 56px 0; }
  #hero { padding: 64px 0 56px; }
  .container { padding: 0 18px; }
  .nav-links { gap: 16px; }
  .site-logo { font-size: 0.85rem; }
  .hero-content h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .game-shots img { height: 130px; }
  .card,
  .game-card,
  .criteria-item,
  .review { padding: 20px; }
  .subscribe-wrap .card { padding: 24px; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    padding: 12px 14px;
  }
  .faq-a { padding-left: 0; }
  .footer-row { flex-direction: column; }
}

@media (max-width: 380px) {
  .game-shots { grid-template-columns: 1fr; }
  .game-shots img { height: 160px; }
}

/* ---- Wide screens (use the 1920px container) ---- */
@media (min-width: 1300px) {
  .reviews-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

