/* 10bestukchoices — warm dark + amber / teal accents, Outfit + Source Serif 4 */

:root {
  --bg-deep: #14121a;
  --bg-card: #1e1c26;
  --bg-elevated: #26242f;
  --text: #f2efe8;
  --text-muted: #a39e94;
  --accent: #d4a853;
  --accent-2: #2ec4b6;
  --danger: #c94c4c;
  --link: #7ec8c3;
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

body.age-locked,
body.captcha-locked {
  overflow: hidden;
}

/* Age gate: hide before paint if localStorage already set (inline script adds class) */
html.10bestukchoices-age-ok #age-gate {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

#captcha-modal.captcha-modal--mandatory #captcha-close {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 26, 0.98),
    rgba(20, 18, 26, 0.92)
  );
  border-bottom: 1px solid rgba(212, 168, 83, 0.15);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.65rem 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

@media (min-width: 721px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    gap: 1rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
  grid-column: 2;
  grid-row: 1;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
  color: var(--text);
  transition:
    border-color 0.15s,
    background 0.15s;
}

.nav-burger:hover {
  border-color: rgba(212, 168, 83, 0.45);
}

.nav-burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.site-header.nav-is-open .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-is-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-is-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: center;
  padding: 0.35rem 0;
}

@media (min-width: 721px) {
  .nav-burger {
    display: none !important;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .nav-main {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }
}

.nav-main a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.helpline {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
}

.helpline strong {
  color: var(--text);
  display: block;
}

@media (max-width: 720px) {
  .helpline {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid rgba(212, 168, 83, 0.12);
    margin-top: 0.15rem;
  }

  .nav-main a {
    padding: 0.65rem 0.35rem;
    border-radius: var(--radius-sm);
  }

  .nav-main a:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .site-header.nav-is-open .nav-main {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/bg.jpg") center / cover no-repeat;
  background-color: #14121a;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      135deg,
      rgba(10, 9, 14, 0.88) 0%,
      rgba(8, 22, 22, 0.8) 45%,
      rgba(10, 9, 14, 0.93) 100%
    );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--accent);
  max-width: 22ch;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 280px;
}

.hero-features .tick {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: rgba(46, 196, 182, 0.2);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* —— Section titles —— */
.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
  color: var(--text);
}

.section-head .warn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-head .warn span.age {
  background: var(--danger);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* —— Offers —— */
.offers {
  padding: 2.5rem 0 3rem;
}

.offers-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offers-header-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr 160px;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .offers-header-row {
    display: none;
  }
}

.offer-card {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr 160px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 83, 0.12);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .offer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .offer-card .offer-logo-wrap {
    margin-inline: auto;
  }

  .offer-card .offer-cta {
    width: 100%;
  }
}

.offer-logo-wrap {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  padding: 0.5rem;
}

.offer-logo-wrap img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.offer-bonus strong {
  display: block;
  color: var(--accent-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.offer-bonus p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.offer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .offer-meta {
    align-items: center;
  }
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.pay-icons {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pay-icons span {
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  background: var(--bg-deep);
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2ec4b6, #1a8a80);
  color: #0a1211;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    filter 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #0a1211;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.offer-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  word-break: break-all;
}

/* —— Responsible —— */
.responsible {
  padding: 2.5rem 0;
}

.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .resp-grid {
    grid-template-columns: 1fr;
  }
}

.resp-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(46, 196, 182, 0.15);
}

.resp-box h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.resp-box p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.resp-box p:last-child {
  margin-bottom: 0;
}

.trust-grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.trust-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  width: 100%;
  min-height: 72px;
}

.trust-grid img {
  max-height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.trust-badge-fallback {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
}

/* —— SEO articles —— */
.seo-blocks {
  padding: 2rem 0 3rem;
}

.article-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.seo-article {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
}

.seo-article h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--link);
}

.seo-article p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.seo-article ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.seo-article li {
  margin-bottom: 0.4rem;
}

/* —— Payments strip —— */
.payments {
  padding: 0 0 3rem;
}

.payments h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  text-align: center;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.pay-tile {
  min-width: 100px;
  height: 52px;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pay-tile img {
  max-height: 28px;
  width: auto;
}

/* —— Footer —— */
.site-footer {
  background: #0c0b10;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(212, 168, 83, 0.12);
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 900px;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.footer-links-row a.footer-external-logo,
.footer-links-row span.footer-external-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}

.footer-links-row span.footer-external-logo {
  cursor: default;
}

.footer-links-row a.footer-external-logo:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.footer-links-row a.footer-external-logo img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-trust img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* —— Legal / inner pages —— */
.page-main {
  padding: 2.5rem 0 4rem;
}

.page-main h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.25rem;
}

.page-main h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

.page-main p,
.page-main li {
  color: var(--text-muted);
}

.page-main ul {
  padding-left: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 480px;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-sans);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* —— Modals & overlays —— */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 6, 12, 0.92);
  backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-panel {
  width: min(420px, 100%);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-panel .modal-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.modal-panel h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.modal-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-secondary {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cookie bar */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(212, 168, 83, 0.2);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#cookie-bar[hidden] {
  display: none !important;
}

#cookie-bar .cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(960px, 100%);
}

#cookie-bar img.modal-logo {
  width: 48px;
  height: 48px;
}

#cookie-bar p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Slider puzzle captcha — one piece + range under image */
#captcha-modal .modal-panel {
  width: min(400px, 100%);
}

.puzzle-wrap {
  text-align: center;
  margin-bottom: 1rem;
}

.puzzle-viewport {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 170px;
  margin: 0 auto 0.65rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-deep);
}

.puzzle-viewport .puzzle-base {
  position: absolute;
  inset: 0;
  background-image: var(--puzzle-bg-url);
  background-size: 300px 170px;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.puzzle-viewport .puzzle-mask-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.puzzle-piece {
  position: absolute;
  left: 0;
  top: 44px;
  width: 52px;
  height: 82px;
  background-image: var(--puzzle-bg-url);
  background-size: 300px 170px;
  background-repeat: no-repeat;
  border: none;
  border-radius: 0;
  -webkit-clip-path: path(
    "M 10 6 L 42 6 L 42 31 A 10 10 0 0 1 42 51 L 42 76 L 10 76 L 10 51 A 10 10 0 0 1 10 31 Z"
  );
  clip-path: path(
    "M 10 6 L 42 6 L 42 31 A 10 10 0 0 1 42 51 L 42 76 L 10 76 L 10 51 A 10 10 0 0 1 10 31 Z"
  );
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.55))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.puzzle-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.puzzle-slider {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  accent-color: var(--accent-2);
}

.captcha-status {
  font-size: 0.85rem;
  min-height: 1.25rem;
  margin-top: 0.5rem;
  text-align: center;
}

.captcha-status.ok {
  color: var(--accent-2);
}

.captcha-status.err {
  color: var(--danger);
}
