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

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

h1, h2, h3, .site-logo {
  font-family: 'DM Sans', sans-serif;
  color: #111;
  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; }

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

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

/* Cookie banner */
.cookie-banner {
  padding: 14px 0;
  font-size: 14px;
  color: #444;
}
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.cookie-banner button {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Header */
.site-header { padding: 16px 0; background: transparent; }
.site-logo {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  color: #166534;
  margin-bottom: 12px;
}
.site-logo:hover { text-decoration: none; }

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.main-nav a {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 15px;
}

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

.hero {
  text-align: center;
  padding: 80px 0;
}
.hero-inner { max-width: 700px; margin: 0 auto; }

.about-inner, .legal-inner { max-width: 800px; margin: 0 auto; }
.legal-inner h2 { margin-top: 28px; }
.legal-inner ul { margin: 8px 0 16px 22px; }
.legal-inner li { margin-bottom: 6px; }

.section-title { text-align: center; margin-bottom: 36px; font-size: 1.6rem; }

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

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.game-card { display: flex; flex-direction: column; }
.game-header {
  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 { flex: 1; min-width: 0; }
.game-title-block h3 { margin-bottom: 4px; }
.game-dev { font-size: 13px; color: #888; }
.badge {
  display: inline-block;
  background: rgba(22,101,52,0.1);
  color: #166534;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.game-desc { margin-bottom: 14px; font-size: 14px; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-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: inherit;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { display: block; width: 100%; }

/* Form */
.form-wrap { max-width: 560px; margin: 0 auto; padding: 32px; }
.form-wrap h2 { text-align: center; }
.form-subtitle { text-align: center; color: #888; margin-bottom: 24px; }

.form-group { margin-bottom: 14px; }
label { display: block; font-size: 14px; margin-bottom: 6px; color: #444; }
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus {
  border-color: #166534;
  box-shadow: 0 0 0 2px rgba(22,101,52,0.13);
}
.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: #166534; cursor: pointer;
}
.form-consent label { margin-bottom: 0; font-weight: 400; color: #555; cursor: pointer; font-size: 13px; }
.form-consent a { color: #166534; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px;
  background: rgba(22,101,52,0.1);
  color: #166534;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}
.form-success.show { display: block; }

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.adv-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #166534;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Steps */
.steps { display: grid; gap: 20px; max-width: 800px; margin: 0 auto; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: #166534;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}
.step-content { flex: 1; }

/* Footer */
.site-footer {
  text-align: center;
  color: #888;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer a { color: #166534; margin: 0 6px; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .hero { padding: 56px 0; }
  section { padding: 48px 0; }
  .form-wrap { padding: 24px; }
  .main-nav ul { gap: 6px 16px; font-size: 14px; }
  .game-shots { gap: 6px; }
  .games-grid { grid-template-columns: 1fr; }
}
