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

body {
  background: linear-gradient(135deg, #fbcfe8, #fdf2f8);
  background-attachment: fixed;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #3a3a3a;
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
}

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

p { margin-bottom: 12px; }

a { color: #db2777; 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 #db2777;
  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: #db2777;
  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: 'Crimson Pro', serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1f1f1f;
}
.cookie-desc {
  font-size: 14px;
  color: #444;
  margin-bottom: 0;
  line-height: 1.55;
}
.cookie-desc a { color: #db2777; text-decoration: underline; }
.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid #db2777;
  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: #db2777; color: #fff; }
.cookie-btn-reject { background: #fff; color: #db2777; }
@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(219,39,119,0.35), 0 0 0 4px rgba(219,39,119,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-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.5rem;
  color: #1f1f1f;
}
.site-logo a { color: inherit; text-decoration: none; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a { color: #1f1f1f; font-weight: 500; }
.nav-links a:hover { color: #db2777; text-decoration: none; }

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

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

/* About */
.about-inner { max-width: 800px; margin: 0 auto; }
.about-inner p { margin-bottom: 14px; }

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

.card {
  background: rgba(255,255,255,0.7);
  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 24px rgba(219,39,119,0.12); }

.game-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}
.game-title { margin-bottom: 4px; font-size: 1.15rem; }
.developer { color: #7a7a7a; font-size: 13px; }
.badge {
  display: inline-block;
  background: #db2777;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.game-desc { font-size: 14px; margin-bottom: 14px; }
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.btn {
  background: #db2777;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { width: 100%; }

/* Form */
.subscribe-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.subscribe-card .subtitle { color: #7a7a7a; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #3a3a3a;
}
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 2px rgba(219,39,119,0.125);
}
.form-success {
  margin-top: 14px;
  padding: 12px;
  background: rgba(219,39,119,0.08);
  border-radius: 6px;
  color: #1f1f1f;
  font-size: 14px;
}
.form-success.hidden { display: none; }

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

/* Footer */
.site-footer {
  text-align: center;
  color: #7a7a7a;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer a { color: #7a7a7a; margin: 0 8px; }
.site-footer a:hover { color: #db2777; }
.footer-links { margin-top: 8px; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  section { padding: 56px 0; }
  .nav-wrap { gap: 16px; flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 14px; }
  .subscribe-card { padding: 24px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .shots img { height: 110px; }
}

/* === Compliance / AEPD extras === */
.nav-wrap {
  justify-content: space-between;
}
.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #444;
  font-weight: 500;
}

/* Hero + section-heading */
.hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-meta {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}
.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.disclosure-strip {
  background: rgba(219, 39, 119, 0.06);
  border-left: 3px solid #db2777;
  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;
}

/* About block */
.about-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Game card refinements */
.game-card { display: flex; flex-direction: column; }
.game-title-wrap { flex: 1; }
.game-title-wrap h3 { margin-bottom: 4px; font-size: 1.15rem; }
.game-dev { font-size: 13px; color: #999; }
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.shots img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}
.badge {
  background: #fce7f3;
  color: #db2777;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 500;
}
.btn-block { display: block; width: 100%; }

/* Form extras */
.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: #db2777;
  cursor: pointer;
}
.consent-group label {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}
.consent-group label a { color: #db2777; text-decoration: underline; }
.consent-error {
  display: none;
  margin: 6px 0 0 26px;
  padding: 6px 10px;
  font-size: 12px;
  color: #1a1a1a;
  background: rgba(219, 39, 119, 0.12);
  border-left: 2px solid #db2777;
  border-radius: 4px;
}
.consent-error.show { display: block; }
.submit-btn {
  width: 100%;
  padding: 10px;
  background: #db2777;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'IBM Plex Sans', 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(219, 39, 119, 0.10);
  color: #1a1a1a;
  border-left: 3px solid #db2777;
  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: #db2777; flex-shrink: 0; margin-top: 2px; }
.success-title { margin-bottom: 4px; }
.form-success p { margin-bottom: 4px; }

/* 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: 600;
  font-family: 'Crimson Pro', serif;
  color: #1f1f1f;
  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: #db2777;
  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: #db2777; text-decoration: underline; }

/* 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; }
.section-heading { margin-bottom: 14px; }
