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

body {
  background: linear-gradient(170deg, #d9f99d, #f7fee7);
  background-attachment: fixed;
  font-family: "Source Sans 3", sans-serif;
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

h1,
h2,
h3,
.site-logo {
  font-family: "Libre Baskerville", serif;
  color: #1a1a1a;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

.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: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px auto;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
}
.cookie-banner button {
  background: #4d7c0f;
  color: #fff;
  border-radius: 2px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s;
  font-family: inherit;
}
.cookie-banner button:hover {
  opacity: 0.85;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.navbar .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-logo {
  font-size: 1.5rem;
  color: #1a1a1a;
}
.site-logo:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover {
  color: #4d7c0f;
  text-decoration: none;
}

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

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

/* About */
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 {
  text-align: center;
}

/* 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 6px 20px rgba(0, 0, 0, 0.06);
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.game-card {
  display: flex;
  flex-direction: column;
}
.game-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title-block {
  flex: 1;
  min-width: 0;
}
.game-title-block h3 {
  margin-bottom: 4px;
  word-wrap: break-word;
}
.game-developer {
  font-size: 13px;
  color: #808080;
}
.badge {
  display: inline-block;
  background: #ecfccb;
  color: #4d7c0f;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.game-desc {
  font-size: 15px;
  margin-bottom: 16px;
}
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.game-shots img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}
.btn {
  display: inline-block;
  background: #4d7c0f;
  color: #fff;
  border-radius: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: opacity 0.2s;
  text-align: center;
  font-family: inherit;
  font-weight: 500;
}
.btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}
.btn-block {
  width: 100%;
  display: block;
  padding: 12px;
  margin-top: auto;
}

/* Subscribe form */
.subscribe {
  display: flex;
  justify-content: center;
}
.subscribe-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  width: 100%;
}
.subscribe-card h2 {
  text-align: center;
  margin-bottom: 8px;
}
.subscribe-card .subtitle {
  text-align: center;
  color: #808080;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 14px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #4a4a4a;
}
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  background: #fff;
}
input:focus {
  border-color: #4d7c0f;
  box-shadow: 0 0 0 2px #4d7c0f20;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #4d7c0f;
  cursor: pointer;
}
.form-consent label {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4a4a4a;
  cursor: pointer;
}
.form-consent a {
  color: #4d7c0f;
  text-decoration: underline;
}
.form-consent.error label {
  color: #b91c1c;
}
.form-consent.error input[type="checkbox"] {
  outline: 2px solid #b91c1c;
  outline-offset: 2px;
  border-radius: 3px;
}
.form-success {
  margin-top: 16px;
  padding: 12px;
  background: #ecfccb;
  color: #3f6212;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-success.show {
  display: block;
}

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

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

/* Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  section {
    padding: 56px 0;
  }
  .hero {
    padding: 60px 0;
  }
  .nav-links {
    gap: 16px;
    font-size: 14px;
  }
  .subscribe-card {
    padding: 24px;
  }
  .game-shots img {
    height: 120px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
}
