:root {
  --bg-light: #f4f5f9;
  --bg-black: #050505;
  --card-white: #ffffff;
  
  --lime: #ccff00;
  --lime-hover: #b8e600;
  --accent-lime: #ccff00; /* Dribbble acid lime */
  --accent-purple: #a67cff; /* Dribbble soft purple */
  --purple: #a67cff;
  
  --text-dark: #121212;
  --text-muted: #555555;
  --text-light: #ffffff;
  --section-shell-padding-desktop: 50px;
  --section-shell-padding-tablet: 32px;
  --section-shell-padding-mobile: 20px;
  
  --font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-mega: 40px;
  --radius-lg: 40px;
  --radius-card: 24px;
  --radius-pill: 100px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html, body, button, input, select, textarea, a, p, span, div, h1, h2, h3, h4, h5, h6, li, label, summary {
  font-family: var(--font-family) !important;
}

/* Typography Overrides */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { font-size: 1.05rem; }

/* Wrapper for overflow */
.wrapper { width: 100%; overflow: hidden; }

.section-heading {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #0f172a;
  margin: 0;
}
.section-description {
  max-width: 760px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}
.section-shell {
  padding: var(--section-shell-padding-desktop);
}
.section-head-offset {
  padding: 24px;
}
.section-content-offset {
  padding: 24px;
}

/* Buttons */
.btn-lime {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--text-dark);
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: 0.2s; border: 1px solid rgba(0,0,0,0.1);
}
.btn-lime:hover { background: var(--lime-hover); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: 0.2s; border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { background: #20BA5A; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

.btn-black {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-black); color: var(--text-light);
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: 0.2s;
}
.btn-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-outline {
  display: inline-flex; padding: 10px 24px; border-radius: 1rem;
  border: 1px solid var(--text-dark); color: var(--text-dark);
  text-decoration: none; font-weight: 600; transition: 0.2s;
}
.btn-outline:hover { background: var(--text-dark); color: var(--text-light); }



/* HEADER */
.header {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1400px; margin: 0 auto; padding: 40px;
}
.logo {
  display: flex; align-items: center; gap: 12px; font-weight: 700;
  font-size: 1.3rem; text-decoration: none; color: var(--text-dark); letter-spacing: -1px;
}
.logo-image {
  display: block;
  height: 40px;
  width: auto;
}
.logo-bars { display: flex; gap: 4px; }
.logo-bars span { display: block; width: 8px; height: 20px; background: var(--text-dark); border-radius: 2px; }
.logo-bars span:last-child { height: 14px; margin-top: 6px; }

.nav-links { display: flex; gap: 40px; font-weight: 600; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); transition: 0.2s; position: relative;}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a::before { content: '•'; position: absolute; left: -16px; color: var(--purple); opacity: 0; transition: 0.2s; }
.nav-links a:hover::before { opacity: 1; }

/* HERO SECTION */
.hero-section {
  max-width: 1400px; margin: 40px auto 100px; padding: 0 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(620px, 660px); gap: 40px; align-items: center;
}
.hero-left {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-left h1 {
  width: 100%;
  max-width: 600px;
  font-weight: 600 !important;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}
.hero-left h1 span {
  font-weight: 600 !important;
}
.hero-left p {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 0;
  line-height: 1.7;
}
.hero-live-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  margin: 0 0 18px;
  border: 1px solid rgba(20, 152, 110, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
}
.hero-live-stat__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.1;
}
.hero-live-stat__text {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.hero-cta-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-subtitle { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; }
.hero-logos {
  margin-top: 60px; display: flex; align-items: center; gap: 32px;
}
.hero-logos span:first-child { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; color: var(--text-muted); line-height: 1.2;}
.fake-logo { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.05em; color: #999; }

/* abstract design for right side hero */
.hero-right { position: relative; display: flex; justify-content: flex-start; perspective: 1000px; }
#aiWidget {
  transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
}
.w-choice-btn {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.w-choice-btn.is-selected {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.12);
  transform: scale(0.985);
}
.widget-step-animate-in {
  animation: widget-step-fade-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: top left;
}
@keyframes widget-step-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-widget-stack {
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.widget-top-meta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}
.widget-top-meta.widget-top-meta--compact .widget-inline-proof {
  display: none;
}
.loan-calculator-card {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.loan-calculator-card--embedded {
  margin: 0 24px 24px;
}
.loan-calculator__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #ffffff;
}
.loan-calculator__intro {
  margin: 0;
}
.loan-calculator__title {
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
}
.loan-calculator__text {
  margin-top: 12px;
  max-width: 360px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
}
.loan-calculator__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loan-calculator__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / -1;
}
.loan-calculator__control {
  padding: 10px 14px 10px;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.loan-calculator__control-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.loan-calculator__control-head label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.loan-calculator__control-head strong {
  font-size: 1.1rem;
  color: #14986e;
  font-weight: 600;
  line-height: 1.05;
}
.loan-calculator__range-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.loan-calculator__range-separator {
  color: #94a3b8;
  font-weight: 500;
}
.loan-calculator__range-group {
  position: relative;
  width: 100%;
  padding-top: 5px;
}
.loan-calculator__range-single {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(20,152,110,0.15);
  outline: none;
  cursor: pointer;
  opacity: 1;
  z-index: 10;
  position: relative;
  pointer-events: auto;
}
.loan-calculator__range-single::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.loan-calculator__range-single::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}
.loan-calculator__range-single::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.loan-calculator__range-single::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}
.loan-calculator__scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
}
.loan-calculator__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.loan-calculator__select-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #ffffff;
}
.loan-calculator__select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid #14986e;
  border-bottom: 2px solid #14986e;
  transform: translateY(-28%) rotate(45deg);
  pointer-events: none;
}
.loan-calculator__select-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.loan-calculator__select {
  width: 100%;
  margin: 0;
  padding: 0 36px 0 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 500 !important;
  line-height: 1.15;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.loan-calculator__chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.loan-calculator__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.88);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
}
.loan-calculator__chip-remove,
.loan-calculator__chip-reset {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.loan-calculator__chip-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 2px;
  font-size: 0.92rem;
  font-weight: 500;
}
.loan-calculator__result {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 2px;
}
.loan-calculator__result-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.loan-calculator__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  grid-column: span 3;
}
.loan-calculator__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 7px 13px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(15,23,42,0.05);
  box-sizing: border-box;
}
.loan-calculator__stat--accent {
  border-color: rgba(20,152,110,0.1);
  background: rgba(241, 249, 245, 0.78);
}
.loan-calculator__label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
}
.loan-calculator__stat strong {
  font-size: 0.84rem;
  line-height: 1.1;
  color: #334155;
  letter-spacing: -0.01em;
}
.loan-calculator__stat--accent strong {
  color: #14986e;
}
.loan-calculator__summary {
  margin: 12px 0 0;
  padding: 0 2px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}
