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

body {
  background: linear-gradient(180deg, #a7f3d0, #ecfdf5);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.75;
}

h1, h2, h3, .site-logo {
  font-family: 'Instrument Serif', serif;
  color: #222;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }

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

/* Navbar */
.navbar {
  background: transparent;
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.4rem;
  text-decoration: none;
  color: #222;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  color: #047857;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  background: rgba(255,255,255,0.9);
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
}

.cookie-banner p {
  display: inline;
}

.cookie-banner a {
  color: #047857;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-btn {
  background: #047857;
  color: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  margin-left: 12px;
  transition: opacity 0.2s;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-hidden {
  display: none;
}

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

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

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-content p {
  color: #4a4a4a;
}

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

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

.game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.game-title-wrap h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.game-developer {
  font-size: 13px;
  color: #808080;
}

.genre-badge {
  display: inline-block;
  background: rgba(4,120,87,0.1);
  color: #047857;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.game-description {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
}

.game-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.game-screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.btn {
  display: inline-block;
  background: #047857;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
  color: #fff;
}

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

.about-content h2 {
  margin-bottom: 16px;
}

.about-content p {
  margin-bottom: 14px;
}

/* Subscribe / Contact */
.subscribe-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.subscribe-wrap .card {
  padding: 32px;
}

.subscribe-wrap h2 {
  margin-bottom: 6px;
}

.subscribe-subtitle {
  color: #808080;
  margin-bottom: 20px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 14px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: transparent;
}

.form-input:focus {
  border-color: #047857;
  box-shadow: 0 0 0 2px rgba(4,120,87,0.125);
}

.btn-full {
  width: 100%;
  padding: 10px;
  font-weight: 500;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #047857;
}
.form-consent label {
  font-size: 13px;
  color: #808080;
  line-height: 1.4;
  cursor: pointer;
}
.form-consent a {
  color: #047857;
  text-decoration: underline;
}
.success-msg {
  display: none;
  text-align: center;
  color: #047857;
  margin-top: 14px;
  font-weight: 500;
}

.success-msg.visible {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  color: #808080;
  padding: 32px 0;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #047857;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-address {
  color: #808080;
  font-size: 13px;
  margin-top: 8px;
  font-style: normal;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: #047857;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Section headings */
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 5px 0;
  transition: transform 0.2s;
}

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

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding-top: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .hero-content {
    padding: 48px 0;
  }

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

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

  .section {
    padding: 40px 0;
  }
}
