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

body {
  background: linear-gradient(200deg, #e0e7ff, #eef2ff);
  background-attachment: fixed;
  font-family: 'Outfit', sans-serif;
  color: #3a3a3a;
  line-height: 1.75;
  font-size: 17px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Fraunces', 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.2rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

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

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

/* Cookie banner: high-visibility bottom sheet */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: cookieFadeIn 0.35s ease forwards;
  pointer-events: none;
}
.cookie-inner {
  position: relative;
  pointer-events: auto;
  background: #fff;
  border-top: 4px solid #4338ca;
  border-radius: 16px 16px 0 0;
  padding: 24px 28px 22px;
  max-width: 720px;
  width: calc(100% - 16px);
  margin: 0 8px;
  box-shadow: 0 -12px 48px rgba(0,0,0,0.22);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  animation: cookieSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(67,56,202,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4338ca;
}
.cookie-body { flex: 1; min-width: 0; }
.cookie-body h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #1f1f1f;
}
.cookie-body p {
  font-size: 14px;
  color: #3a3a3a;
  margin: 0 0 14px;
  line-height: 1.55;
}
.cookie-body a { color: #4338ca; text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #4338ca;
  color: #fff;
  border: 2px solid #4338ca;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  min-width: 140px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cookie-banner button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(67,56,202,0.25); }
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #4338ca;
  border-color: #4338ca;
}
.cookie-banner button.cookie-reject:hover { background: rgba(67,56,202,0.06); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* Pulse animation when ignored */
.cookie-banner.pulse .cookie-inner {
  animation: cookieSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards, cookiePulse 1.1s ease-in-out 0.5s 2;
}
.cookie-banner.pulse .cookie-icon {
  animation: cookieIconShake 0.6s ease-in-out 0.5s 2;
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 -12px 48px rgba(0,0,0,0.22); }
  50% { box-shadow: 0 -12px 60px rgba(67,56,202,0.55), 0 0 0 4px rgba(67,56,202,0.15); }
}
@keyframes cookieIconShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(4deg); }
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px 18px;
    width: 100%;
    margin: 0;
    border-radius: 16px 16px 0 0;
  }
  .cookie-icon { width: 40px; height: 40px; }
  .cookie-actions { width: 100%; }
  .cookie-banner button { flex: 1; min-width: 0; }
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1f1f1f;
}
.site-logo a { color: inherit; text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  color: #1f1f1f;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: #4338ca; text-decoration: none; }

/* Sections */
section { padding: 56px 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: 100%;
  height: auto;
  border-radius: 16px;
}
.hero-meta {
  font-size: 14px;
  color: #7a7a7a;
  margin-top: 8px;
}

/* Disclosure strip above catalog */
.disclosure-strip {
  background: rgba(255,255,255,0.7);
  border-left: 3px solid #4338ca;
  padding: 12px 16px;
  font-size: 14px;
  color: #555;
  margin: 20px 0 24px;
  border-radius: 4px;
}
.disclosure-strip strong { color: #1f1f1f; }

/* FAQ */
.faq-content { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 500;
  cursor: pointer;
  color: #1f1f1f;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 22px;
  color: #4338ca;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin: 12px 0 0; color: #555; }
.faq-item a { color: #4338ca; }

/* Footer disclosure */
.footer-disclosure {
  font-size: 12px;
  color: #9a9a9a;
  max-width: 720px;
  margin: 12px auto 0;
}

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

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

/* Games Catalog */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}
.game-title-wrap h3 { margin-bottom: 4px; }
.developer { font-size: 13px; color: #7a7a7a; }
.badge {
  display: inline-block;
  background: rgba(67,56,202,0.12);
  color: #4338ca;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.game-desc { font-size: 15px; margin-bottom: 14px; }
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.btn {
  display: inline-block;
  background: #4338ca;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-full { width: 100%; padding: 12px; font-weight: 500; }
.game-card .btn { margin-top: auto; }

/* Subscribe / Contact */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.contact-card h2 { text-align: center; }
.contact-sub {
  text-align: center;
  color: #7a7a7a;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #3a3a3a;
}
.form-group label .optional {
  color: #9a9a9a;
  font-weight: 400;
}
.form-microcopy {
  font-size: 13px;
  color: #666;
  margin: 8px 0 16px;
  line-height: 1.5;
}
.form-microcopy a { color: #4338ca; }

.form-consent {
  margin: 8px 0 16px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #4338ca;
  cursor: pointer;
}
.consent-label a { color: #4338ca; }
.consent-error {
  display: none;
  margin: 6px 0 0 26px;
  font-size: 12px;
  color: #b91c1c;
}
.consent-error.show { display: block; }
.push-optin {
  font-size: 14px;
  margin: 12px 0 8px;
  color: #3a3a3a;
}
.btn-ghost {
  background: transparent;
  color: #4338ca;
  border: 1px solid #4338ca;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  padding: 8px 16px;
}
.btn-ghost:hover { background: rgba(67,56,202,0.08); color: #4338ca; }
.btn-ghost[disabled] { opacity: 0.6; cursor: default; }

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: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #4338ca;
  box-shadow: 0 0 0 2px #4338ca20;
}
.btn-submit {
  width: 100%;
  padding: 12px;
  background: #4338ca;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.85; }
.success-msg {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(67,56,202,0.1);
  color: #1f1f1f;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }
.form-success {
  margin-top: 16px;
  padding: 12px;
  background: #4338ca10;
  color: #4338ca;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

/* Footer */
footer {
  text-align: center;
  color: #7a7a7a;
  padding: 32px 0;
  font-size: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
footer a { color: #7a7a7a; }
footer a:hover { color: #4338ca; }

/* Legal / content pages */
.legal-content, .page-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2, .page-content h2 { margin-top: 28px; }
.legal-content p, .legal-content li, .page-content p, .page-content li { margin-bottom: 12px; }
.legal-content ul, .page-content ul { padding-left: 22px; margin-bottom: 16px; }
.page-updated {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #888;
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero-inner { flex-direction: column; }
  .hero-text, .hero-image { flex: 0 0 100%; }
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 14px; }
  .contact-card { padding: 24px; }
  .games-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}
