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

:root {
  --teal: #0d5c63;
  --teal-dark: #0a4448;
  --bg: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4b5563;
  --line: #e4e4e7;
  --soft-bg: #f7f7f5;
  --footer-bg: #111418;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'DM Serif Display', 'Georgia', serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: 3.2rem; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 6px; }

p { margin-bottom: 14px; color: var(--ink-soft); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff7e6;
  border-top: 1px solid #ecdfb5;
  padding: 12px 24px;
  font-size: 14px;
  color: #5a4f1e;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.cookie-banner a { color: #5a4f1e; text-decoration: underline; }
.cookie-banner button {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.cookie-banner button:hover { background: var(--teal-dark); }
.cookie-banner.hidden { display: none; }

/* Hero with embedded header (one big teal block at top) */
#hero {
  background: var(--teal);
  color: #fff;
  padding-bottom: 70px;
}
.navbar {
  padding: 22px 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.site-logo {
  font-size: 1.7rem;
  color: #fff;
  font-family: 'DM Serif Display', serif;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-content {
  padding-top: 50px;
  max-width: 1500px;
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 18px;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 640px;
}

section { padding: 70px 0; }
#hero { padding-top: 0; padding-bottom: 70px; }

#games .container > h2 { margin-bottom: 6px; }
#games .container > p { color: var(--ink-soft); margin-bottom: 30px; }

/* Game list */
.games-list {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1100px) {
  .games-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
.game-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.game-card:last-child { border-bottom: none; }

.game-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.game-body { min-width: 0; }

.game-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.game-head-row h3 { margin: 0; }
.game-developer {
  color: var(--ink-soft);
  font-size: 14px;
}

.badge {
  display: inline-block;
  background: #e0f2f4;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.game-desc {
  font-size: 15.5px;
  margin-bottom: 16px;
}

.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.screenshots img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.btn:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-block { width: 100%; justify-content: center; padding: 12px; border-radius: 8px; }

#about { background: var(--soft-bg); }
.about-content { max-width: 1500px; }

.faq-list { max-width: 1500px; }
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.faq-item p { margin: 0; font-size: 15px; }

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1500px;
}
@media (min-width: 1100px) {
  .reviews {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.review {
  background: var(--soft-bg);
  padding: 24px;
  border-left: 3px solid var(--teal);
}
.review .quote {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.65;
}
.review .signature {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.tips-list {
  list-style: none;
  max-width: 1500px;
  counter-reset: t;
}
.tips-list li {
  counter-increment: t;
  padding: 16px 0 16px 56px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.tips-list li:last-child { border-bottom: none; }
.tips-list li::before {
  content: counter(t);
  position: absolute;
  left: 0; top: 14px;
  width: 36px; height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.tip-title { font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; }

#subscribe { background: var(--soft-bg); }
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-wrap .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.form-wrap h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-subtitle { color: var(--ink-soft); margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}
input[type="email"], input[type="text"], input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  background: #fff;
}
input:focus { border-color: var(--teal); }
.consent-field { margin-bottom: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: #4b5563; line-height: 1.5; }
.consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: #0d5c63; }

.form-success {
  margin-top: 14px;
  padding: 10px 12px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 14px;
  border-radius: 6px;
  display: none;
}
.form-success.show { display: block; }

footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 30px;
  font-size: 14px;
  text-align: center;
}
footer p { color: rgba(255,255,255,0.65); margin-bottom: 6px; }
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 0;
}
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: #fff; }

.page-content { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.page-content h1 { font-size: 2.2rem; margin-bottom: 20px; color: var(--ink); }
.page-content h2 { font-size: 1.4rem; margin: 22px 0 10px; }
.page-content p, .page-content li { margin-bottom: 12px; }
.page-content ul { padding-left: 22px; }

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .navbar .container { justify-content: space-between; flex-wrap: nowrap; }
  .site-logo { font-size: 1.4rem; }
  .hero-content { padding-top: 24px; }
  section { padding: 44px 0; }
  #hero { padding-bottom: 44px; }

  .nav-toggle { display: flex; }
  #primaryNav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--teal-dark);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 20;
  }
  #primaryNav.open { max-height: 70vh; }
  .navbar { position: relative; }
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a:hover { background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.08); }

  .game-card { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; justify-items: start; }
  .game-icon { width: 64px; height: 64px; border-radius: 12px; }
  .game-body { width: 100%; }
  .screenshots img { height: 110px; }
  .reviews { grid-template-columns: 1fr; gap: 14px; }
  .form-wrap .card { padding: 22px; }
}

/* Centered subscribe form — final pass */
#subscribe { display: flex; justify-content: center; }
#subscribe > .container { width: 100%; }
#subscribe > .container > *,
#subscribe .form-wrap,
#subscribe .subscribe-wrap,
#subscribe .subscribe-card,
#subscribe .mailwrap,
#subscribe .card { margin-left: auto !important; margin-right: auto !important; }
#subscribe form, #subscribe form > * { text-align: left; }
#subscribe .section-head, #subscribe h2, #subscribe .form-subtitle, #subscribe .subtitle, #subscribe .sub, #subscribe .kicker { text-align: center; }