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

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

h1, h2, h3, .site-logo { font-family: 'Lora', serif; color: #111; font-weight: 700; }
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }
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 {
  background: rgba(255,255,255,0.9);
  padding: 14px 0;
  font-size: 14px;
}
.cookie-banner .cookie-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cookie-banner button {
  background: #166534; color: #fff; border: none; border-radius: 20px;
  padding: 8px 20px; cursor: pointer; font-size: 14px; transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Navbar */
.navbar { padding: 16px 0; background: transparent; }
.navbar .nav-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-size: 1.4rem; text-transform: uppercase; letter-spacing: 1px; color: #111; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { text-transform: uppercase; font-size: 13px; color: #333; letter-spacing: 0.5px; }
.nav-links a:hover { color: #166534; text-decoration: none; }

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

/* Hero */
.hero .hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 0 0 60%; }
.hero-image { flex: 0 0 40%; display: flex; justify-content: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 12px; }

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

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

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

.game-card .game-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.game-card .game-icon { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.game-card .game-title { font-size: 1.15rem; margin-bottom: 4px; }
.game-card .game-developer { font-size: 13px; color: #888; }
.badge {
  display: inline-block; font-size: 12px; color: #166534;
  background: rgba(22,101,52,0.1); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px;
}
.game-card .screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.game-card .screenshots img { width: 100%; height: auto; border-radius: 6px; }

.btn {
  display: inline-block; background: #166534; color: #fff; border-radius: 20px;
  padding: 10px 24px; border: none; cursor: pointer; font-size: 15px;
  transition: opacity 0.2s; text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { width: 100%; padding: 12px; font-weight: 700; }

/* Subscribe / contact */
.subscribe-card { max-width: 560px; margin: 0 auto; padding: 32px; }
.subscribe-card .subtitle { color: #888; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 14px; margin-bottom: 6px; color: #333; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; padding: 10px 14px; border: 1px solid #d9d9d9;
  border-radius: 6px; font-size: 15px; outline: none;
  font-family: 'Lato', sans-serif; transition: border-color 0.2s;
}
input:focus { border-color: #166534; box-shadow: 0 0 0 2px rgba(22,101,52,0.125); }
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 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; }
.success-message { display: none; margin-top: 16px; padding: 12px; background: rgba(22,101,52,0.1); color: #166534; border-radius: 6px; font-size: 14px; }
.success-message.show { display: block; }

/* Footer */
.footer { text-align: center; color: #888; padding: 32px 0; font-size: 14px; }
.footer .footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer .footer-links a { color: #666; font-size: 14px; }

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

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  .hero .hero-inner { flex-direction: column; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .subscribe-card { padding: 24px; }
  .navbar .nav-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .catalog-grid { grid-template-columns: 1fr; }
}
