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

body {
  background: linear-gradient(180deg, #e0f2fe, #f0f9ff);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #3a3a3a;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Playfair Display', serif;
  color: #1f1f1f;
  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: #0369a1; 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.85);
  padding: 14px 0;
}
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 14px; color: #3a3a3a; }
.cookie-banner button {
  background: #0369a1; color: #fff; border: none; cursor: pointer;
  border-radius: 2px; padding: 8px 20px; font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Header */
.site-header { padding: 16px 0; }
.site-header .container { text-align: center; }
.site-logo {
  display: inline-block;
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.main-nav a { font-weight: 500; color: #1f1f1f; }
.main-nav a:hover { color: #0369a1; text-decoration: none; }

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

/* Hero */
.hero-text { max-width: 60%; }
.hero-text p { color: #3a3a3a; }

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

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }

/* Games grid */
.games-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-meta h3 { margin-bottom: 4px; }
.game-dev { color: #7a7a7a; font-size: 13px; }
.badge {
  display: inline-block;
  background: #0369a120;
  color: #0369a1;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 500;
}
.game-desc { margin-bottom: 14px; flex-grow: 1; }
.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;
}

/* Buttons */
.btn {
  background: #0369a1;
  color: #fff;
  border-radius: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'DM Sans', 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 { width: 100%; }

/* Forms */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.form-card h2 { margin-bottom: 6px; }
.form-card .subtitle { color: #7a7a7a; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #3a3a3a;
}
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: 'DM Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #0369a1;
  box-shadow: 0 0 0 2px #0369a120;
}
.success-msg {
  margin-top: 14px;
  padding: 10px 14px;
  background: #0369a115;
  color: #0369a1;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }

/* Footer */
.site-footer {
  text-align: center;
  color: #7a7a7a;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

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

/* Site map */
.sitemap-list { list-style: none; max-width: 800px; margin: 0 auto; }
.sitemap-list li { padding: 8px 0; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  .hero-text { max-width: 100%; }
  .main-nav ul { gap: 16px; }
  .form-card { padding: 24px; }
  .games-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}
