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

body {
  background: linear-gradient(150deg, #fee2e2, #fef2f2);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #444;
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
}

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

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

p { margin-bottom: 12px; }

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

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

/* 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 #dc2626;
  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: #dc2626;
  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: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-weight: 700;
}
.cookie-desc {
  font-size: 14px;
  color: #444;
  margin-bottom: 0;
  line-height: 1.55;
}
.cookie-desc a { color: #dc2626; text-decoration: underline; }
.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  border: 1.5px solid #dc2626;
  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: #dc2626; color: #fff; }
.cookie-btn-reject { background: #fff; color: #dc2626; }
@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(220,38,38,0.35), 0 0 0 4px rgba(220,38,38,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; }
}

/* Header */
.site-header { padding: 16px 0; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-logo {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}
.site-logo a { color: inherit; text-decoration: none; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: #444;
  font-weight: 500;
}
.nav-links a:hover { color: #dc2626; text-decoration: none; }

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

.hero, .about-block, .subscribe-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero p, .about-block p { color: #555; }

/* Card */
.card {
  background: rgba(255,255,255,0.85);
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

/* Catalog */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 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-title-wrap { flex: 1; }
.game-title-wrap h3 { margin-bottom: 4px; font-size: 1.1rem; }
.game-dev { font-size: 13px; color: #777; }
.badge {
  display: inline-block;
  background: rgba(220,38,38,0.1);
  color: #dc2626;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}
.game-desc { font-size: 14px; color: #555; margin-bottom: 14px; }
.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;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: opacity 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { display: block; width: 100%; }
.game-card .btn { margin-top: auto; }

/* Section heading */
.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

/* Subscribe form */
.subscribe-card {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 32px;
  text-align: left;
}
.subscribe-card h2 { text-align: center; }
.subscribe-card .subtitle { text-align: center; color: #777; margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group 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;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  background: #fff;
}
input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220,38,38,0.125);
}
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  margin-top: 6px;
}
.submit-btn:hover { opacity: 0.85; }
.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: #7f1d1d;
  cursor: pointer;
}
.consent-group label {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}
.consent-group label a { color: #dc2626; text-decoration: underline; }
.consent-error {
  display: none;
  margin: 6px 0 0 26px;
  padding: 6px 10px;
  font-size: 12px;
  color: #1a1a1a;
  background: rgba(127, 29, 29, 0.10);
  border-left: 2px solid #7f1d1d;
  border-radius: 4px;
}
.consent-error.show { display: block; }
.form-success {
  display: none;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(127, 29, 29, 0.10);
  color: #1a1a1a;
  border-left: 3px solid #7f1d1d;
  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: #7f1d1d; 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;
}
.disclosure-strip {
  background: rgba(220, 38, 38, 0.06);
  border-left: 3px solid #dc2626;
  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;
}

/* 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;
  color: #1a1a1a;
  font-size: 1rem;
  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: #dc2626;
  font-size: 1.4rem;
  font-weight: 400;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 12px 0 0; font-size: 14px; color: #555; }
.faq-item p a { color: #dc2626; text-decoration: underline; }

.page-updated {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 22px;
  font-style: italic;
}

/* Generic content pages */
.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 content */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 28px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; }

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

/* Footer (legal pages list) */
footer {
  text-align: center;
  color: #777;
  padding: 32px 0;
  font-size: 14px;
}
footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  body { font-size: 15px; }
  section { padding: 40px 0; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 14px; }
  .subscribe-card { padding: 24px; }
  .shots img { height: 110px; }
}
