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

body {
  background: linear-gradient(150deg, #dbeafe, #eff6ff);
  background-attachment: fixed;
  font-family: 'Raleway', sans-serif;
  color: #444;
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
}

h1, h2, h3, .site-logo {
  font-family: 'Cormorant Garamond', serif;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

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

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

/* Cookie banner */
.cookie-banner {
  padding: 14px 0;
  font-size: 14px;
  color: #444;
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  text-align: center;
}
.cookie-banner button {
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}
.cookie-banner.hidden { display: none; }

/* Header / Navbar */
.site-header { padding: 16px 0; background: transparent; }
.site-logo {
  display: block;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
}
.site-logo a { color: #1a1a1a; text-decoration: none; }
.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.nav-list a {
  color: #1d4ed8;
  font-weight: 500;
  font-size: 15px;
}

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

/* Hero */
.hero-text {
  max-width: 60%;
  text-align: left;
}

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

/* Card */
.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 4px 16px rgba(29,78,216,0.08); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title { font-size: 1.2rem; margin-bottom: 4px; }
.game-dev { font-size: 13px; color: #777; }
.badge {
  display: inline-block;
  background: #1d4ed8;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 500;
}
.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: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.btn {
  display: inline-block;
  background: #1d4ed8;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  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; }

/* Subscribe form */
.subscribe-wrap { max-width: 560px; margin: 0 auto; }
.subscribe-wrap .card { padding: 32px; text-align: center; }
.subscribe-wrap h2 { margin-bottom: 8px; }
.subscribe-wrap .subtitle { color: #777; margin-bottom: 22px; }
.form-field { margin-bottom: 14px; text-align: left; }
.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}
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: 'Raleway', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29,78,216,0.125);
}
.success-msg {
  margin-top: 16px;
  color: #1d4ed8;
  font-weight: 500;
}
.hidden { display: none; }

/* Legal / page content */
.page-content { max-width: 860px; margin: 0 auto; }
.page-content h2 { margin-top: 28px; }
.page-content h3 { margin-top: 22px; }
.page-content ul, .page-content ol { margin: 10px 0 16px 22px; }
.page-content li { margin-bottom: 6px; }

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

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero-text { max-width: 100%; }
  .nav-list { gap: 14px; font-size: 14px; }
  .subscribe-wrap .card { padding: 24px; }
  .games-grid { grid-template-columns: 1fr; }
  .shots img { height: 140px; }
}