.offer-card.offer-card--match {
  box-shadow: 0 18px 36px rgba(20, 152, 110, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(244,251,247,0.96));
}
.offer-card.offer-card--dimmed {
  opacity: 0.7;
  box-shadow: none;
}
.offer-card.offer-card--hidden {
  display: none !important;
}
.offer-card:hover {
  border-color: #14986e !important;
}
.offer-card.offer-card--dimmed:hover {
  opacity: 0.88;
}
.offer-card.offer-card--featured {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,252,249,0.98));
}
.offer-card.offer-card--featured .text-3xl {
  color: #0f172a;
}
.loan-calculator__cta-wrap {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  align-self: stretch;
  min-height: 56px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.loan-calculator__cta {
  width: 100%;
  height: 56px;
  min-height: 56px;
  border: 1px solid #10b981;
  border-radius: 16px;
  background: #10b981;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(110, 231, 183, 0.42);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.loan-calculator__cta:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 16px 28px rgba(110, 231, 183, 0.48);
}
.widget-top-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(255,255,255,0.95));
  border: 1px solid rgba(16,185,129,0.14);
  flex: 0 0 auto;
  justify-content: center;
}
.widget-top-badge-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #059669;
}
.widget-top-badge-step {
  font-size: 0.8rem;
  color: rgba(18,18,18,0.8);
  font-weight: 600;
}
.widget-inline-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(244,245,249,0.92), rgba(255,255,255,0.98));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  flex: 1 1 auto;
  min-width: 0;
  min-height: 100%;
}
.widget-proof-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #14986e;
  box-shadow: 0 0 0 7px rgba(20,152,110,0.14);
  flex-shrink: 0;
  animation: none;
}
.widget-top-meta.is-animated .widget-proof-dot {
  animation: widget-proof-pulse 1.8s ease-in-out infinite;
}
@keyframes widget-proof-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(20,152,110,0.28);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(20,152,110,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(166,124,255,0);
  }
}
.widget-proof-label {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(107,114,128,0.82);
  margin: 0 0 2px;
}
.widget-proof-text {
  font-size: 0.76rem;
  line-height: 1.3;
  color: rgba(18,18,18,0.72);
  font-weight: 500;
  margin: 0;
  max-width: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.34s ease, transform 0.34s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roulette-section {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.roulette-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(244,245,249,0.94));
  border: 1px solid rgba(20,152,110,0.1);
  border-radius: 40px;
  padding: var(--section-shell-padding-desktop);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 36px;
  align-items: center;
}
.roulette-card__copy h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.02;
  margin-bottom: 14px;
  color: #0f172a;
}
.roulette-card__copy .section-description {
  max-width: 560px;
  margin-bottom: 22px;
}
.roulette-card__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.roulette-card__spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex: 0 0 auto;
}
.roulette-card__spin {
  border: 1px solid #14986e;
  background: #14986e;
  color: #fff;
  cursor: pointer;
}
.roulette-card__spin:hover { background: #117e5b; border-color: #117e5b; }
.roulette-card__spin:disabled {
  cursor: default;
  opacity: 0.7;
}
.roulette-card__proof {
  width: auto;
  max-width: 320px;
  min-height: auto;
  padding: 0;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 1 auto;
}
.roulette-card__proof .widget-proof-dot {
  width: 10px;
  height: 10px;
  box-shadow: none;
  animation: widget-proof-pulse 1.8s ease-in-out infinite;
}
.roulette-card__proof .widget-proof-label {
  margin-bottom: 4px;
}
.roulette-card__proof .widget-proof-text {
  line-height: 1.35;
}
.roulette-wheel {
  --wheel-size: 430px;
  --wheel-center-size: 112px;
  --wheel-slice-angle: 30deg;
  --wheel-slice-offset: 15deg;
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin: 0 auto;
  justify-self: center;
  filter:
    drop-shadow(0 22px 34px rgba(15, 23, 42, 0.1))
    drop-shadow(0 38px 68px rgba(15, 23, 42, 0.08));
}
.roulette-wheel::before {
  content: '';
  position: absolute;
  inset: auto 42px 0;
  border-radius: 50%;
  height: 82px;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0) 74%);
  transform: translateY(20px);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
