/* ═══════════════════════════════════════════════
   SF24 TEST REFER & EARN — Aurora Bento Light · WOW edition
   Mirrors test-home editorial structure
═══════════════════════════════════════════════ */

.sf24-tref-wrap {
  position: relative;
  background: #f3f1ec;
  font-family: var(--th-body, "Nunito", system-ui, sans-serif);
  color: #1a0f2e;
  overflow: clip;
}
.sf24-tref-wrap a { color: inherit; }

/* ═══ HERO ═══ */
.sf24-tref-hero {
  position: relative;
  padding: clamp(70px, 12vw, 140px) clamp(20px, 5vw, 60px) clamp(50px, 8vw, 90px);
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.sf24-tref-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.sf24-tref-h1 {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 14px 0 22px;
  color: #1a0f2e;
}
.sf24-tref-h1 em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #7c3aed 0%, #dd2a7b 50%, #f58529 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  color: rgba(26,15,46,0.7);
  max-width: 640px;
  margin: 0 auto 32px;
}
.sf24-tref-sub strong {
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
.sf24-tref-cta-primary {
  display: inline-block;
  padding: 18px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed 0%, #dd2a7b 60%, #f58529 100%);
  color: #fff;
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
  box-shadow: 0 18px 40px -10px rgba(124,58,237,0.55);
}
.sf24-tref-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -10px rgba(124,58,237,0.65);
}
.sf24-tref-cta-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1);
}
.sf24-tref-cta-ghost {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(124,58,237,0.30);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.sf24-tref-cta-ghost:hover { border-bottom-color: rgba(124,58,237,0.65); }

/* ═══════════════════════════════════════════════
   BENTO PROOF GRID
═══════════════════════════════════════════════ */
.sf24-tref-bento {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
}
.sf24-tref-bento-head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.sf24-tref-bento-head .sf24-th-h2 { margin-top: 12px; }

.sf24-tref-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}
.sf24-tref-cell {
  position: relative;
  border-radius: 26px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(124,58,237,0.10);
  padding: 26px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.5s, box-shadow 0.5s;
}
.sf24-tref-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.22);
  box-shadow: 0 24px 60px -28px rgba(85,30,112,0.28);
}
.sf24-tref-cell--1 { grid-column: span 2; grid-row: span 2; }
.sf24-tref-cell--2 { grid-column: span 1; }
.sf24-tref-cell--3 { grid-column: span 1; }
.sf24-tref-cell--4 { grid-column: span 2; }
.sf24-tref-cell--5 { grid-column: span 1; }
.sf24-tref-cell--6 {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,248,214,0.55) 100%);
  border-color: rgba(237,196,50,0.32);
}

