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

body {
  background: linear-gradient(150deg, #ecfdf5, #f0fdf4);
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: #555;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: #0a0a0a;
}

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
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 */
.cookie-banner {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.cookie-banner button {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Navbar */
.navbar { padding: 16px 0; background: transparent; }
.site-logo {
  display: block;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #166534;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.nav-links a { color: #166534; font-weight: 600; font-size: 15px; }

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

/* Hero */
.hero-content { max-width: 60%; }
.hero p { font-size: 1.05rem; }

/* About page-style content */
.content-block { max-width: 800px; }
.content-block h2 { margin-top: 24px; }
.content-block ul { padding-left: 22px; margin-bottom: 12px; }
.content-block li { margin-bottom: 6px; }

/* 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 6px 20px rgba(22,101,52,0.08); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 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-wrap h3 { margin-bottom: 4px; }
.badge {
  display: inline-block;
  background: #d1fae5;
  color: #166534;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
}
.dev { font-size: 13px; color: #999; }
.game-desc { font-size: 15px; margin-bottom: 14px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.shots img { width: 100%; height: auto; border-radius: 6px; display: block; }

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

/* Auto-push button to bottom */
.game-card .btn { margin-top: auto; }

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

/* Subscribe / contact */
.subscribe-wrap { max-width: 560px; margin: 0 auto; }
.subscribe-wrap .card { padding: 32px; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 600; color: #444; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Nunito', 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); }
.subtitle { color: #999; margin-bottom: 18px; font-size: 14px; }
.success-msg {
  margin-top: 16px;
  padding: 12px;
  background: #d1fae5;
  color: #166534;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }

/* Footer */
footer {
  text-align: center;
  color: #999;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: #166534; }
footer .foot-links { margin-bottom: 8px; }
footer .foot-links a { margin: 0 6px; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  .hero-content { max-width: 100%; }
  .nav-links { gap: 12px; font-size: 14px; }
  .subscribe-wrap .card { padding: 24px; }
  section { padding: 48px 0; }
  .games-grid { grid-template-columns: 1fr; }
}
