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

body {
  background: linear-gradient(150deg, #ecfdf5, #f0fdf4);
  background-attachment: fixed;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #555;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Crimson Pro', serif;
  color: #0a0a0a;
  font-weight: 700;
}

h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.4rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 12px; }

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.7);
  backdrop-filter: blur(8px);
  padding: 14px 0;
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cookie-inner p { margin: 0; }
.cookie-inner button {
  background: #166534;
  color: #fff;
  border-radius: 20px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: opacity 0.2s;
}
.cookie-inner button:hover { opacity: 0.85; }

/* Navbar */
.navbar {
  background: transparent;
  padding: 16px 0;
  text-align: center;
}
.site-logo {
  display: inline-block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
}

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

.hero {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about {
  max-width: 800px;
  margin: 0 auto;
}
.about p { margin-bottom: 14px; }

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

.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(22,101,52,0.08); }

.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-block { flex: 1; min-width: 0; }
.game-title-block h3 { margin-bottom: 4px; }
.game-dev {
  color: #999;
  font-size: 13px;
}
.badge {
  display: inline-block;
  background: rgba(22,101,52,0.1);
  color: #166534;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.game-desc {
  margin-bottom: 14px;
  font-size: 14px;
}
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.game-shots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

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

/* Subscribe */
.subscribe-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.subscribe-wrap.card { padding: 32px; }
.subscribe-wrap h2 { text-align: center; }
.subscribe-sub {
  text-align: center;
  color: #999;
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #555;
}
input, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: #166534;
  box-shadow: 0 0 0 2px rgba(22,101,52,0.125);
}
.form-success {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(22,101,52,0.08);
  color: #166534;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-success.show { display: block; }

/* Legal pages content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}
.page-content h1 { margin-bottom: 24px; }
.page-content h2 { margin-top: 28px; margin-bottom: 12px; }
.page-content p, .page-content li { margin-bottom: 10px; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 14px; }

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

/* Solutions grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  section { padding: 40px 0; }
  .subscribe-wrap.card { padding: 24px; }
  .nav-links { gap: 4px 16px; }
}
