/* Top10ukoffers — layout & tokens */
:root {
  --bg-deep: #0c0f14;
  --bg-surface: #121820;
  --bg-card: #181f2a;
  --border-subtle: rgba(242, 244, 248, 0.08);
  --text: #f2f4f8;
  --text-muted: #9aa3b2;
  --accent: #e8a23d;
  --accent-hover: #f0b74d;
  --accent-2: #3ecfb0;
  --danger: #e85d5d;
  --radius: 14px;
  --radius-sm: 10px;
  --font-ui: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(232, 162, 61, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 50%,
      rgba(62, 207, 176, 0.06),
      transparent
    );
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.site--scroll-locked {
  overflow: hidden;
}

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

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

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

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.brand:hover {
  color: var(--accent);
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(232, 162, 61, 0.35);
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__tag {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

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

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

/* Hero */
.hero {
  padding: 2.75rem 0 2rem;
}

.hero__inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 .text-accent {
  color: var(--accent);
}

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

/* Sections */
.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
  color: var(--accent);
}

.offers-section {
  padding: 1rem 0 2.5rem;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.offer-card:hover {
  border-color: rgba(232, 162, 61, 0.35);
  transform: translateY(-2px);
}

.offer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
}

.offer-card__logo img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
}

.offer-card__body h2 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}

.offer-card__body .offer-card__bonus {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.offer-card__body .offer-card__note {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.offer-card__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 160px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-deep);
  background: linear-gradient(145deg, var(--accent), #c17f4a);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.15s;
}

.btn-cta:hover {
  filter: brightness(1.08);
  color: var(--bg-deep);
  transform: scale(1.02);
}

.link-tiny {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  text-decoration: underline;
}

.link-tiny:hover {
  color: var(--accent);
}

/* SEO article */
.seo-article {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
}

.seo-article h2 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

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

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

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

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

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

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  opacity: 0.82;
  transition: opacity 0.2s;
  text-decoration: none;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-badges img {
  max-height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-badges img[alt*="18"] {
  max-height: 42px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-disclaimer p {
  margin: 0 0 0.75rem;
}

.page-main {
  flex: 1;
  min-height: 60vh;
}

.page-legal {
  padding: 2rem 0 3rem;
}

.page-legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 1rem;
}

.page-legal h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin: 2rem 0 0.5rem;
}

.page-legal p,
.page-legal ul {
  color: var(--text-muted);
}

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

.page-legal code {
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--accent-2);
}

/* Overlays */
.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 10, 14, 0.92);
  backdrop-filter: blur(8px);
}

#age-gate[hidden],
#captcha-gate[hidden] {
  display: none !important;
  pointer-events: none;
  visibility: hidden;
}

.site-overlay__panel {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.site-overlay__panel--wide {
  max-width: 420px;
}

.site-overlay__brand {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(232, 162, 61, 0.45);
}

.site-overlay__brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-overlay h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

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

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-gate {
  padding: 0.85rem 1rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.btn-gate--primary {
  background: linear-gradient(145deg, var(--accent), #c17f4a);
  color: var(--bg-deep);
}

.btn-gate--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.btn-gate:hover {
  filter: brightness(1.06);
}

.btn-gate--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Slider captcha */
.slider-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

#captcha-pattern-canvas {
  display: none;
}

.slider-captcha-wrap {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.slider-track {
  position: relative;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  user-select: none;
}

.slider-track__pattern {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  pointer-events: none;
}

.slider-track__hint {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(242, 244, 248, 0.5);
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 1;
  padding-left: 56px;
}

.slider-handle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  z-index: 2;
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: linear-gradient(145deg, var(--accent), #c17f4a);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.15s;
}

.slider-handle:hover:not(:disabled) {
  box-shadow:
    0 0 0 2px var(--accent-2),
    0 4px 16px rgba(0, 0, 0, 0.35);
}

.slider-handle:active:not(:disabled) {
  cursor: grabbing;
}

.slider-handle:disabled {
  cursor: default;
  opacity: 0.95;
}

#captcha-message {
  min-height: 1.25em;
  font-size: 0.85rem;
  color: var(--accent-2);
  margin-bottom: 0.25rem;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-bar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-bar__text {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-width: 240px;
}

.cookie-bar__text img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.cookie-bar__text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-bar .btn-gate {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.cookie-bar .btn-gate--ghost {
  color: var(--text);
}

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

  .offer-card__cta {
    min-width: unset;
    width: 100%;
  }

  .offer-card__logo {
    max-width: 200px;
    margin: 0 auto;
  }

  .nav {
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}