.sf24-tref-cell-tag {
  display: inline-block;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124,58,237,0.10);
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(85,30,112,0.78);
  margin-bottom: 14px;
}
.sf24-tref-cell--6 .sf24-tref-cell-tag {
  background: rgba(237,196,50,0.18);
  color: #b45309;
}
.sf24-tref-cell-bignum {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: clamp(64px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b 60%, #f58529);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: auto 0 8px;
}
.sf24-tref-cell-bignum--accent {
  background: linear-gradient(135deg, #EDC432, #f58529 60%, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-cell-h {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a0f2e;
  margin: auto 0 6px;
}
.sf24-tref-cell-sub {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(26,15,46,0.62);
}

/* Cell 1: Wallet mockup */
.sf24-tref-mockup {
  margin-top: auto;
  background: #1a0f2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -22px rgba(85,30,112,0.45);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.sf24-tref-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #2a1645;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sf24-tref-mock-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.sf24-tref-mock-bar span:nth-child(1) { background: #ef4444; }
.sf24-tref-mock-bar span:nth-child(2) { background: #f59e0b; }
.sf24-tref-mock-bar span:nth-child(3) { background: #22c55e; }
.sf24-tref-mock-bar strong {
  margin-left: 8px;
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.sf24-tref-mock-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.sf24-tref-mock-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sf24-tref-mock-label {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.sf24-tref-mock-value {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #EDC432, #f58529);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-mock-trend {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.16);
  color: #4ade80;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.sf24-tref-mock-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.sf24-tref-mock-feed li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--th-body, sans-serif);
}
.sf24-tref-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sf24-tref-mock-dot.is-credit {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: trefMockPulse 2s ease-out infinite;
}
@keyframes trefMockPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.sf24-tref-mock-feed li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.sf24-tref-mock-feed strong {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: -0.01em;
}
.sf24-tref-mock-feed span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf24-tref-mock-feed em {
  font-style: normal;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* Cell 3: Orbit */
.sf24-tref-orbit {
  position: relative;
  width: 140px;
  height: 140px;
  margin: auto 0 12px;
  align-self: center;
}
.sf24-tref-orbit svg {
  animation: trefOrbitSpin 24s linear infinite;
}
@keyframes trefOrbitSpin { to { transform: rotate(360deg); } }
.sf24-tref-orbit-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.sf24-tref-orbit-text strong {
  display: block;
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b 50%, #EDC432);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-orbit-text span {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(85,30,112,0.65);
}

/* Cell 4: Channels */
.sf24-tref-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
}
.sf24-tref-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(247,244,238,0.6);
  border: 1px solid rgba(124,58,237,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sf24-tref-channel:hover { transform: translateY(-2px); border-color: rgba(124,58,237,0.22); }
.sf24-tref-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ch-bg, linear-gradient(135deg, #7c3aed, #dd2a7b));
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.18);
}
.sf24-tref-channel strong {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #1a0f2e;
}

/* Cell 5: Shield */
.sf24-tref-shield {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(22,163,74,0.22));
  display: grid;
  place-items: center;
  color: #15803d;
  margin: auto 0 14px;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS — asymmetric bento
═══════════════════════════════════════════════ */
.sf24-tref-hiw {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
}
.sf24-tref-hiw-head { text-align: center; margin-bottom: clamp(40px, 6vw, 60px); }
.sf24-tref-hiw-head .sf24-th-h2 { margin-top: 12px; }

.sf24-tref-hiw-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}
.sf24-tref-hiw-card {
  position: relative;
  border-radius: 26px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(124,58,237,0.12);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.5s, box-shadow 0.5s;
  overflow: hidden;
  isolation: isolate;
}
.sf24-tref-hiw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.24);
  box-shadow: 0 22px 50px -24px rgba(85,30,112,0.22);
}
.sf24-tref-hiw-card--03 {
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,248,214,0.50) 100%);
  border-color: rgba(237,196,50,0.32);
}
.sf24-tref-hiw-num {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7c3aed, #f58529);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.95;
}
.sf24-tref-hiw-card--03 .sf24-tref-hiw-num {
  background: linear-gradient(135deg, #EDC432, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-hiw-card h3 {
  font-family: var(--th-display, "Rubik", system-ui, sans-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a0f2e;
  margin: 4px 0 0;
  line-height: 1.2;
}
.sf24-tref-hiw-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(26,15,46,0.65);
  margin: 0;
  max-width: 36ch;
}
.sf24-tref-hiw-art { margin-top: auto; padding-top: 18px; }

/* Step 1: link */
.sf24-tref-hiw-link {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid rgba(124,58,237,0.18);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px -4px rgba(85,30,112,0.10);
}
.sf24-tref-hiw-link-pre { color: rgba(26,15,46,0.55); }
.sf24-tref-hiw-link-code {
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Step 2: cart line */
.sf24-tref-hiw-cart {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247,244,238,0.7);
  border: 1px solid rgba(124,58,237,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sf24-tref-hiw-cart-line {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #1a0f2e;
  flex: 1;
  min-width: 0;
}
.sf24-tref-hiw-cart-old {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: rgba(26,15,46,0.4);
  text-decoration: line-through;
}
.sf24-tref-hiw-cart-new {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #15803d, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Step 3: credit notification */
.sf24-tref-hiw-credit {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a0f2e 0%, #551E70 100%);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.sf24-tref-hiw-credit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(237,196,50,0.32) 0%, transparent 60%);
  pointer-events: none;
}
.sf24-tref-hiw-credit > * { position: relative; z-index: 1; }
.sf24-tref-hiw-credit-label {
  font-family: var(--th-display, sans-serif);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.sf24-tref-hiw-credit strong {
  font-family: var(--th-display, sans-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #EDC432, #f58529);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-hiw-credit-time {
  margin-left: auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════════
   EARNINGS CALCULATOR — theatrical
═══════════════════════════════════════════════ */
.sf24-tref-calc {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
}
.sf24-tref-calc-head { text-align: center; margin-bottom: clamp(40px, 6vw, 60px); }
.sf24-tref-calc-head .sf24-th-h2 { margin-top: 12px; }

.sf24-tref-calc-card {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,248,214,0.55) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(237,196,50,0.32);
  padding: clamp(36px, 5vw, 60px);
  box-shadow: 0 28px 70px -28px rgba(85,30,112,0.28), 0 8px 32px -16px rgba(237,196,50,0.20);
  overflow: hidden;
  isolation: isolate;
}
.sf24-tref-calc-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(237,196,50,0.22) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(124,58,237,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.sf24-tref-calc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.sf24-tref-calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.sf24-tref-calc-row { display: flex; flex-direction: column; gap: 12px; }
.sf24-tref-calc-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sf24-tref-calc-row-head span {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(85,30,112,0.78);
}
.sf24-tref-calc-row-head strong {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sf24-tref-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,58,237,0.20), rgba(237,196,50,0.32));
  outline: none;
  cursor: pointer;
}
.sf24-tref-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  border: 4px solid #fff;
  box-shadow: 0 8px 22px -4px rgba(124,58,237,0.55);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sf24-tref-slider::-webkit-slider-thumb:hover { transform: scale(1.12); box-shadow: 0 12px 28px -4px rgba(124,58,237,0.65); }
.sf24-tref-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.sf24-tref-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  border: 4px solid #fff;
  box-shadow: 0 8px 22px -4px rgba(124,58,237,0.55);
  cursor: grab;
}
.sf24-tref-slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(26,15,46,0.45);
}
.sf24-tref-calc-rate {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: 14px;
}
.sf24-tref-calc-rate > span:first-child {
  font-family: var(--th-display, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(85,30,112,0.65);
}
.sf24-tref-calc-rate strong {
  font-family: var(--th-display, sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #7c3aed, #dd2a7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-calc-rate-note {
  font-size: 12px !important;
  color: rgba(26,15,46,0.55) !important;
  font-style: italic;
  font-family: var(--th-body, sans-serif) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-left: auto;
}

/* Result theater */
.sf24-tref-calc-result {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(135deg, #1a0f2e 0%, #551E70 50%, #7c3aed 100%);
  padding: clamp(36px, 5vw, 56px) clamp(32px, 4vw, 48px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.sf24-tref-calc-result-shimmer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(237,196,50,0.40) 0%, transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(221,42,123,0.32) 0%, transparent 60%),
    radial-gradient(50% 60% at 50% 0%, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: trefCalcShimmer 12s ease-in-out infinite;
}
@keyframes trefCalcShimmer {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.06); }
}
.sf24-tref-calc-result-inner { position: relative; z-index: 1; }
.sf24-tref-calc-result-label {
  font-family: var(--th-display, sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.sf24-tref-calc-result-num {
  display: block;
  font-family: var(--th-display, sans-serif);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #EDC432 0%, #f58529 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 22px;
  filter: drop-shadow(0 12px 32px rgba(237,196,50,0.35));
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1);
}
.sf24-tref-calc-result-num.is-pulse {
  animation: trefNumPulse 0.6s cubic-bezier(.2,.8,.2,1);
}
@keyframes trefNumPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.sf24-tref-calc-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.sf24-tref-calc-result-row {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.sf24-tref-calc-result-row span {
  font-family: var(--th-display, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.sf24-tref-calc-result-row strong {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.sf24-tref-calc-result-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   MEGA STATS — alternating
═══════════════════════════════════════════════ */
.sf24-tref-megastats {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sf24-tref-megastat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sf24-tref-megastat--right { align-items: flex-end; text-align: right; }
.sf24-tref-megastat--left  { align-items: flex-start; text-align: left; padding-left: clamp(0px, 5vw, 80px); }
.sf24-tref-megastat-label {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(85,30,112,0.55);
  max-width: 28ch;
}
.sf24-tref-megastat-num {
  font-family: var(--th-display, "Rubik", sans-serif);
  font-size: clamp(60px, 11vw, 140px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #7c3aed 0%, #dd2a7b 50%, #f58529 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ═══════════════════════════════════════════════
   TESTIMONIAL MARQUEE
═══════════════════════════════════════════════ */
.sf24-tref-test {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.sf24-tref-test-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.sf24-tref-test-head .sf24-th-h2 { margin-top: 12px; }

.sf24-tref-test-grid {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: trefMarquee 50s linear infinite;
}
.sf24-tref-test-grid:hover { animation-play-state: paused; }
@keyframes trefMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sf24-tref-test-track {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.sf24-tref-test-card {
  width: clamp(280px, 28vw, 360px);
  flex-shrink: 0;
  border-radius: 22px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(124,58,237,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sf24-tref-test-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.sf24-tref-test-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sf24-tref-test-earned {
  display: inline-block;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EDC432, #f58529);
  color: #1a0f2e;
  font-family: var(--th-display, sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf24-tref-test-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(26,15,46,0.78);
  margin: 0;
  flex: 1;
}
.sf24-tref-test-body footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.sf24-tref-test-body footer strong {
  font-family: var(--th-display, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #1a0f2e;
  letter-spacing: -0.01em;
}
.sf24-tref-test-body footer span {
  font-size: 12.5px;
  color: rgba(26,15,46,0.55);
}

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.sf24-tref-faq-section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 60px);
  max-width: 880px;
  margin: 0 auto;
}
.sf24-tref-faq-head { text-align: center; margin-bottom: 44px; }
.sf24-tref-faq-head .sf24-th-h2 { margin-top: 12px; }
.sf24-tref-faq { display: flex; flex-direction: column; gap: 10px; }
.sf24-tref-faq-item {
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(124,58,237,0.10);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.sf24-tref-faq-item[open] { border-color: rgba(124,58,237,0.25); }
.sf24-tref-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--th-display, sans-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #1a0f2e;
}
.sf24-tref-faq-item summary::-webkit-details-marker { display: none; }
.sf24-tref-faq-mark { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.sf24-tref-faq-mark::before, .sf24-tref-faq-mark::after {
  content: "";
  position: absolute;
  background: #7c3aed;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.sf24-tref-faq-mark::before { top: 10px; left: 4px; width: 14px; height: 2px; }
.sf24-tref-faq-mark::after  { left: 10px; top: 4px; width: 2px; height: 14px; }
.sf24-tref-faq-item[open] .sf24-tref-faq-mark::after { transform: rotate(90deg); opacity: 0; }
.sf24-tref-faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(26,15,46,0.7);
}
.sf24-tref-faq-item p a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(124,58,237,0.30);
}
.sf24-tref-faq-item p a:hover { border-bottom-color: rgba(124,58,237,0.65); }

/* ═══════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════ */
.sf24-tref-final {
  position: relative;
  padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 60px);
  max-width: 1280px;
  margin: clamp(40px, 6vw, 80px) auto 0;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 55%, #6d28d9 100%);
  isolation: isolate;
}
.sf24-tref-final-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 55% at 80% 20%, rgba(237,196,50,0.42) 0%, transparent 60%),
    radial-gradient(40% 55% at 10% 90%, rgba(221,42,123,0.38) 0%, transparent 60%),
    radial-gradient(50% 60% at 50% 0%, rgba(255,255,255,0.16) 0%, transparent 70%);
  animation: trefAuroraShift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes trefAuroraShift {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.sf24-tref-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
}
.sf24-th-eyebrow--light { color: rgba(255,255,255,0.78) !important; }
.sf24-tref-final-h {
  font-family: var(--th-display, sans-serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 14px 0 16px;
}
.sf24-tref-final-h em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #EDC432 0%, #f58529 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sf24-tref-final-inner > p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto 28px;
}
.sf24-tref-final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.sf24-tref-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EDC432 0%, #f58529 100%);
  color: #1a0f2e;
  font-family: var(--th-display, sans-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
  box-shadow: 0 18px 40px -10px rgba(237,196,50,0.55);
}
.sf24-tref-final-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -10px rgba(237,196,50,0.65);
}
.sf24-tref-final-cta--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.32);
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0.01em;
}
.sf24-tref-final-cta--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.sf24-tref-final-note {
  margin: 22px 0 0 !important;
  font-size: 13.5px !important;
  color: rgba(255,255,255,0.6) !important;
}
.sf24-tref-final-note a {
  color: #EDC432;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(237,196,50,0.30);
  font-weight: 600;
}
.sf24-tref-final-note a:hover { border-bottom-color: rgba(237,196,50,0.65); }

/* ═══ ANIMATIONS ═══ */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .sf24-tref-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .sf24-tref-cell--1 { grid-column: span 2; grid-row: span 2; }
  .sf24-tref-cell--4 { grid-column: span 2; }
  .sf24-tref-channels { grid-template-columns: repeat(3, 1fr); }
  .sf24-tref-hiw-grid { grid-template-columns: 1fr; }
  .sf24-tref-calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .sf24-tref-megastat--left { padding-left: 0; }
}
@media (max-width: 560px) {
  .sf24-tref-wrap { padding-top: 64px; }
  .sf24-tref-hero { padding: clamp(50px, 9vw, 80px) 18px clamp(36px, 7vw, 56px); }
  .sf24-tref-h1 { font-size: clamp(40px, 11vw, 64px); line-height: 1.0; }
  .sf24-tref-cta-primary { padding: 16px 28px; font-size: 14px; width: 100%; box-sizing: border-box; text-align: center; }
  .sf24-tref-bento { padding: clamp(50px, 9vw, 80px) 14px; }
  .sf24-tref-bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .sf24-tref-cell--1, .sf24-tref-cell--4 { grid-column: span 1; }
  .sf24-tref-cell--1 { grid-row: auto; min-height: 360px; }
  .sf24-tref-cell { padding: 24px 22px; border-radius: 22px; }
  .sf24-tref-cell-bignum { font-size: 60px; }
  .sf24-tref-channels { grid-template-columns: repeat(2, 1fr); }
  .sf24-tref-hiw, .sf24-tref-calc, .sf24-tref-faq-section { padding: clamp(50px, 9vw, 80px) 18px; }
  .sf24-tref-hiw-card { padding: 26px 22px; border-radius: 22px; }
  .sf24-tref-hiw-num { font-size: 44px; }
  .sf24-tref-calc-card { padding: 28px 22px; border-radius: 26px; }
  .sf24-tref-calc-result { padding: 30px 22px; border-radius: 22px; }
  .sf24-tref-calc-rows { grid-template-columns: 1fr; }
  .sf24-tref-megastats { padding: clamp(40px, 8vw, 70px) 18px; gap: 14px; }
  .sf24-tref-megastat--right { text-align: left; align-items: flex-start; }
  .sf24-tref-megastat-num { font-size: clamp(54px, 14vw, 80px); }
  .sf24-tref-test-head { padding: 0 18px; }
  .sf24-tref-test-card { width: 280px; }
  .sf24-tref-test-card img { height: 180px; }
  .sf24-tref-faq-item summary { padding: 18px 20px; font-size: 15px; }
  .sf24-tref-faq-item p { padding: 0 20px 20px; font-size: 14px; }
  .sf24-tref-final { border-radius: 28px; margin: 32px 12px 0; padding: 56px 22px; }
  .sf24-tref-final-cta { padding: 16px 28px; font-size: 14px; width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sf24-tref-orbit svg, .sf24-tref-final-aurora, .sf24-tref-test-grid, .sf24-tref-mock-dot, .sf24-tref-calc-result-shimmer { animation: none !important; }
  [data-anim] { transition: none !important; opacity: 1 !important; transform: none !important; }
}