.roulette-wheel::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 26% 18%, rgba(255,255,255,0.96), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 72% 78%, rgba(255,255,255,0.28), rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
}
.roulette-wheel__pointer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 36px;
  height: 62px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0) 32%),
    linear-gradient(180deg, #2b7b69 0%, #1b6656 52%, #11493e 100%);
  border: 1px solid rgba(255,255,255,0.78);
  outline: 1px solid rgba(11, 31, 28, 0.96);
  clip-path: polygon(50% 100%, 4% 0, 96% 0);
  transform: translateX(-50%);
  z-index: 5;
  box-shadow:
    0 14px 24px rgba(15, 23, 42, 0.2),
    0 5px 12px rgba(11, 31, 28, 0.24);
}
.roulette-wheel__pointer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 54%;
  height: 10px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0));
  clip-path: polygon(50% 100%, 10% 0, 90% 0);
  opacity: 0.88;
}
.roulette-wheel__pointer::after {
  content: '';
  position: absolute;
  inset: 2px 4px 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  clip-path: polygon(50% 100%, 8% 0, 92% 0);
  opacity: 0.5;
}
.roulette-wheel__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--wheel-rotation, 0deg));
  z-index: 2;
}
.roulette-wheel__disc.is-spinning {
  animation: roulette-wheel-spin 3.2s cubic-bezier(0.14, 0.88, 0.18, 1) forwards;
}
@keyframes roulette-wheel-spin {
  from {
    transform: rotate(var(--wheel-spin-from, 0deg));
  }
  to {
    transform: rotate(var(--wheel-spin-to, 0deg));
  }
}
.roulette-wheel__svg {
  display: block;
  width: 100%;
  height: 100%;
}
.roulette-wheel__svg .roulette-wheel__slice-gloss {
  opacity: 0.62;
}
.roulette-wheel__svg .roulette-wheel__face-glow {
  opacity: 0.88;
}
.roulette-wheel__svg .roulette-wheel__face-shade {
  opacity: 0.5;
}
.roulette-wheel__svg .roulette-wheel__top-sheen {
  opacity: 0.4;
}
.roulette-wheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--wheel-center-size);
  height: var(--wheel-center-size);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 4;
  pointer-events: none;
}
.roulette-wheel__center::before {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,0.98), rgba(255,255,255,0) 34%),
    linear-gradient(160deg, rgba(255,255,255,0.99) 0%, rgba(246,248,252,0.98) 38%, rgba(232,238,246,0.98) 100%);
  border: 7px solid rgba(255,255,255,0.96);
  outline: 1px solid rgba(198, 154, 59, 0.5);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.18),
    0 8px 18px rgba(186, 142, 47, 0.12),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -16px 20px rgba(148, 163, 184, 0.18);
}
.roulette-wheel__center::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,0.96), rgba(255,255,255,0.24) 42%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
}
.roulette-wheel__currency {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.78rem;
  line-height: 1;
  font-weight: 800;
  color: #0f766e;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.86),
    0 8px 14px rgba(15, 118, 110, 0.12);
  filter: drop-shadow(0 4px 10px rgba(20, 152, 110, 0.14));
  transform: rotate(0deg) translateY(0);
  z-index: 1;
}
.roulette-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.roulette-offer-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.roulette-offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.52);
  backdrop-filter: blur(5px);
}
.roulette-offer-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.99), rgba(244,245,249,0.98));
  box-shadow: 0 28px 70px rgba(0,0,0,0.18);
  padding: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.roulette-offer-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
}
.roulette-offer-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(20,152,110,0.08);
  color: #14986e;
  border: 1px solid rgba(20,152,110,0.14);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.roulette-offer-modal__dialog h3 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.04;
  margin-bottom: 12px;
}
.roulette-offer-modal__text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.roulette-offer-modal__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(20,152,110,0.1);
  margin-bottom: 20px;
}
.roulette-offer-modal__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(20,152,110,0.18);
  background: #fff;
  padding: 10px 12px;
}
.roulette-offer-modal__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.roulette-offer-modal__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.roulette-offer-modal__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.roulette-offer-modal__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20,152,110,0.06);
  color: rgba(18,18,18,0.78);
  font-size: 0.84rem;
  font-weight: 600;
}
.roulette-offer-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.roulette-offer-modal__cta,
.roulette-offer-modal__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.roulette-offer-modal__cta {
  background: #14986e;
  border: 1px solid #14986e;
  color: #fff;
}
.roulette-offer-modal__cta:hover {
  background: #117e5b;
  border-color: #117e5b;
}
.roulette-offer-modal__secondary {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
  cursor: pointer;
}
.roulette-offer-modal__secondary:hover {
  background: #f8fafc;
}
.abstract-card {
  width: 380px; height: 500px; background: var(--bg-black);
  border-radius: var(--radius-card); box-shadow: -20px 40px 60px rgba(0,0,0,0.15);
  transform: rotateZ(10deg) rotateY(-15deg) rotateX(5deg);
  padding: 30px; position: relative; overflow: hidden;
}
.abstract-card::after {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 300px; height: 300px; background: var(--lime);
  border-radius: 40px; transform: rotate(-20deg); z-index: -1;
}
.mock-cc { color: var(--text-light); margin-bottom: 40px; }
.mock-cc span { font-size: 0.8rem; text-transform: uppercase; opacity: 0.6; letter-spacing: 1px; }
.mock-cc-chip { width: 40px; height: 30px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; margin: 16px 0; }
.mock-cc-num { font-size: 1.3rem; letter-spacing: 2px; }
.pixel-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 40px;}
.pixel-grid i { width: 100%; aspect-ratio: 1; background: #222; border-radius: 4px; }
/* random colors via nth-child */
.pixel-grid i:nth-child(2n) { background: var(--lime); }
.pixel-grid i:nth-child(3n) { background: var(--purple); }
.pixel-grid i:nth-child(5n) { background: #333; }
.pixel-grid i:nth-child(7n) { background: #111; }


/* MEMO BIG WHITE CONTAINER */
.memo-container {
  max-width: 1400px; margin: 0 auto 100px; padding: 0 40px;
}
.memo-white-box {
  background: var(--card-white); border-radius: var(--radius-mega);
  padding: 40px; box-shadow: 0 40px 100px rgba(0,0,0,0.02);
}
.memo-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 30px; }
.memo-top h2 { grid-column: span 2;}
.memo-desc { grid-column: span 2; }
.memo-desc .section-description { margin: 0 0 20px; }

.memo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.memo-col h4 { font-size: 1.2rem; margin-bottom: 16px; margin-top: 24px; }
.memo-col p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.memo-white-box .section-head-offset,
.memo-white-box .section-content-offset {
  padding: 16px;
}
/* SVG/Abstract tiny icons */
.memo-col > div[class^="icon-"] { height: 60px; display: flex; align-items: center; }
.icon-circle svg, .icon-target svg, .icon-net svg { width: 60px; height: 60px; display: block; }
.icon-sliders { flex-direction: column; justify-content: center; align-items: stretch !important; gap: 8px; width: 80px; }
.slider { width: 100%; height: 12px; border-radius: 12px; border: 1px dashed #ccc; position: relative; }
.slider.active { background: rgba(166,124,255,0.1); border-color: var(--purple); }
.knob { width: 16px; height: 16px; border-radius: 50%; background: #ddd; position: absolute; top: -3px; left: 10%; }
.slider.active .knob { left: 70%; background: var(--lime); border: 2px solid #000; }


/* FAQ SECTION */
.faq-container {
  max-width: 1400px; margin: 0 auto 100px; padding: 0 40px;
}
.faq-header {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px;
}
.faq-header h2 { font-size: 3rem; }
.faq-nav { display: flex; gap: 12px; }
.nav-btn {
  width: 48px; height: 48px; border-radius: 24px; border: 1px solid #ddd;
  background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.nav-btn.active-btn { background: var(--lime); border-color: var(--lime); }

.faq-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.faq-cards--seo {
  grid-template-columns: repeat(3, 1fr);
}
.white-card {
  background: var(--card-white); border-radius: var(--radius-card);
  padding: 40px; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.02); min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.white-card h3 { font-size: 1.5rem; margin-bottom: 20px; z-index: 2; position: relative; }
.white-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; z-index: 2; position: relative; margin-bottom: 22px; }
.white-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(20,152,110,0.18);
  background: rgba(20,152,110,0.06);
  color: #14986e;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}
.white-card__button:hover {
  background: #14986e;
  border-color: #14986e;
  color: #fff;
}
/* decorative things */
.card-deco { display: none; }
.shape-diamond { width: 20px; height: 20px; background: rgba(166,124,255,0.2); transform: rotate(45deg); display: block; border-radius: 4px; }
.shape-diamond:nth-child(2) { background: var(--purple); }
.deco-lime .shape-circle { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--text-dark); background: transparent; }
.deco-lime .shape-line { width: 40px; height: 2px; background: var(--text-dark); margin: 11px 0 0 -12px; }
.deco-lines i { display: block; height: 6px; width: 60px; background: rgba(166,124,255,0.3); border-radius: 4px; }
.deco-lines i:nth-child(2) { width: 80px; background: var(--lime); }
.deco-lines i:nth-child(3) { width: 40px; }
.deco-lines { flex-direction: column; gap: 6px; }

.deco-squares { display: flex; gap: 8px; margin-top: auto;}
.deco-squares i { width: 14px; height: 14px; background: var(--purple); border-radius: 3px; display: block;}
.deco-squares i:nth-child(2) { background: var(--lime); }
.deco-squares i:nth-child(3) { background: #e0d4ff; }

.deco-pill { display: flex; align-items: center; gap: 8px; margin-top: auto;}
.deco-pill span.pill { width: 28px; height: 14px; border-radius: 14px; background: var(--text-dark); display: block;}
.deco-pill span.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); display: block;}

.deco-rings { display: flex; align-items: center; margin-top: auto; }
.deco-rings i { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--accent-lime); box-sizing: border-box; display: block; }
.deco-rings i:nth-child(2) { border-color: var(--accent-purple); margin-left: -10px; z-index: 2; position: relative;}

.content-info-modal {
  position: fixed;
  inset: 0;
  z-index: 8550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.content-info-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.content-info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.52);
  backdrop-filter: blur(5px);
}
.content-info-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100dvh - 48px);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.99), rgba(244,245,249,0.98));
  box-shadow: 0 28px 70px rgba(0,0,0,0.18);
  padding: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.content-info-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
}
.content-info-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(20,152,110,0.08);
  color: #14986e;
  border: 1px solid rgba(20,152,110,0.14);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.content-info-modal__dialog h3 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.08;
  margin-bottom: 16px;
}
.content-info-modal__body {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}
.content-info-modal__body p + p {
  margin-top: 14px;
}
.content-info-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.content-info-modal__cta,
.content-info-modal__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.content-info-modal__cta {
  background: #14986e;
  border: 1px solid #14986e;
  color: #fff;
}
.content-info-modal__cta:hover {
  background: #117e5b;
  border-color: #117e5b;
}
.content-info-modal__secondary {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
  cursor: pointer;
}


