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

body {
  background: linear-gradient(150deg, #fae8ff, #fdf4ff);
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: #444;
  line-height: 1.65;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #1a1a1a;
  font-weight: 700;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; color: #111; }

p { color: #333; }

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

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

/* Cookie bottom-sheet (AEPD-compliant) */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
  animation: cookieFadeIn 0.4s ease forwards;
}
.cookie-overlay.visible { display: block; }
.cookie-sheet {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 32px));
  background: #ffffff;
  border-top: 4px solid #a21caf;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 22px 24px 20px;
  z-index: 9999;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  animation: cookieSlideUp 0.45s ease forwards;
}
.cookie-sheet.pulse { animation: cookiePulse 1.6s ease-in-out; }
.cookie-icon {
  color: #a21caf;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.cookie-sheet.pulse .cookie-icon { animation: cookieIconShake 0.6s ease-in-out; }
.cookie-body { grid-column: 2 / -1; }
.cookie-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.cookie-desc {
  font-size: 14px;
  color: #444;
  margin-bottom: 0;
  line-height: 1.55;
}
.cookie-desc a { color: #a21caf; text-decoration: underline; }
.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  border: 1.5px solid #a21caf;
  transition: opacity 0.2s, transform 0.1s;
  min-width: 140px;
}
.cookie-btn:hover { opacity: 0.88; }
.cookie-btn:active { transform: translateY(1px); }
.cookie-btn-accept { background: #a21caf; color: #fff; }
.cookie-btn-reject { background: #fff; color: #a21caf; }
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 18px 48px rgba(0,0,0,0.18); }
  50% { box-shadow: 0 18px 48px rgba(162,28,175,0.35), 0 0 0 4px rgba(162,28,175,0.18); }
}
@keyframes cookieIconShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-5deg); }
  80% { transform: rotate(5deg); }
}
@media (max-width: 600px) {
  .cookie-sheet {
    grid-template-columns: 1fr;
    bottom: 12px;
    padding: 18px 18px 16px;
  }
  .cookie-icon { justify-content: flex-start; }
  .cookie-body { grid-column: 1; }
  .cookie-actions {
    grid-column: 1;
    flex-direction: column-reverse;
  }
  .cookie-btn { width: 100%; min-width: 0; }
}

/* Navbar */
.site-header { padding: 16px 0; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.5rem;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a { color: #333; font-weight: 600; }
.nav-links a:hover { color: #a21caf; text-decoration: none; }

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

.hero {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}
.hero p { margin-top: 18px; font-size: 1.05rem; }

.about-wrap { max-width: 800px; margin: 0 auto; }
.about-wrap p { margin-top: 12px; }

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

.card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(162, 28, 175, 0.08); }

.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-block { display: flex; flex-direction: column; gap: 4px; }
.badge {
  display: inline-block;
  background: #f3e8ff;
  color: #a21caf;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  width: fit-content;
}
.developer { font-size: 13px; color: #888; }

.game-desc { font-size: 15px; margin: 8px 0 14px; }

.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: #a21caf;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: opacity 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-full { width: 100%; padding: 12px; }

/* Form */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-wrap .card { padding: 32px; }
.form-wrap h2 { text-align: center; }
.form-sub { text-align: center; color: #666; margin-bottom: 20px; }

.field { margin-bottom: 14px; }
label { display: block; font-size: 14px; margin-bottom: 6px; color: #333; font-weight: 600; }
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
input:focus {
  border-color: #a21caf;
  box-shadow: 0 0 0 2px rgba(162, 28, 175, 0.125);
}

/* Form microcopy + consent + success */
.optional { color: #999; font-size: 12px; font-weight: 400; }
.form-microcopy {
  font-size: 13px;
  color: #666;
  margin: 8px 0 14px;
  line-height: 1.55;
}
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
}
.consent-group input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #a21caf;
  cursor: pointer;
}
.consent-group label {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}
.consent-group label a { color: #a21caf; text-decoration: underline; }
.consent-error {
  display: none;
  margin: 6px 0 0 26px;
  padding: 6px 10px;
  font-size: 12px;
  color: #1a1a1a;
  background: rgba(162, 28, 175, 0.12);
  border-left: 2px solid #a21caf;
  border-radius: 4px;
}
.consent-error.show { display: block; }
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #a21caf;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: opacity 0.2s;
  margin-top: 6px;
}
.submit-btn:hover { opacity: 0.85; }

.form-success {
  display: none;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(162, 28, 175, 0.10);
  color: #1a1a1a;
  border-left: 3px solid #a21caf;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-success.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.success-icon { color: #a21caf; flex-shrink: 0; margin-top: 2px; }
.success-title { margin-bottom: 4px; }
.form-success p { margin-bottom: 4px; }

/* Hero meta + affiliate disclosure strips */
.hero-meta {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}
.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 8px;
}
.disclosure-strip {
  background: rgba(162, 28, 175, 0.06);
  border-left: 3px solid #a21caf;
  padding: 12px 16px;
  margin: 24px 0;
  font-size: 13px;
  color: #555;
  border-radius: 4px;
}
.footer-disclosure {
  margin-top: 14px;
  font-size: 12px;
  color: #999;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.footer-links { margin-bottom: 8px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 32px auto 0; }
.faq-item {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #1a1a1a;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #a21caf;
  font-size: 1.4rem;
  font-weight: 400;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 12px 0 0; font-size: 15px; color: #555; }
.faq-item p a { color: #a21caf; text-decoration: underline; }

/* Page updated stamp + content pages */
.page-updated {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 22px;
  font-style: italic;
}
.page-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.content-block {
  max-width: 800px;
  margin: 32px auto 0;
}
.content-block .card { margin-bottom: 20px; }
.content-block ul { margin: 12px 0 14px 22px; }
.content-block li { margin-bottom: 6px; }

/* Legal pages */
.page-wrap { max-width: 800px; margin: 0 auto; }
.page-wrap h2 { margin-top: 28px; }
.page-wrap p, .page-wrap li { margin-top: 10px; }
.page-wrap ul { padding-left: 22px; }

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

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero { padding: 48px 16px; }
  section { padding: 48px 0; }
  .form-wrap .card { padding: 24px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .shots img { height: 100px; }
}
