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

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

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

h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 1.6rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }

p { margin-bottom: 14px; line-height: 1.7; }

a { color: #4338ca; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header { padding: 24px 0 8px; }
.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: 8px 28px;
  padding: 8px 0;
}
.nav-list a {
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 15px;
}

/* Cookie banner */
.cookie-banner {
  padding: 14px 0;
}
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 15px; }

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

/* Hero */
.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 0 0 60%; }
.hero-image { flex: 0 0 40%; text-align: center; }
.hero-image img { max-width: 280px; width: 100%; height: auto; border-radius: 16px; }

/* Buttons */
.btn {
  display: inline-block;
  background: #4338ca;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-full { width: 100%; padding: 12px; }

/* Cards */
.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(67,56,202,0.08); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-meta { flex: 1; }
.badge {
  display: inline-block;
  background: rgba(67,56,202,0.12);
  color: #4338ca;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.developer { color: #777; font-size: 14px; margin-top: 4px; }
.game-desc { font-size: 15px; }
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 18px;
  margin-top: auto;
  padding-top: 14px;
}
.screenshots img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

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

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

form .field { margin-bottom: 14px; }
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;
  font-family: 'Raleway', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
input:focus {
  border-color: #4338ca;
  box-shadow: 0 0 0 2px #4338ca20;
}
.form-success {
  margin-top: 16px;
  padding: 12px;
  background: rgba(67,56,202,0.08);
  color: #4338ca;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }

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

/* Footer */
.site-footer {
  text-align: center;
  color: #777;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer .footer-links {
  margin-bottom: 8px;
}
.site-footer .footer-links a { margin: 0 10px; }

/* Consent checkbox */
.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 18px;
}
.field-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #4338ca;
  cursor: pointer;
}
.field-consent label {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  cursor: pointer;
}
.field-consent a { color: #4338ca; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .subscribe-wrap .card { padding: 24px; }
  .nav-list { gap: 6px 16px; font-size: 14px; }
  .games-grid { grid-template-columns: 1fr; }
}