/* FAQ */
.faq-section {
  max-width: 1400px;
  margin: 0 auto 120px;
  padding: 0 40px;
}
.faq-shell {
  background: var(--card-white);
  border-radius: 2rem;
  padding: var(--section-shell-padding-desktop);
  box-shadow: 0 30px 80px rgba(0,0,0,0.04);
}
.faq-intro {
  margin-bottom: 32px;
  padding: 18px 24px 0;
}
.faq-intro h2 { margin: 0; }
.faq-intro-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
}
.faq-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
  margin-bottom: 24px;
}
.faq-shortcuts__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  color: var(--text-dark);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.faq-shortcuts__item:hover {
  border-color: #14986e;
  color: #14986e;
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.faq-group {
  background: rgba(255,255,255,0.88);
  border-radius: 28px;
  padding: 26px;
}
.faq-group__head {
  margin-bottom: 18px;
  padding: 0;
}
.faq-group__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20,152,110,0.08);
  color: #14986e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.faq-group__head h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0 0 10px;
}
.faq-group__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-group__items {
  display: grid;
  gap: 12px;
  width: 100%;
}
.faq-item {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,0.08);
  padding: 0 24px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  border-color: #14986e;
}
.faq-item[open] {
  background: rgba(20,152,110,0.03);
  border-color: #14986e;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 30px 44px 30px 0;
  position: relative;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text-dark);
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus,
.faq-item summary:focus-visible {
  outline: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 30px;
  color: #14986e;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 0 30px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}
.faq-item a {
  color: #14986e;
  font-weight: 600;
}


/* TRUST SEO FEATURES */
.trust-container {
  max-width: 1400px; margin: 0 auto 120px; padding: 0 40px;
}
.trust-wrap {
  display: block;
}
.trust-panel {
  background: var(--card-white);
  border-radius: var(--radius-mega);
  padding: var(--section-shell-padding-desktop);
  box-shadow: 0 40px 100px rgba(0,0,0,0.02);
}
.trust-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
  padding: 18px 24px 0;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--text-dark); padding: 8px 16px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.trust-badge span { width: 24px; height: 14px; background: var(--bg-black); border-radius: 8px; }
