@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/poppins-latin-800-normal.woff2") format("woff2");
}
:root {
  --ink: #07080b;
  --muted: #50505a;
  --paper: #f1f1f3;
  --surface: #fff;
  --brand: #3535d1;
  --brand-dark: #28289f;
  --line: rgba(7, 8, 11, 0.13);
  --focus: #ffbf47;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.6;
}
a {
  color: #2929b6;
  text-underline-offset: 3px;
}
a:hover {
  color: #1f1f8b;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1 span,
h2 span {
  color: var(--brand);
}
h2 {
  font-size: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 16px;
  line-height: 1.35;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}

/* Site header and primary navigation (identical on every page). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 14px 20px;
  background: rgba(241, 241, 243, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(7, 8, 11, 0.08);
}
.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  color: var(--brand);
}
.primary-nav {
  display: flex;
  gap: 28px;
}
.primary-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

/* Home page hero. */
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 182px;
  max-height: 240px;
  padding: 39px 20px;
  overflow: hidden;
  text-align: center;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  max-width: 680px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 26px;
  }
}

.hero-content p {
  max-width: 560px;
  margin: 8px auto 0;
  color: #3b3b42;
  font-size: 13px;
  line-height: 1.45;
}

/* Inner page hero. */
.page-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  text-align: center;
}
.page-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}
.page-hero p {
  margin: 8px 0 0;
  color: #5b5b63;
  font-size: 13px;
}

