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

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 1.6rem; }

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

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

/* Cookie Banner */
.cookie-banner {
  background: #fff;
  padding: 14px 0;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cookie-banner p {
  display: inline;
  font-size: 15px;
  color: #555;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .btn-cookie {
  background: #047857;
  color: #fff;
  border-radius: 2px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cookie-banner .btn-cookie:hover {
  opacity: 0.85;
}
.cookie-banner.hidden {
  display: none;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
.site-logo:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.nav-links a:hover {
  color: #047857;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: transform 0.2s;
}

/* Sections */
.section {
  padding: 56px 0;
}

/* Hero */
.hero-content {
  max-width: 60%;
}
.hero-content h1 {
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
}

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

/* Card */
.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 16px rgba(0,0,0,0.08);
}

/* Game Card */
.game-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}
.game-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.game-developer {
  font-size: 13px;
  color: #888;
}
.genre-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.game-description {
  font-size: 15px;
  color: #444;
  margin-bottom: 14px;
  line-height: 1.65;
}
.game-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.game-screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.btn {
  display: inline-block;
  background: #047857;
  color: #fff;
  border-radius: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: opacity 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}
.btn-full {
  width: 100%;
}

/* About */
.about-content {
  max-width: 800px;
}
.about-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Subscribe / Contact Form */
.subscribe-wrapper {
  max-width: 560px;
  margin: 0 auto;
}
.subscribe-wrapper .card {
  padding: 32px;
}
.subscribe-wrapper h2 {
  margin-bottom: 6px;
}
.subscribe-wrapper .form-subtitle {
  color: #666;
  margin-bottom: 24px;
  font-size: 15px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.form-group input {
  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;
  color: #333;
}
.form-group input:focus {
  border-color: #047857;
  box-shadow: 0 0 0 2px rgba(4,120,87,0.13);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #047857;
}
.form-consent label {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  cursor: pointer;
}
.form-consent a {
  color: #047857;
  text-decoration: underline;
}
.form-success {
  display: none;
  color: #047857;
  font-weight: 600;
  font-size: 15px;
  margin-top: 14px;
  text-align: center;
}
.form-success.visible {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  color: #888;
  padding: 32px 0;
  font-size: 14px;
}
.footer-links {
  margin-bottom: 10px;
}
.footer-links a {
  color: #888;
  font-size: 14px;
  margin: 0 8px;
}
.footer-links a:hover {
  color: #047857;
}
.footer-address {
  color: #999;
  font-size: 13px;
  margin-top: 8px;
  font-style: normal;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
}
.legal-content h1 {
  margin-bottom: 24px;
}
.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.legal-content p {
  margin-bottom: 14px;
  line-height: 1.7;
}
.legal-content ul, .legal-content ol {
  margin-bottom: 14px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 6px;
  line-height: 1.65;
}

/* Steps */
.steps-list {
  max-width: 700px;
  list-style: none;
  counter-reset: steps;
}
.steps-list li {
  counter-increment: steps;
  margin-bottom: 28px;
  padding-left: 48px;
  position: relative;
}
.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: #047857;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.steps-list li h3 {
  margin-bottom: 4px;
}

/* Q&A */
.qa-item {
  margin-bottom: 28px;
  max-width: 800px;
}
.qa-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.qa-item p {
  line-height: 1.7;
}

/* Cookie settings page */
.cookie-category {
  margin-bottom: 28px;
  max-width: 800px;
}
.cookie-category h3 {
  margin-bottom: 6px;
}
.cookie-category p {
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Story content */
.story-content {
  max-width: 800px;
}
.story-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding-top: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .navbar .container {
    flex-wrap: wrap;
  }

  .hero-content {
    max-width: 100%;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-wrapper .card {
    padding: 24px;
  }

  .footer-links a {
    display: inline-block;
    margin: 4px 8px;
  }
}
