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

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

h1, h2, h3, .site-logo {
  font-family: 'Crimson Pro', serif;
  color: #1a1a1a;
  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; }

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

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

img { max-width: 100%; display: block; }

/* Cookie banner */
.cookie-banner {
  padding: 12px 0;
  font-size: 14px;
}
.cookie-banner .cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner button {
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  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;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}
.nav-links a:hover { color: #1d4ed8; text-decoration: none; }

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

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

.about-inner { max-width: 800px; margin: 0 auto; }

/* Cards */
.card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(29,78,216,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: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-meta h3 { margin-bottom: 4px; }
.game-developer { font-size: 13px; color: #808080; }
.badge {
  display: inline-block;
  font-size: 12px;
  background: rgba(29,78,216,0.1);
  color: #1d4ed8;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.game-description { font-size: 14px; color: #4a4a4a; margin-bottom: 14px; }
.game-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.game-screens img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #1d4ed8;
  color: #fff;
  border-radius: 6px;
  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%; padding: 12px; }
.btn-auto { margin-top: auto; }

/* Forms */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.form-card h2 { text-align: center; }
.form-subtitle { text-align: center; color: #808080; margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 14px; 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: inherit;
  outline: none;
  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);
}
.form-success {
  margin-top: 16px;
  padding: 12px;
  background: rgba(29,78,216,0.08);
  color: #1d4ed8;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }

/* Legal content */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 28px; }
.legal-content ul { margin: 8px 0 12px 22px; }
.legal-content li { margin-bottom: 6px; }

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

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  section { padding: 48px 0; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .form-card { padding: 24px; }
  .game-screens img { height: 140px; }
}