.trust-head h2 { margin-bottom: 0; }
.text-purple { color: #10b981; }
.trust-sub { margin-bottom: 0; max-width: 620px; }

.trust-desc h3 span { color: #10b981; }

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 0 24px;
}
.trust-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; align-items: start; }
.trust-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent-lime); color: var(--text-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
  margin-top: -2px;
}
.trust-item h4 { font-size: 1.14rem; line-height: 1.2; font-weight: 700; margin: 0; }
.trust-item p { color: #444; line-height: 1.5; font-size: 1.1rem; margin: 10px 0 0; }


/* FOOTER */
.footer {
  background: #0f172a;
  color: #94a3b8;
  margin-top: 100px;
}
.footer-shell {
  padding: 56px 0 24px;
}
.footer-grid {
  align-items: flex-start;
  column-gap: 42px;
  row-gap: 32px;
}
.footer-brand {
  max-width: 340px;
}
.footer-column {
  padding-top: 8px;
}
.footer-brand-text {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 22px;
}
.footer-title {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 22px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #10b981;
}
.footer-legal {
  border-top: 1px solid #1e293b;
  margin: 32px 0;
  padding-top: 32px;
}
.footer-legal-text {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.76rem;
  line-height: 1.8;
}
.footer-legal-copy {
  margin-top: 14px;
}

.btn-wa svg {
  margin-right: 4px;
  flex-shrink: 0;
}


/* ========================================
   RESPONSIVE & MOBILE MENU
   ======================================== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  padding: 12px;
  margin: -12px;
  background: transparent;
  border: none;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  -webkit-transition: -webkit-transform 0.3s ease, opacity 0.2s ease;
  transition: transform 0.3s ease, opacity 0.2s ease;
  border-radius: 2px;
  -webkit-transform-origin: center;
  transform-origin: center;
}
.burger.active span:nth-child(1) {
  -webkit-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  -webkit-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Tablet + Mobile: <= 1024px ---- */
@media (max-width: 1024px) {
  .header { padding: 20px 24px; }
  .burger { display: -webkit-flex; display: flex; }

  /* Nav: always rendered as flex but hidden off-screen via transform */
  .nav-links {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 36px;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: 100%;
    min-height: 100vh;
    background: #ffffff;
    z-index: 180;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.35s ease;
    transition: transform 0.35s ease;
    font-size: 1.1rem;
    font-weight: 600;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.nav-active {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open { overflow: hidden; }

  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 60px;
  }
  .hero-left { padding-top: 0; }
  .section-shell { padding: var(--section-shell-padding-tablet); }
  .section-head-offset { padding: 24px; }
  .section-content-offset { padding: 24px; }
  .memo-white-box { padding: var(--section-shell-padding-tablet); }
  .memo-top { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { font-size: 2.6rem; }
  .memo-top h2 { grid-column: auto; }
  .memo-desc { grid-column: auto; }
  .memo-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { padding: var(--section-shell-padding-tablet); }
  .trust-head {
    gap: 16px;
    margin-bottom: 32px;
    padding: 12px 24px 0;
  }
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0 24px;
  }
  .loan-calculator-card {
    padding: 22px;
  }
  .loan-calculator-card--embedded {
    margin: 0 24px 24px;
  }
  .loan-calculator__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }
  .loan-calculator__body {
    gap: 16px;
  }
  .loan-calculator__controls {
    grid-template-columns: 1fr;
  }
  .loan-calculator__filters {
    grid-template-columns: 1fr;
  }
  .loan-calculator__result-row {
    grid-template-columns: 1fr;
  }
  .loan-calculator__stats {
    grid-template-columns: 1fr;
  }
  .roulette-section { padding: 0 24px; margin-bottom: 80px; }
  .roulette-card { grid-template-columns: 1fr; padding: var(--section-shell-padding-tablet); }
  .roulette-wheel {
    --wheel-size: 360px;
    --wheel-center-size: 92px;
    margin: 0 auto;
    height: var(--wheel-size);
  }
  .roulette-offer-modal__dialog { width: min(560px, 100%); }
  .faq-section { padding: 0 24px; margin-bottom: 80px; }
  .faq-shell { padding: var(--section-shell-padding-tablet); }
  .faq-intro { padding: 12px 24px 0; }
  .faq-shortcuts { padding: 0 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-list { grid-template-columns: 1fr; }
  .faq-cards { grid-template-columns: repeat(2, 1fr); }
  .faq-cards--seo { grid-template-columns: repeat(2, 1fr); }
  .content-info-modal__dialog { width: min(640px, 100%); padding: 28px; }
}

/* ---- Mobile (iPhone) <= 768px ---- */
@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 20px auto 60px;
    padding: 0 20px;
  }
  #aiWidget,
  #aiWidget .widget-step,
  #aiWidget h3,
  #aiWidget p,
  #aiWidget .text-xs,
  #aiWidget .text-sm {
    text-align: left !important;
  }
  .hero-left h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero-left p { margin: 0 auto 30px; }
  .hero-cta-wrap { -webkit-align-items: center; align-items: center; width: 100%; }
  .btn-lime, .btn-wa { width: 100%; -webkit-justify-content: center; justify-content: center; }
  .hero-logos { -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
  .hero-right { -webkit-justify-content: center; justify-content: center; margin-top: 0; }
  .hero-widget-stack { max-width: 100%; }
  .widget-top-meta {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .widget-inline-proof {
    width: auto;
    padding: 8px 10px;
    gap: 10px;
  }
  .widget-top-badge {
    padding: 8px 10px;
    min-width: 112px;
  }
  .widget-top-badge-label { font-size: 0.58rem; }
  .widget-top-badge-step { font-size: 0.68rem; }
  .widget-proof-text {
    max-width: none;
    font-size: 0.66rem;
    line-height: 1.2;
  }
  .widget-proof-label { font-size: 0.56rem; }
  .abstract-card { width: 280px; height: 360px; -webkit-transform: none; transform: none; }
  .memo-container { padding: 0 16px; margin-bottom: 60px; }
  .loan-calculator-card {
    padding: 0;
    border-radius: 0;
  }
  .loan-calculator-card--embedded {
    margin: 0 0 20px;
  }
  .loan-calculator__top {
    grid-template-columns: 1fr;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .loan-calculator__body {
    gap: 16px;
  }
  .loan-calculator__controls,
  .loan-calculator__filters,
  .loan-calculator__stats {
    grid-template-columns: 1fr;
  }
  .loan-calculator__controls,
  .loan-calculator__stats,
  .loan-calculator__result-row {
    display: grid;
  }
  .loan-calculator__control,
  .loan-calculator__select-wrap {
    width: 100%;
    padding: 14px;
    border-radius: 22px;
  }
  .loan-calculator__cta-wrap {
    border-left: 0;
  }
  .loan-calculator__cta-wrap {
    width: 100%;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
  }
  .loan-calculator__control-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .loan-calculator__control-head strong {
    font-size: 1.18rem;
  }
  .loan-calculator__range-value {
    flex-wrap: wrap;
    gap: 4px;
  }
  .loan-calculator__range-handle {
    width: 22px;
    height: 22px;
  }
  .loan-calculator__select {
    font-size: 1.14rem;
  }
  .loan-calculator__chips {
    gap: 8px;
  }
  .loan-calculator__chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
  .loan-calculator__cta-wrap {
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }
  .loan-calculator__stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: auto;
    width: 100%;
    padding: 12px 14px;
  }
  .loan-calculator__cta {
    width: 100% !important;
    min-height: 56px;
    border-radius: 18px;
  }
  .loan-calculator__stat strong {
    font-size: 0.98rem;
  }
  .section-shell { padding: var(--section-shell-padding-mobile); }
  .section-head-offset { padding: 0; }
  .section-content-offset { padding: 0; }
  .memo-white-box { padding: var(--section-shell-padding-mobile); border-radius: 24px; }
  .memo-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-panel { padding: var(--section-shell-padding-mobile); border-radius: 24px; }
  .trust-head {
    gap: 14px;
    margin-bottom: 24px;
    padding: 8px 18px 0;
  }
  .trust-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 18px;
  }
  .trust-item { gap: 16px; }
  .trust-item h4 { font-size: 1.02rem; }
  .trust-item p { font-size: 0.95rem; }
  .roulette-section { padding: 0 16px; margin-bottom: 60px; }
  .roulette-card { padding: var(--section-shell-padding-mobile); border-radius: 24px; gap: 24px; }
  .section-heading { font-size: 2rem; }
  .section-description { font-size: 0.96rem; line-height: 1.65; }
  .roulette-card__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .roulette-card__spin {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 20px;
    font-size: 1rem;
  }
  .roulette-card__proof {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }
  .roulette-wheel {
    --wheel-size: min(336px, calc(100vw - 48px));
    --wheel-center-size: 84px;
    width: var(--wheel-size);
    height: var(--wheel-size);
    margin: 8px auto 0;
  }
  .roulette-wheel__pointer {
    top: -1px;
    width: 28px;
    height: 50px;
  }
  .roulette-wheel__currency {
    font-size: 2.28rem;
  }
  .roulette-offer-modal { padding: 16px; }
  .roulette-offer-modal__dialog {
    max-height: calc(100dvh - 32px);
    padding: 24px 18px;
    border-radius: 24px;
  }
  .roulette-offer-modal__card { flex-direction: column; align-items: stretch; }
  .roulette-offer-modal__logo-wrap { width: 100%; }
  .roulette-offer-modal__actions {
    flex-direction: column;
    gap: 12px;
  }
  .roulette-offer-modal__cta,
  .roulette-offer-modal__secondary {
    width: 100%;
    min-height: 56px;
    height: 56px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
  }
  .faq-section { padding: 0 16px; margin-bottom: 60px; }
  .faq-shell { padding: var(--section-shell-padding-mobile); border-radius: 24px; }
  .faq-intro { margin-bottom: 24px; padding: 8px 18px 0; }
  .faq-intro-subtitle { font-size: 0.92rem; line-height: 1.6; }
  .faq-shortcuts {
    grid-template-columns: 1fr;
    padding: 0 18px;
    margin-bottom: 18px;
  }
  .faq-shortcuts__item {
    min-height: 52px;
    font-size: 0.92rem;
  }
  .faq-list { gap: 14px; }
  .faq-group { border-radius: 22px; padding: 18px; }
  .faq-group__head { padding: 0; }
  .faq-group__head h3 { font-size: 1.2rem; }
  .faq-group__head p { font-size: 0.9rem; }
  .faq-item { border-radius: 18px; padding: 0 18px; }
  .faq-item summary { padding: 18px 30px 18px 0; font-size: 1rem; }
  .faq-item summary::after { top: 18px; font-size: 1.35rem; }
  .faq-item p { padding-bottom: 18px; font-size: 0.92rem; }
  .faq-container { padding: 0 16px; margin-bottom: 60px; }
  .faq-header { -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: flex-start; align-items: flex-start; gap: 16px; }
  .faq-header h2 { font-size: 2rem; }
  .faq-cards { grid-template-columns: 1fr; gap: 16px; }
  .faq-cards--seo { grid-template-columns: 1fr; }
  .white-card { padding: 28px 24px; min-height: auto; }
  .white-card__button { width: 100%; }
  .content-info-modal { padding: 16px; }
  .content-info-modal__dialog {
    max-height: calc(100dvh - 32px);
    padding: 24px 18px;
    border-radius: 24px;
  }
  .content-info-modal__actions { flex-direction: column; }
  .content-info-modal__cta,
  .content-info-modal__secondary { width: 100%; min-height: 56px; }
  .trust-container { padding: 0 16px; margin-bottom: 60px; }
  .trust-panel { padding: var(--section-shell-padding-mobile); border-radius: 24px; }
  .trust-head {
    gap: 14px;
    margin-bottom: 24px;
    padding: 8px 18px 0;
  }
  .trust-list { grid-template-columns: 1fr; gap: 20px; padding: 0 18px; }
  .trust-item { grid-template-columns: 36px 1fr; gap: 16px; }
  .trust-item h4 { font-size: 1.08rem; }
  .trust-item p { font-size: 0.95rem; }
  .footer-shell { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; }
  .footer-brand { max-width: none; }
  .footer-column { padding-top: 0; }
  .footer-brand-text { margin-top: 18px; font-size: 0.88rem; line-height: 1.75; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 0.88rem; }
  .footer-legal { margin: 28px 0; padding-top: 24px; }
  .footer-legal-text,
  .footer-legal-copy { font-size: 0.74rem; line-height: 1.75; }
}

