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

body {
  background: linear-gradient(200deg, #d1fae5, #ecfdf5);
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
  color: #4a4a4a;
  line-height: 1.65;
  min-height: 100vh;
}

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

h1 { font-size: 2rem; margin-bottom: 16px; }
h2 { font-size: 1.35rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { font-size: 15px; margin-bottom: 12px; color: #4a4a4a; }

a { color: #059669; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Cookie bottom-sheet */
.cookie-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.cookie-sheet[hidden] { display: none; }
.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}
.cookie-content {
  position: relative;
  width: 100%;
  background: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -8px 28px rgba(10, 10, 10, 0.18);
  padding: 24px 24px 20px;
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: auto;
}
.cookie-sheet.visible .cookie-backdrop { opacity: 1; }
.cookie-sheet.visible .cookie-content { transform: translateY(0); opacity: 1; }
.cookie-content h2 { font-size: 1.2rem; margin-bottom: 8px; }
.cookie-content p { font-size: 15px; margin-bottom: 16px; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-actions .btn { width: auto; padding: 10px 22px; flex: 1 1 180px; max-width: 240px; text-align: center; }

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.4rem;
  color: #1a1a1a;
}
.site-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a { color: #1a1a1a; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #059669; text-decoration: none; }

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

.hero-content { max-width: 60%; }
.hero-content p { font-size: 16px; }

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

.disclosure {
  font-size: 14px;
  background: #ecfdf5;
  border-left: 3px solid #059669;
  padding: 10px 14px;
  border-radius: 4px;
  color: #333;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #059669;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s, background 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.9; text-decoration: none; color: #fff; }
.btn:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
.btn-secondary {
  background: #e6f4ec;
  color: #065f46;
}
.btn-secondary:hover { background: #d6ebe0; color: #065f46; opacity: 1; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.06); }

/* Games grid */
.games-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-block { flex: 1; min-width: 0; }
.game-title-block h3 { margin-bottom: 4px; word-wrap: break-word; }
.game-dev { font-size: 13px; color: #808080; }
.badge {
  display: inline-block;
  background: #d1fae5;
  color: #059669;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 500;
}
.game-desc { font-size: 14px; margin-bottom: 14px; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.game-card .btn { margin-top: auto; }

.affiliate-note {
  margin-top: 24px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* Offerings / general grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Form */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.subscribe-card { padding: 28px; }
.subscribe-card h2, .subscribe-card .subtitle { text-align: center; }
.subtitle {
  color: #808080;
  margin-bottom: 20px;
  font-size: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #1a1a1a;
  font-weight: 500;
}
.optional {
  font-weight: 400;
  color: #888;
  font-size: 13px;
}
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;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.form-note {
  font-size: 13px;
  color: #666;
  margin: 8px 0 14px;
}

.consent-field { margin-bottom: 18px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #059669;
  flex-shrink: 0;
  cursor: pointer;
}
.consent span { flex: 1; }

.form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #fff8e1;
  color: #5b4400;
  border-radius: 6px;
  font-size: 14px;
  border-left: 3px solid #c79a00;
}
.form-error[hidden] { display: none; }

.btn-submit {
  width: 100%;
  padding: 12px;
  font-weight: 600;
}

.success-msg {
  margin-top: 16px;
  padding: 18px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: success-in 0.4s ease forwards;
}
.success-msg[hidden] { display: none; }
.success-msg strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
  color: #065f46;
}
.success-msg p { margin: 0; color: #065f46; }
@keyframes success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  text-align: center;
  color: #808080;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: #059669; margin: 0 8px; }
footer nav p { margin: 8px 0; }

/* Legal content */
.legal-content { max-width: 800px; }
.legal-content h2 { margin-top: 28px; }
.legal-content h3 { margin-top: 20px; }
.legal-content p, .legal-content li { font-size: 15px; margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; margin-bottom: 12px; }

/* FAQ accordion */
.faq-list { margin-top: 24px; max-width: 800px; }
.faq-list details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: #1a1a1a;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #059669;
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 20px 18px; }
.faq-list details > div > p { margin-bottom: 8px; }

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 0;
}
.error-page h1 { font-size: 2.4rem; }
.error-page .err-code {
  font-size: 5rem;
  font-family: 'Sora', sans-serif;
  color: #6ee7b7;
  margin-bottom: 12px;
  line-height: 1;
  font-weight: 700;
}
.error-page .err-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.error-page .btn { width: auto; padding: 10px 24px; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  .hero-content { max-width: 100%; }
  section { padding: 48px 0; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .card { padding: 24px; }
  .subscribe-card { padding: 24px; }
  .cookie-content { padding: 20px 18px 18px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { max-width: none; width: 100%; }
}

@media (min-width: 769px) {
  .subscribe-card { padding: 32px; }
}
