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

body {
  background: linear-gradient(170deg, #e0f2fe, #eff6ff);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: #4a4a4a;
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
}

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

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin-bottom: 12px; }
ul, ol { margin: 0 0 12px 20px; }
li { margin-bottom: 6px; }

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

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

/* Cookie banner */
.cookie-banner {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  margin: 16px auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  font-size: 14px;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner button {
  background: #2563eb;
  color: #fff;
  border-radius: 20px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Navbar */
.site-header { padding: 16px 0; background: transparent; }
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  flex-wrap: wrap;
}
.nav-links a { color: #4a4a4a; font-weight: 500; }
.nav-links a:hover { color: #2563eb; text-decoration: none; }

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

.hero {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero p { color: #4a4a4a; font-size: 1.05rem; }

.about-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

/* Cards */
.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 6px 20px rgba(37, 99, 235, 0.08); }

/* Game catalog */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 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: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-meta { flex: 1; min-width: 0; }
.game-title { font-size: 1.1rem; margin-bottom: 4px; }
.game-dev { font-size: 0.85rem; color: #808080; }
.badge {
  display: inline-block;
  background: #e0f2fe;
  color: #2563eb;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.game-desc { font-size: 0.95rem; color: #4a4a4a; margin-bottom: 14px; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-shots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.btn {
  background: #2563eb;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { display: block; width: 100%; }

.game-card .btn { margin-top: auto; }

/* Subscribe form */
.subscribe-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.subscribe-wrap .card { padding: 32px; }
.subscribe-wrap h2, .subscribe-wrap .subtitle { text-align: center; }
.subscribe-wrap .subtitle { color: #808080; margin-bottom: 20px; }

.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #4a4a4a;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.form-success {
  margin-top: 14px;
  padding: 10px 14px;
  background: #e0f2fe;
  color: #1e40af;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.form-success.hidden { display: none; }

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 28px; }
.legal-content h1 { margin-bottom: 24px; }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .nav-wrap { gap: 16px; }
  .nav-links { gap: 14px; font-size: 14px; }
  section { padding: 40px 0; }
  .subscribe-wrap .card { padding: 24px; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
