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

body {
  background: linear-gradient(200deg, #d1fae5, #ecfdf5);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
}

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

h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

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

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

/* Cookie banner */
.cookie {
  background: rgba(255,255,255,0.9);
  padding: 14px 0;
  font-size: 15px;
}
.cookie .container { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { margin: 0; }
.cookie button {
  background: #059669; color: #fff; border: none; border-radius: 0;
  text-transform: uppercase; letter-spacing: 1px; padding: 8px 18px;
  cursor: pointer; font-size: 13px; font-family: inherit;
  transition: opacity 0.2s;
}
.cookie button:hover { opacity: 0.85; }
.hidden { display: none; }

/* Navbar */
.navbar { background: transparent; padding: 16px 0; }
.site-logo { display: block; text-align: center; font-size: 1.8rem; margin-bottom: 10px; }
.nav-links {
  list-style: none; display: flex; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.nav-links a { color: #4a4a4a; font-weight: 500; }
.nav-links a:hover { color: #059669; text-decoration: none; }

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

/* Hero */
.hero-content { max-width: 60%; }
.hero-content p { font-size: 18px; }

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

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

/* Catalog */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.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: 12px; object-fit: cover; flex-shrink: 0;
}
.game-title { margin-bottom: 4px; font-size: 1.15rem; }
.badge {
  display: inline-block; background: #059669; color: #fff;
  font-size: 11px; padding: 3px 10px; border-radius: 0;
  text-transform: uppercase; letter-spacing: 1px; margin-right: 8px;
}
.developer { color: #808080; font-size: 13px; }
.game-desc { font-size: 15px; margin-bottom: 14px; flex-grow: 1; }
.shots {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.shots img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; }
.btn {
  background: #059669; color: #fff; border-radius: 0;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 24px; border: none; cursor: pointer;
  font-size: 15px; font-family: inherit; font-weight: 500;
  transition: opacity 0.2s; display: inline-block; text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-full { width: 100%; padding: 12px; }

/* Subscribe */
.subscribe-card { max-width: 560px; margin: 0 auto; padding: 32px; }
.subscribe-card h2, .subscribe-card .sub { text-align: center; }
.sub { color: #808080; margin-bottom: 22px; }
.form-row { 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;
  font-family: inherit; transition: border-color 0.2s;
}
input:focus { border-color: #059669; box-shadow: 0 0 0 2px #05966920; }
.success { display: none; margin-top: 16px; padding: 12px; color: #059669; font-weight: 500; text-align: center; }
.success.show { display: block; }

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

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero-content { max-width: 100%; }
  section { padding: 48px 0; }
  .nav-links { gap: 18px; font-size: 15px; }
  .subscribe-card { padding: 24px; }
  .shots img { height: 110px; }
}
