/* Game Reviews Hub — warm minimalism, personal blog */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: #faf7f2;
  color: #2b2b2b;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: #2b2b2b;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 18px;
  margin-top: 8px;
}

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

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

p {
  margin-bottom: 14px;
}

a {
  color: #8b5a2b;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  text-decoration: underline;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2b2b2b;
  color: #faf7f2;
  padding: 14px 0;
  font-size: 0.92rem;
  z-index: 80;
  transition: opacity 0.2s;
}

.cookie.hidden {
  display: none;
}

.cookie .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie a {
  color: #faf7f2;
  text-decoration: underline;
}

.cookie button {
  background: #faf7f2;
  color: #2b2b2b;
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.cookie button:hover {
  opacity: 0.85;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #e8e1d5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo a {
  color: #2b2b2b;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-logo a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.site-nav ul {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: #2b2b2b;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #8b5a2b;
  text-decoration: none;
}

/* Burger button */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #faf7f2;
  border: 1px solid #e8e1d5;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 90;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: #8b5a2b;
  background: rgba(139, 90, 43, 0.06);
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #2b2b2b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* Hero — beautiful warm background with image */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(251, 243, 230, 0.96) 0%, rgba(250, 247, 242, 0.82) 45%, rgba(139, 90, 43, 0.55) 100%),
    url("./img/game_1_screenshot_1.webp") center / cover no-repeat,
    #fbf3e6;
  border-bottom: 1px solid #ece4d4;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(217, 162, 100, 0.55), transparent 70%);
}

.hero::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.28), transparent 70%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8b5a2b;
  background: rgba(139, 90, 43, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5a2b;
  box-shadow: 0 0 0 4px rgba(139, 90, 43, 0.18);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: #8b5a2b;
  font-style: italic;
}

.hero p.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #4a4a4a;
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2b2b2b;
  color: #faf7f2;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 24px -12px rgba(43, 43, 43, 0.45);
}

.hero-cta:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(43, 43, 43, 0.5);
}

.hero-cta span {
  transition: transform 0.2s;
}

.hero-cta:hover span {
  transform: translateX(3px);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2b2b2b;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.hero-link:hover {
  text-decoration: none;
  color: #8b5a2b;
  border-color: #8b5a2b;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(139, 90, 43, 0.18);
  max-width: 520px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-size: 1.45rem;
  font-weight: 600;
  color: #2b2b2b;
  letter-spacing: -0.01em;
}

.hero-stats span {
  font-size: 0.82rem;
  color: #6a6a6a;
  line-height: 1.35;
}

/* Hero visual — floating cards */
.hero-visual {
  position: relative;
  min-height: 380px;
  min-width: 0;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid #ece4d4;
  border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(139, 90, 43, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: 320px;
}

.hero-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
  box-shadow: 0 30px 60px -22px rgba(139, 90, 43, 0.42);
}

.hero-card img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-card-text strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #2b2b2b;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-card-meta {
  font-size: 0.78rem;
  color: #8b5a2b;
  text-transform: lowercase;
  margin-top: 2px;
}

.hero-card-1 {
  top: 8%;
  left: 4%;
  transform: rotate(-4deg);
  z-index: 3;
}

.hero-card-2 {
  top: 38%;
  right: 0;
  transform: rotate(3deg);
  z-index: 2;
}

.hero-card-3 {
  bottom: 6%;
  left: 14%;
  transform: rotate(-2deg);
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle at 50% 50%, rgba(217, 162, 100, 0.22), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Page hero (smaller, for legal/info pages) */
.page-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(255, 214, 165, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(196, 154, 108, 0.25), transparent 65%),
    linear-gradient(180deg, #fbf3e6 0%, #faf7f2 100%);
  border-bottom: 1px solid #ece4d4;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, rgba(217, 162, 100, 0.4), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

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

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8b5a2b;
  background: rgba(139, 90, 43, 0.09);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 8px;
}

.page-hero p.lead {
  color: #4a4a4a;
  font-size: 1.02rem;
  max-width: 60ch;
  margin: 0;
}

/* Sections */
section {
  padding: 56px 0;
}

section.hero,
section.page-hero {
  padding-top: 96px;
  padding-bottom: 88px;
}

section.page-hero {
  padding-top: 64px;
  padding-bottom: 48px;
}

/* Games — stacked list */
#games > .container > p {
  color: #6a6a6a;
  margin-bottom: 32px;
}

