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

body {
  background: linear-gradient(150deg, #fde68a, #fefce8);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #444;
  line-height: 1.65;
  font-size: 17px;
}

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

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }

p { margin-bottom: 14px; line-height: 1.75; }

a { color: #d97706; 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 #d97706;
  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(217,119,6,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
}
.cookie-body { flex: 1; min-width: 0; }
.cookie-body h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #1a1a1a;
}
.cookie-body p {
  font-size: 14px;
  color: #444;
  margin: 0 0 14px;
  line-height: 1.55;
}
.cookie-body a { color: #d97706; text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #d97706;
  color: #fff;
  border: 2px solid #d97706;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: 'DM Sans', 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(217,119,6,0.25); }
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #d97706;
  border-color: #d97706;
}
.cookie-banner button.cookie-reject:hover { background: rgba(217,119,6,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(217,119,6,0.55), 0 0 0 4px rgba(217,119,6,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;
  gap: 32px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.nav-links a { color: #1a1a1a; font-weight: 500; }
.nav-links a:hover { color: #d97706; text-decoration: none; }

/* Section spacing */
section { padding: 48px 0; }

/* Hero */
.hero-content {
  max-width: 60%;
  text-align: left;
}
.hero-meta {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}

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

/* 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: #1a1a1a;
  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: #d97706;
  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: #d97706; }

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

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

/* Games catalog */
.games-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 6px 20px rgba(0,0,0,0.08); }

.game-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title { margin-bottom: 4px; font-size: 1.15rem; }
.game-dev { color: #777; font-size: 14px; }
.badge {
  display: inline-block;
  background: rgba(217,119,6,0.12);
  color: #d97706;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.game-desc { font-size: 15px; margin-bottom: 16px; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-shots img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

/* Buttons */
.btn {
  background: #d97706;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-full { width: 100%; padding: 12px; font-weight: 500; }

/* Form */
.form-card {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 32px;
}
.form-card h2 { margin-bottom: 8px; }
.form-subtitle { color: #777; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}
.form-group label .optional {
  color: #999;
  font-weight: 400;
}
.form-microcopy {
  font-size: 13px;
  color: #666;
  margin: 8px 0 16px;
  line-height: 1.5;
}
.form-microcopy a { color: #d97706; }

.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: #d97706;
  cursor: pointer;
}
.consent-label a { color: #d97706; }
.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: #444;
}
.btn-ghost {
  background: transparent;
  color: #d97706;
  border: 1px solid #d97706;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  padding: 8px 16px;
}
.btn-ghost:hover { background: rgba(217,119,6,0.08); color: #d97706; }
.btn-ghost[disabled] { opacity: 0.6; cursor: default; }
.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
}
.form-group input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217,119,6,0.12);
}
.success-msg {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(217,119,6,0.1);
  color: #1a1a1a;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }

/* Footer */
footer {
  text-align: center;
  color: #777;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: #777; }
footer a:hover { color: #d97706; }

/* Legal / content pages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}
.page-content h2 { margin-top: 28px; }
.page-content ul { margin: 12px 0 16px 22px; }
.page-content li { margin-bottom: 6px; }
.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;
}

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

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero-content { max-width: 100%; }
  .nav-inner { gap: 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .form-card { padding: 24px; }
  .games-grid { grid-template-columns: 1fr; }
  section { padding: 32px 0; }
}