/* Close button inside mobile nav */
.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 1024px) {
  .nav-close { display: block; }
  #mobileNav { position: relative; }
}

/* Hero borrower trust badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 24px;
}
.hero-trust-badges .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 152, 110, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
}
.text-lime { color: var(--lime); }
@media (max-width: 768px) {
  .hero-left {
    align-items: center;
    padding-top: 24px;
  }
  .hero-left h1 {
    margin-bottom: 16px;
  }
  .hero-trust-badges { justify-content: center; }
  .hero-live-stat {
    justify-content: center;
    text-align: center;
    margin: 0 0 8px;
  }
  .hero-trust-badges {
    margin-top: 6px;
    margin-bottom: 18px;
  }
}

/* ===== FIREWORKS ANIMATION ===== */
.firework-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 8400;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.firework-container.fading {
  opacity: 0;
}

.firework {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  aspect-ratio: 1;
  background: radial-gradient(circle, #ff0 0%, transparent 100%);
  box-shadow: 
    0 0 0 #fff,
    -20px -50px 0 #ff0044,
    20px -30px 0 #22ff00,
    -40px 10px 0 #0088ff,
    30px 40px 0 #ffaa00,
    -10px 60px 0 #ff00ff,
    50px -10px 0 #00ffff;
  border-radius: 50%;
  opacity: 0;
  filter: blur(1px);
}

@keyframes firework-animation {
  0% { 
    transform: translate(-50%, 60vh);
    width: 0.5rem;
    opacity: 1;
  }
  50% { 
    width: 0.5rem;
    opacity: 1;
  }
  100% { 
    transform: translate(-50%, -50%) scale(15);
    opacity: 0;
  }
}

.firework-container.active .firework {
  animation: firework-animation 1.5s ease-out infinite;
}

.firework:nth-child(2) { 
  left: 30%; 
  animation-delay: 0.2s; 
}
.firework:nth-child(3) { 
  left: 70%; 
  animation-delay: 0.4s; 
}