/* Top picks. */
.content-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0;
}
.content-section > h2,
.guide-panel > h2,
.faq-section > h2,
.testimonials-section > h2 {
  margin: 0 0 22px;
  text-align: center;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.game-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 240px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid rgba(7, 8, 11, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(7, 8, 11, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(7, 8, 11, 0.12);
}
.game-card[data-ldx] {
  position: relative;
  cursor: pointer;
}
.game-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.game-card img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(7, 8, 11, 0.08);
  border-radius: 12px;
}
.game-card p {
  margin: 0;
  overflow: hidden;
  color: #5b5b63;
  font-size: 13px;
  line-height: 1.45;
}
.rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}
.rating span {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 1px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tag-list span {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(53, 53, 209, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
.button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 11px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #4747e5, #3535d1);
  color: #fff;
  text-decoration: none;
  font:
    700 14px Poppins,
    Arial,
    sans-serif;
  line-height: 1.2;
  cursor: pointer;
}
.button-link:hover {
  background: linear-gradient(180deg, #3535d1, #2828a8);
  color: #fff;
}
.hidlink {
  position: absolute;
  z-index: -5;
}

/* Guide panel with the three selling points. */
.guide-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto;
}
.guide-panel {
  padding: 36px 28px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(7, 8, 11, 0.05);
}
.guide-panel > h2 {
  margin-bottom: 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-grid article > strong {
  color: var(--brand);
  font-size: 40px;
  line-height: 1.2;
}
.feature-grid h3 {
  margin: 0;
}
.feature-grid p {
  margin: 0;
  color: #5b5b63;
  font-size: 13px;
  line-height: 1.5;
}

/* FAQ accordion. */
.faq-section {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(7, 8, 11, 0.06);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(7, 8, 11, 0.04);
}
.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font:
    600 14px Poppins,
    Arial,
    sans-serif;
  cursor: pointer;
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--brand);
  transition: transform 0.32s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-item button[aria-expanded="true"] .faq-icon {
  transform: rotate(135deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.32s ease,
    visibility 0.32s ease;
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  margin: 0;
  padding: 0 16px 16px;
  color: #5b5b63;
  font-size: 13px;
  line-height: 1.55;
}

/* Testimonials. */
.testimonials-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.testimonials-grid figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(7, 8, 11, 0.06);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(7, 8, 11, 0.04);
}
.testimonials-grid svg {
  color: var(--brand);
  opacity: 0.9;
}
.testimonials-grid blockquote {
  margin: 0;
}
.testimonials-grid p {
  margin: 0;
  color: #3b3b42;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}
.testimonials-grid figcaption {
  font-size: 13px;
  font-weight: 700;
}

/* About page. */
.about-copy {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto 36px;
  padding: 28px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(7, 8, 11, 0.05);
}
.about-copy p {
  margin: 0;
  color: #3b3b42;
  font-size: 14px;
  line-height: 1.7;
}
.about-copy p + p {
  margin-top: 16px;
}

/* Legal and policy pages. */
.legal-wrap {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto 48px;
}
.legal-panel {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(7, 8, 11, 0.05);
}
.legal-panel > section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-panel h2 {
  margin: 0;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.legal-panel p {
  margin: 0;
  color: #3b3b42;
  font-size: 14px;
  line-height: 1.7;
}
.legal-panel ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.legal-panel li {
  color: #3b3b42;
  font-size: 14px;
  line-height: 1.6;
}
.legal-panel a {
  font-weight: 600;
}

/* Contact page. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 40px;
}
.panel {
  padding: 28px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(7, 8, 11, 0.05);
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.field label {
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #77777f;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #4747e5, #3535d1);
  color: #fff;
  font:
    700 14px Poppins,
    Arial,
    sans-serif;
  cursor: pointer;
}
button[type="submit"]:hover {
  background: linear-gradient(180deg, #3535d1, #2828a8);
}
.form-status:not(:empty) {
  margin: 0 0 14px;
  padding: 0.75rem;
  border: 1px solid var(--brand);
  border-radius: 0.5rem;
  color: var(--brand-dark);
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  font-style: normal;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
}
.contact-details span,
.contact-details a {
  color: #3b3b42;
  font-size: 13px;
  line-height: 1.5;
}
.map-panel {
  padding: 8px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(7, 8, 11, 0.05);
}
.map-panel iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
}

/* Site footer (identical on every page). */
.site-footer {
  background: var(--ink);
  color: #d1d1d8;
  padding: 36px 20px 24px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer p,
.site-footer a,
.site-footer address {
  font-size: 12px;
  line-height: 1.5;
}
.site-footer a {
  display: block;
  width: fit-content;
  color: #c2c2ff;
}
.site-footer a[aria-current="page"] {
  text-decoration: underline;
}
.site-footer address {
  font-style: normal;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-grid > nav,
.footer-grid > section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid p {
  margin: 0;
}
.footer-brand {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand span {
  color: #9696ff;
}
.footer-heading {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.age-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 0;
  padding: 16px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}
.age-notice strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 2px solid #7a7af0;
  border-radius: 10px;
  color: #7a7af0;
  font-size: 14px;
}
.age-notice p {
  margin: 0;
}
.support-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
}
.support-links a {
  display: inline;
}
.copyright {
  margin: 28px 0 0;
  color: #9999a2;
}

/* Age gate and cookie notice. */
.modal-backdrop,
.cookie-banner {
  position: fixed;
  z-index: 200;
  animation: fadeIn 0.3s ease;
}
.modal-backdrop {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 8, 11, 0.78);
}
.age-dialog {
  width: min(420px, 100%);
  padding: 32px 28px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(7, 8, 11, 0.25);
  text-align: center;
}
.age-dialog .age-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
}
.age-dialog #age-title {
  margin: 0 0 10px;
  font-size: 20px;
}
.age-dialog #age-description {
  margin: 0 0 24px;
  color: #5b5b63;
  font-size: 14px;
  line-height: 1.5;
}
.dialog-actions {
  display: grid;
  gap: 10px;
}
.dialog-actions button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font:
    600 14px Poppins,
    Arial,
    sans-serif;
  cursor: pointer;
}
.primary-action {
  border: 0;
  background: var(--brand);
  color: #fff;
}
.secondary-action {
  border: 1px solid #77777f;
  background: var(--surface);
  color: var(--ink);
}
.age-dialog .primary-action {
  background: linear-gradient(180deg, #4747e5, #3535d1);
  font-size: 15px;
  font-weight: 700;
}
.cookie-banner {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(7, 8, 11, 0.08);
}
.cookie-banner p {
  max-width: 640px;
  margin: 0;
  color: #5b5b63;
  font-size: 13px;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-actions button {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 800px) {
  .site-header {
    background: rgba(241, 241, 243, 0.98);
    backdrop-filter: none;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(7, 8, 11, 0.08);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .home-hero {
    height: auto;
    /* min-height: 182px; */
    max-height: none;
    padding-block: 28px;
  }
  .game-grid,
  .feature-grid,
  .testimonials-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    max-height: none;
  }
  .guide-panel {
    padding: 28px 20px;
  }
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions button {
    flex: 1;
  }
}
@media (max-width: 540px) {
  .about-copy,
  .legal-panel,
  .panel {
    padding: 22px 18px;
  }
  .age-notice {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 400px) {
  .content-section.picks-section {
    padding-top: 10px;
  }
}
