/* Best10ukdeals — NewDanilWhite2 */
:root {
  --bg-deep: #120a18;
  --bg-panel: rgba(28, 18, 42, 0.72);
  --bg-card: rgba(36, 24, 54, 0.55);
  --stroke: rgba(201, 162, 39, 0.35);
  --accent: #e8a54a;
  --accent-dim: #c77b2e;
  --teal: #3ecfbe;
  --teal-dim: #2a9d8f;
  --text: #f3eef8;
  --text-muted: rgba(243, 238, 248, 0.72);
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow-glow: 0 0 40px rgba(232, 165, 74, 0.12);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

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

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

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

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* —— Overlays —— */
.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    radial-gradient(
      ellipse 80% 70% at 50% 20%,
      rgba(62, 207, 190, 0.08),
      transparent
    ),
    rgba(10, 6, 16, 0.94);
  backdrop-filter: blur(12px);
}

.site-overlay[hidden] {
  display: none;
}

.site-overlay__panel {
  width: min(440px, 100%);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  box-shadow:
    var(--shadow-glow),
    0 24px 80px rgba(0, 0, 0, 0.55);
  animation: panelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-overlay__panel--wide {
  width: min(520px, 100%);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-overlay__brand {
  text-align: center;
  margin-bottom: 1rem;
}

.site-overlay__brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-overlay h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

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

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-gate {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-gate--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #1a0a12;
  box-shadow: 0 4px 24px rgba(232, 165, 74, 0.35);
}

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

.btn-gate:hover {
  transform: translateY(-2px);
}

.puzzle-box {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #0d0812;
}

.puzzle-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
}

#puzzle-board {
  display: block;
  width: 100%;
  height: 100%;
}

.puzzle-strip-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.6rem 0 0.35rem;
}

.puzzle-piece-shell {
  position: relative;
  height: 72px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--stroke);
  touch-action: none;
}

#puzzle-piece-canvas {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  cursor: grab;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--teal);
}

#puzzle-piece-canvas:active {
  cursor: grabbing;
}

#puzzle-status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* —— Cookie bar —— */
.cookie-bar {
  position: fixed;
  z-index: 99950;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(8, 4, 14, 0.92) 18%);
  pointer-events: none;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar__inner {
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-glow);
  animation: cookieSlide 0.55s ease both;
}

@keyframes cookieSlide {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-bar__logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.cookie-bar__text {
  flex: 1 1 220px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-bar__text a {
  color: var(--teal);
}

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

.btn-cookie {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-cookie--accept {
  background: var(--teal);
  color: #061512;
}

.btn-cookie--link {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(12, 6, 20, 0.85);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand__logo img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke);
  background: var(--bg-card);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.nav a:hover {
  color: var(--accent);
  background: rgba(232, 165, 74, 0.08);
}

.nav a[aria-current="page"] {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--teal-dim));
  box-shadow: 0 4px 16px rgba(62, 207, 190, 0.2);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(12, 6, 20, 0.97);
    border-bottom: 1px solid var(--stroke);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: center;
  }
}

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

.hero__orbs {
  position: absolute;
  inset: -40% -20%;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero__orb--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(
    circle,
    rgba(232, 165, 74, 0.55),
    transparent 70%
  );
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  background: radial-gradient(
    circle,
    rgba(62, 207, 190, 0.45),
    transparent 70%
  );
  top: 30%;
  right: -5%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: min(40vw, 300px);
  height: min(40vw, 300px);
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.35),
    transparent 70%
  );
  bottom: 0;
  left: 30%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, -3%) scale(1.05);
  }
  66% {
    transform: translate(-3%, 4%) scale(0.96);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero__chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(62, 207, 190, 0.08);
  color: var(--teal);
  animation: chipPop 0.6s ease both;
}

.hero__chip:nth-child(2) {
  animation-delay: 0.08s;
}
.hero__chip:nth-child(3) {
  animation-delay: 0.16s;
}
.hero__chip:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes chipPop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.section--muted {
  background: linear-gradient(
    180deg,
    rgba(20, 12, 32, 0.65),
    rgba(12, 6, 20, 0.95)
  );
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section--light {
  background: #faf7ff;
  color: #1f1528;
}

.section--light h2,
.section--light h3 {
  color: #2d1f3d;
}

.section--light p,
.section--light li {
  color: #3d3048;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
}

.disclosure {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--stroke);
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

/* —— Offer cards —— */
.offers-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--accent),
    transparent 40%,
    var(--teal)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(62, 207, 190, 0.08);
}

.offer-card:hover::before {
  opacity: 1;
}

.offer-card__rank {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent), var(--teal-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  grid-row: span 2;
  align-self: start;
}

.offer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.offer-card__logo img {
  max-width: 160px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.offer-card__stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.offer-card__badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.offer-card__bonus {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.25rem 0 0;
}

.offer-card__cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  text-align: center;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: #120a18;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(62, 207, 190, 0.35);
  transition:
    transform 0.2s,
    filter 0.2s;
}

.btn-play:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.offer-card__review {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

  .offer-card__rank {
    grid-row: auto;
    justify-self: center;
  }

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— FAQ —— */
.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--stroke);
}

.faq-item:first-child {
  border-top: 1px solid var(--stroke);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-trigger span.icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-trigger span.icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.section--light .faq-item {
  border-color: rgba(45, 31, 61, 0.15);
}

.section--light .faq-trigger span.icon {
  border-color: rgba(45, 31, 61, 0.2);
  color: var(--teal-dim);
}

/* —— Footer —— */
.site-footer {
  background: #08050c;
  border-top: 1px solid var(--stroke);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

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

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 36ch;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

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

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 0.28rem 0;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

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

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(243, 238, 248, 0.45);
}

/* —— Article / inner pages —— */
.page-main {
  min-height: 60vh;
}

.page-hero {
  padding: 2rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.page-hero .lead {
  color: var(--text-muted);
  margin: 0;
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
}

.blog-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.blog-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  transition: transform 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.blog-card a {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
}