.games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.game-card {
  padding: 28px 28px 32px;
  border: 1px solid #e8e1d5;
  border-radius: 10px;
  background: #fffdf9;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -16px rgba(139, 90, 43, 0.22);
  border-color: #d9cdb8;
}

.game-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.game-icon {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
}

.game-head h3 {
  margin-bottom: 2px;
}

.dev {
  color: #6a6a6a;
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  color: #8b5a2b;
  background: rgba(139, 90, 43, 0.09);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.game-card p {
  color: #3a3a3a;
  margin-bottom: 18px;
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.shots img {
  width: 100%;
  border-radius: 6px;
}

/* Download button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b5a2b;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  text-decoration: underline;
}

.btn-block {
  display: inline-flex;
}

/* About */
.about p {
  color: #3a3a3a;
}

/* Legal pages */
.legal h1 {
  margin-bottom: 16px;
}

.legal h2 {
  margin-top: 28px;
}

.legal ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal ul li {
  margin-bottom: 6px;
}

/* FAQ */
.faq-item {
  padding: 18px 0;
  border-top: 1px solid #e8e1d5;
}

.faq-item:last-child {
  border-bottom: 1px solid #e8e1d5;
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: #3a3a3a;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .testimonials {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.testimonial {
  padding: 22px 24px;
  border: 1px solid #e8e1d5;
  border-radius: 10px;
  background: #fffdf9;
}

.testimonial p {
  color: #3a3a3a;
  margin-bottom: 8px;
  font-style: italic;
}

.testimonial .who {
  color: #6a6a6a;
  font-size: 0.9rem;
  font-style: normal;
}

/* How I test */
.method-list {
  margin: 0;
  padding-left: 0;
}

.method-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #3a3a3a;
}

.method-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #8b5a2b;
}

/* Subscribe */
.subscribe {
  display: flex;
  justify-content: center;
}

.subscribe > .container {
  width: 100%;
}

.subscribe .card {
  padding: 36px 32px;
  border: 1px solid #e8e1d5;
  border-radius: 12px;
  background: #fffdf9;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 20px 40px -28px rgba(139, 90, 43, 0.18);
}

.subscribe .lead {
  color: #6a6a6a;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #2b2b2b;
}

.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e8e1d5;
  border-radius: 6px;
  background: #faf7f2;
  font-family: inherit;
  font-size: 1rem;
  color: #2b2b2b;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus {
  outline: none;
  border-color: #8b5a2b;
  background: #fff;
}

#subscribeForm button[type="submit"] {
  background: #2b2b2b;
  color: #faf7f2;
  border: none;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 999px;
  margin-top: 4px;
  transition: opacity 0.2s, transform 0.2s;
}

#subscribeForm button[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.success {
  margin-top: 14px;
  color: #8b5a2b;
  font-size: 0.95rem;
}

.consent-field { margin-bottom: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: #6b6b6b; line-height: 1.5; }
.consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: #8b5a2b; }

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: 60px;
  padding: 36px 0 100px;
  border-top: 1px solid #e8e1d5;
  color: #6a6a6a;
  font-size: 0.9rem;
  background: #faf7f2;
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer a {
  color: #6a6a6a;
}

.site-footer a:hover {
  color: #8b5a2b;
}

/* Mobile menu + responsive */
@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 340px);
    background: #faf7f2;
    border-left: 1px solid #e8e1d5;
    padding: 90px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 70;
    box-shadow: -20px 0 40px -20px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 12px 4px;
    width: 100%;
    font-size: 1.05rem;
    border-bottom: 1px solid #ece4d4;
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 14, 6, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 65;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding: 56px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    min-height: 320px;
    order: 2;
  }

  .hero-card {
    max-width: 280px;
  }

  .hero-stats {
    max-width: none;
  }

  .page-hero {
    padding: 48px 0 32px;
  }

  .shots {
    grid-template-columns: 1fr;
  }

  .cookie .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie button {
    align-self: stretch;
  }

  .subscribe .card {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-card {
    padding: 12px 16px 12px 12px;
    max-width: 260px;
  }

  .hero-card img {
    width: 48px;
    height: 48px;
  }

  .hero-card-1 { top: 4%; left: 0; }
  .hero-card-2 { top: 36%; right: 0; }
  .hero-card-3 { bottom: 4%; left: 8%; }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }
}
