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

body {
  background: linear-gradient(170deg, #d9f99d, #f7fee7);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #555;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Playfair Display', serif;
  color: #0a0a0a;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.4rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

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

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

/* Cookie banner */
.cookie-banner {
  background: #ecfccb;
  padding: 14px 0;
  font-size: 14px;
}
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; }

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.site-logo {
  display: block;
  text-align: center;
  font-size: 1.7rem;
  color: #0a0a0a;
  margin-bottom: 12px;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.nav-links a { color: #1a1a1a; font-weight: 500; }
.nav-links a.active { color: #4d7c0f; }

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

/* Hero */
.hero-content { max-width: 60%; }
.hero-content p { font-size: 16px; color: #555; }

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

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

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.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: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title-block h3 { margin-bottom: 4px; }
.game-dev { font-size: 13px; color: #999; }
.badge {
  display: inline-block;
  background: #ecfccb;
  color: #4d7c0f;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}
.game-desc { font-size: 14px; margin-bottom: 14px; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-shots img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}
.btn {
  display: inline-block;
  background: #4d7c0f;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'DM Sans', 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%; display: block; }
.game-card .btn { margin-top: auto; }

/* Catalog grid for benefits/questions */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Subscribe form */
.subscribe-wrap { max-width: 560px; margin: 0 auto; }
.subscribe-wrap .card { padding: 32px; }
.subscribe-wrap h2 { text-align: center; }
.subscribe-sub { text-align: center; color: #999; margin-bottom: 24px; }
form .field { margin-bottom: 14px; }
label { display: block; margin-bottom: 6px; font-size: 14px; color: #555; }
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: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
input:focus {
  border-color: #4d7c0f;
  box-shadow: 0 0 0 2px rgba(77,124,15,0.12);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 18px; font-size: 13px; line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px;
  accent-color: #4d7c0f; cursor: pointer;
}
.form-consent label { margin-bottom: 0; font-weight: 400; color: #555; cursor: pointer; font-size: 13px; }
.form-consent a { color: #4d7c0f; }
.success-msg {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: #ecfccb;
  color: #4d7c0f;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}
.success-msg.show { display: block; }

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

/* QA */
.qa-item { margin-bottom: 20px; }
.qa-item h3 { color: #1a1a1a; }

/* Footer */
footer {
  text-align: center;
  color: #999;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: #4d7c0f; margin: 0 6px; }

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