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

body {
  background: linear-gradient(160deg, #f3e8ff, #faf5ff);
  background-attachment: fixed;
  font-family: 'Lato', sans-serif;
  color: #555;
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Lora', serif;
  color: #0a0a0a;
  font-weight: 700;
  line-height: 1.3;
}

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

p { margin-bottom: 12px; }

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

a {
  color: #7c3aed;
  text-decoration: none;
}
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Cookie bottom-sheet */
.cookie-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.cookie-sheet[hidden] { display: none; }
.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}
.cookie-content {
  position: relative;
  width: 100%;
  background: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -8px 28px rgba(10, 10, 10, 0.18);
  padding: 24px 24px 20px;
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: auto;
}
.cookie-sheet.visible .cookie-backdrop { opacity: 1; }
.cookie-sheet.visible .cookie-content { transform: translateY(0); opacity: 1; }
.cookie-content h2 { font-size: 1.2rem; margin-bottom: 8px; }
.cookie-content p { font-size: 15px; margin-bottom: 16px; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-actions .btn { width: auto; padding: 10px 22px; flex: 1 1 180px; max-width: 240px; }

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.6rem;
  color: #0a0a0a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a { color: #1a1a1a; font-weight: 700; }
.nav-links a:hover { color: #7c3aed; text-decoration: none; }

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

/* Hero */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 0 0 60%; }
.hero-image {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.disclosure {
  font-size: 14px;
  background: #faf5ff;
  border-left: 3px solid #7c3aed;
  padding: 10px 14px;
  border-radius: 4px;
  color: #333;
}

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

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

.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(124, 58, 237, 0.12); }

.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-title h3 { margin-bottom: 4px; }
.game-dev { font-size: 14px; color: #777; }
.badge {
  display: inline-block;
  background: #f3e8ff;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.game-desc { font-size: 15px; margin-bottom: 14px; }
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.shots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.affiliate-note {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}
.btn {
  display: inline-block;
  background: #7c3aed;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
  transition: opacity 0.2s, background 0.2s;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
.btn:hover { opacity: 0.9; text-decoration: none; color: #fff; }
.btn:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
.btn-block { width: 100%; display: block; }
.btn-secondary {
  background: #efeaf7;
  color: #1a1a1a;
}
.btn-secondary:hover { background: #e3dcef; color: #1a1a1a; }

/* Subscribe */
.subscribe-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 32px;
}
.subscribe-card h2, .subscribe-card .subtitle { text-align: center; }
.subtitle { color: #777; margin-bottom: 24px; }
.field { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #1a1a1a;
  font-weight: 700;
}
.optional {
  font-weight: 400;
  color: #888;
  font-size: 13px;
}
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: 'Lato', sans-serif;
  transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

/* Consent + form note */
.form-note {
  font-size: 13px;
  color: #666;
  margin: 8px 0 14px;
}
.consent-field { margin-bottom: 18px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #7c3aed;
  flex-shrink: 0;
  cursor: pointer;
}
.consent span { flex: 1; }

.form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #fff8e1;
  color: #5b4400;
  border-radius: 6px;
  font-size: 14px;
  border-left: 3px solid #c79a00;
}
.form-error[hidden] { display: none; }

/* Success state */
.success {
  margin-top: 12px;
  padding: 20px;
  background: #ede4ff;
  color: #2e1065;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  opacity: 0;
  transform: translateY(8px);
  animation: success-in 0.4s ease forwards;
}
.success[hidden] { display: none; }
.success strong { font-family: 'Lora', serif; font-size: 1.1rem; display: block; margin-bottom: 6px; color: #2e1065; }
.success p { margin: 0; }
@keyframes success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Legal pages */
.legal h2 { margin-top: 28px; }
.legal h3 { margin-top: 20px; }
.legal ul { margin: 12px 0 12px 24px; }
.legal li { margin-bottom: 8px; }

/* Offerings */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* FAQ */
.faq-list { margin-top: 24px; }
.faq-list details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-family: 'Lora', serif;
  color: #0a0a0a;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #7c3aed;
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 20px 18px; }
.faq-list details > div > p { margin-bottom: 8px; }

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 0;
}
.error-page h1 { font-size: 3rem; }
.error-page .err-code {
  font-size: 5rem;
  font-family: 'Lora', serif;
  color: #c4b5fd;
  margin-bottom: 12px;
  line-height: 1;
}
.error-page .err-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.error-page .btn { width: auto; padding: 10px 24px; }

/* Footer */
footer {
  text-align: center;
  color: #777;
  padding: 32px 0;
  font-size: 15px;
}
footer a { margin: 0 8px; color: #5b21b6; }
footer nav p { margin: 8px 0; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  body { font-size: 16px; }
  .hero-inner { flex-direction: column; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .nav-links { gap: 14px; }
  .subscribe-card { padding: 24px; }
  section { padding: 32px 0; }
  .cookie-content { padding: 20px 18px 18px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { max-width: none; width: 100%; }
}
