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

body {
  background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
  background-attachment: fixed;
  font-family: 'Karla', sans-serif;
  color: #4a4a4a;
  line-height: 1.65;
  min-height: 100vh;
  font-size: 15px;
}

h1, h2, h3, .site-logo {
  font-family: 'Archivo', sans-serif;
  color: #1a1a1a;
  font-weight: 700;
}

h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 16px; }
h2 { font-size: 1.35rem; margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 10px; }

p { margin-bottom: 12px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

a { color: #166534; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Cookie banner: high-visibility bottom sheet */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: cookieFadeIn 0.35s ease forwards;
  pointer-events: none;
}
.cookie-inner {
  position: relative;
  pointer-events: auto;
  background: #fff;
  border-top: 4px solid #166534;
  border-radius: 16px 16px 0 0;
  padding: 24px 28px 22px;
  max-width: 720px;
  width: calc(100% - 16px);
  margin: 0 8px;
  box-shadow: 0 -12px 48px rgba(0,0,0,0.22);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  animation: cookieSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22,101,52,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166534;
}
.cookie-body { flex: 1; min-width: 0; }
.cookie-body h3 { font-size: 1.05rem; margin: 0 0 6px; color: #1a1a1a; }
.cookie-body p { font-size: 14px; color: #444; margin: 0 0 14px; line-height: 1.55; }
.cookie-body a { color: #166534; text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #166534;
  color: #fff;
  border: 2px solid #166534;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: 'Karla', sans-serif;
  min-width: 140px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cookie-banner button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,101,52,0.25); }
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #166534;
  border-color: #166534;
}
.cookie-banner button.cookie-reject:hover { background: rgba(22,101,52,0.06); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.cookie-banner.pulse .cookie-inner {
  animation: cookieSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards, cookiePulse 1.1s ease-in-out 0.5s 2;
}
.cookie-banner.pulse .cookie-icon {
  animation: cookieIconShake 0.6s ease-in-out 0.5s 2;
}
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cookieSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 -12px 48px rgba(0,0,0,0.22); }
  50% { box-shadow: 0 -12px 60px rgba(22,101,52,0.55), 0 0 0 4px rgba(22,101,52,0.15); }
}
@keyframes cookieIconShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); }
  60% { transform: rotate(-4deg); } 80% { transform: rotate(4deg); }
}
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; gap: 14px; padding: 20px 18px 18px; width: 100%; margin: 0; }
  .cookie-icon { width: 40px; height: 40px; }
  .cookie-actions { width: 100%; }
  .cookie-banner button { flex: 1; min-width: 0; }
}

/* Hero meta + disclosure */
.hero-meta { font-size: 14px; color: #777; margin-top: 8px; }
.disclosure-strip {
  background: rgba(255,255,255,0.7);
  border-left: 3px solid #166534;
  padding: 12px 16px;
  font-size: 14px;
  color: #555;
  margin: 20px 0 24px;
  border-radius: 4px;
  line-height: 1.5;
}
.disclosure-strip strong { color: #1a1a1a; }

/* FAQ */
.faq-content { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 500;
  cursor: pointer;
  color: #1a1a1a;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 22px;
  color: #166534;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin: 12px 0 0; color: #555; }
.faq-item a { color: #166534; }

/* Lifehacks */
.lifehacks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0 18px;
}
.lifehack-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 3px solid #166534;
  border-radius: 8px;
  padding: 18px 20px;
}
.lifehack-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #14532d;
  background: rgba(22,101,52,0.10);
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 500;
}
.lifehack-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lifehack-card p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }
.lifehacks-note { font-size: 14px; color: #777; margin-top: 16px; }

/* Game guides — long-form how-to-play per game */
#game-guides h2 + p { max-width: 800px; color: #555; }
.game-guide {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 28px 30px;
  margin: 28px 0;
  max-width: 880px;
}
.game-guide h3 {
  font-size: 1.3rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22,101,52,0.18);
}
.game-guide h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #14532d;
  margin: 18px 0 8px;
  font-family: 'Archivo', sans-serif;
}
.game-guide p { font-size: 15px; color: #444; margin-bottom: 12px; line-height: 1.65; }
.game-guide ul { margin: 8px 0 4px 22px; padding: 0; }
.game-guide ul li { margin-bottom: 10px; font-size: 15px; color: #444; line-height: 1.65; }
.game-guide ul li strong { color: #1a1a1a; }
@media (max-width: 768px) {
  .game-guide { padding: 22px 20px; }
  .game-guide h3 { font-size: 1.15rem; }
}

/* Form additions */
.field label .optional { color: #999; font-weight: 400; font-size: 12px; }
.form-microcopy { font-size: 13px; color: #666; margin: 8px 0 16px; line-height: 1.5; }
.form-microcopy a { color: #166534; }
.form-consent { margin: 8px 0 16px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #166534;
  cursor: pointer;
}
.consent-label a { color: #166534; }
.consent-error { display: none; margin: 6px 0 0 26px; font-size: 12px; color: #b91c1c; }
.consent-error.show { display: block; }
.push-optin { font-size: 14px; margin: 12px 0 8px; color: #444; }
.btn-ghost {
  background: transparent;
  color: #166534;
  border: 1px solid #166534;
  font-size: 14px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Karla', sans-serif;
  border-radius: 4px;
}
.btn-ghost:hover { background: rgba(22,101,52,0.08); color: #166534; }
.btn-ghost[disabled] { opacity: 0.6; cursor: default; }

/* Page-updated marker + footer disclosure */
.page-updated {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #888;
  font-style: italic;
}
.footer-disclosure {
  font-size: 12px;
  color: #999;
  max-width: 720px;
  margin: 12px auto 0;
}

/* Navbar */
.site-header { padding: 16px 0; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.25rem;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a { color: #4a4a4a; font-weight: 500; }
.nav-links a:hover { color: #166534; text-decoration: none; }

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

/* Hero */
.hero-content { max-width: 60%; }
.hero-content p { color: #4a4a4a; }

/* Cards */
.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.06); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title-block h3 { margin-bottom: 4px; }
.developer { color: #808080; font-size: 13px; }

.badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 500;
}

.game-desc { margin-bottom: 14px; }

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

.btn {
  display: inline-block;
  background: #166534;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Karla', sans-serif;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { width: 100%; }

/* About */
.about-content { max-width: 800px; }

/* Subscribe */
.subscribe-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.subscribe-card .subtitle { color: #808080; margin-bottom: 18px; }

form .field { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 6px;
}
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Karla', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
input:focus {
  border-color: #166534;
  box-shadow: 0 0 0 2px rgba(22,101,52,0.125);
}

.success-msg {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: #dcfce7;
  color: #166534;
  border-radius: 6px;
  font-size: 14px;
}
.success-msg.show { display: block; }

/* Legal & content pages */
.page-content { max-width: 800px; }
.page-content h2 { margin-top: 28px; }
.page-content ul { margin: 0 0 16px 22px; }
.page-content li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  text-align: center;
  color: #808080;
  padding: 32px 0;
  font-size: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-links a { color: #4a4a4a; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  .hero-content { max-width: 100%; }
  .nav-links { gap: 14px; }
  .subscribe-card { padding: 24px; }
  section { padding: 36px 0; }
  .shots img { height: 110px; }
}
