/* ==========================================================================
   RIFAN2 — Signature Brand Design System (Blue · Cyan · Emerald · Obsidian)
   Original custom identity with glassmorphism, aurora lighting & motion
   ========================================================================== */

:root {
  --bg: #050914;
  --bg-2: #0a1122;
  --surface: rgba(15, 24, 46, 0.78);
  --surface-solid: #0f182e;
  --surface-elev: rgba(20, 32, 60, 0.88);
  --border: rgba(0, 194, 255, 0.16);
  --border-strong: rgba(0, 230, 118, 0.38);

  --blue: #0066ff;
  --cyan: #00c8ff;
  --emerald: #00e676;
  --emerald-dark: #00b85c;
  --brand-grad: linear-gradient(135deg, #0066ff 0%, #00c2ff 48%, #00e676 100%);
  --brand-grad-h: linear-gradient(90deg, #0066ff 0%, #00c8ff 50%, #00e676 100%);
  --brand-glow: 0 10px 30px rgba(0, 194, 255, 0.28), 0 4px 16px rgba(0, 230, 118, 0.2);

  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --text-mute: #8ba0bc;
  --danger: #ff4d6d;
  --amber: #ffb703;
  --wa: #25D366;

  --font-display: 'Outfit', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Open Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(0, 102, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 45% at 85% 5%, rgba(0, 230, 118, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 194, 255, 0.12), transparent 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  position: relative;
  z-index: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Subtle Ambient Grid Layer */
.rf-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 100%);
}

/* ==========================================================================
   SCROLL REVEAL & MOTION KEYFRAMES
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -18px) scale(1.08); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

@keyframes sheenSweep {
  0% { transform: translateX(-140%) skewX(-22deg); }
  45%, 100% { transform: translateX(260%) skewX(-22deg); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes sparkRise {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  18% { opacity: var(--op, 0.65); }
  82% { opacity: var(--op, 0.65); }
  100% { transform: translateY(-540px) scale(1.15); opacity: 0; }
}

@keyframes progressShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes modalSpring {
  0% { opacity: 0; transform: scale(0.92) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   STICKY GLASSMORPHIC HEADER
   ========================================================================== */
.rf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 194, 255, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.rf-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 102, 255, 0.7) 30%, rgba(0, 200, 255, 0.9) 50%, rgba(0, 230, 118, 0.75) 70%, transparent 95%);
  opacity: 0.75;
}

.rf-header.is-scrolled {
  background: rgba(5, 9, 20, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.rf-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rf-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.rf-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 200, 255, 0.28));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.rf-logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px rgba(0, 230, 118, 0.45));
}

/* Desktop Pill Nav */
.rf-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

.rf-nav__pills {
  list-style: none;
  margin: 0;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 24, 46, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.rf-nav__item {
  position: relative;
}

.rf-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.rf-nav__link:hover,
.rf-nav__link.is-active {
  color: #ffffff;
  background: rgba(0, 194, 255, 0.14);
}

.rf-nav__link.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.35);
}

/* Dropdown Preview */
.rf-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 340px;
  background: rgba(11, 18, 36, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 102, 255, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.rf-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.rf-nav__item--sub:hover .rf-dropdown,
.rf-nav__item--sub:focus-within .rf-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.rf-dropdown__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.18s ease;
}

.rf-dropdown__card:hover {
  background: rgba(0, 194, 255, 0.1);
}

.rf-dropdown__thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rf-dropdown__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.rf-dropdown__meta {
  font-size: 12.5px;
  color: var(--emerald);
  font-weight: 700;
  margin-top: 3px;
}

.rf-dropdown__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Header CTA Button */
.rf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  color: #03111c;
  background: var(--brand-grad);
  background-size: 180% 180%;
  box-shadow: var(--brand-glow);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.2s ease;
  white-space: nowrap;
}

.rf-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-140%) skewX(-22deg);
  animation: sheenSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.rf-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 36px rgba(0, 194, 255, 0.38), 0 6px 20px rgba(0, 230, 118, 0.32);
}

.rf-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.rf-btn:disabled {
  background: #232d42;
  color: #6b7c96;
  box-shadow: none;
  cursor: not-allowed;
}

.rf-btn:disabled::after {
  display: none;
}

.rf-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.rf-btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(0, 200, 255, 0.34);
  box-shadow: none;
}

.rf-btn--glass::after {
  display: none;
}

.rf-btn--glass:hover:not(:disabled) {
  background: rgba(0, 200, 255, 0.14);
  border-color: var(--emerald);
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.2);
}

/* Mobile Header Controls */
.rf-mob-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rf-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 200, 255, 0.24);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rf-icon-btn:hover {
  background: rgba(0, 200, 255, 0.16);
  border-color: var(--emerald);
}

/* Mobile Quick Search Strip */
.rf-mob-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.22), rgba(0, 200, 255, 0.2), rgba(0, 230, 118, 0.22));
  border-top: 1px solid rgba(0, 200, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mobile Glass Drawer */
.rf-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 9, 20, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 20px 22px 34px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  overflow-y: auto;
}

.rf-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.rf-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rf-drawer__nav {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.rf-drawer__nav > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rf-drawer__link {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.rf-drawer__link:hover {
  color: var(--cyan);
}

@media (min-width: 1024px) {
  .rf-nav {
    display: flex;
  }
  .rf-mob-actions,
  .rf-mob-bar {
    display: none;
  }
  .rf-logo img {
    height: 48px;
  }
}

/* ==========================================================================
   SPLIT-SCREEN CINEMATIC HERO
   ========================================================================== */
.rf-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 20px 64px;
}

.rf-hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 12s ease-in-out infinite;
}

.rf-hero__aurora--1 {
  width: 440px;
  height: 440px;
  top: -120px;
  left: -80px;
  background: rgba(0, 102, 255, 0.28);
}

.rf-hero__aurora--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -60px;
  background: rgba(0, 230, 118, 0.22);
  animation-delay: -5s;
}

.rf-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.rf-spark {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, var(--col, #00c8ff) 55%, transparent 100%);
  box-shadow: 0 0 12px var(--col, #00c8ff);
  animation: sparkRise var(--dur, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.rf-hero__grid {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.rf-hero__grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 980px) {
  .rf-hero {
    padding: 58px 24px 80px;
  }
  .rf-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 54px;
  }
}

.rf-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  max-width: 100%;
}

.rf-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseRing 1.8s infinite;
}

.rf-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 66px);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.rf-text-grad {
  background: linear-gradient(95deg, #29a3ff 0%, #00e5ff 45%, #00f082 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 5s ease infinite;
}

.rf-hero__desc {
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 540px;
}

.rf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.rf-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 500px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rf-metric__val {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  color: #ffffff;
}

.rf-metric__lbl {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* 3D Interactive Spotlight Card (Right Hero Column) */
.rf-spotlight-wrap {
  perspective: 1100px;
}

.rf-spotlight {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--brand-grad);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 46px rgba(0, 149, 255, 0.22);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, box-shadow 0.3s ease;
  animation: floatSlow 6s ease-in-out infinite;
}

.rf-spotlight:hover {
  animation-play-state: paused;
}

.rf-spotlight__inner {
  background: linear-gradient(165deg, #0d162c 0%, #070d1d 100%);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 18px;
}

.rf-spotlight__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0c1326;
}

.rf-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rf-spotlight:hover .rf-spotlight__media img {
  transform: scale(1.05);
}

.rf-spotlight__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 230, 118, 0.5);
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rf-spotlight__price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #03111c;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.rf-spotlight__body {
  padding: 16px 6px 6px;
}

.rf-spotlight__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
}

.rf-spotlight__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.rf-mini-prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 7px 5px;
  min-width: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

@media (min-width: 520px) {
  .rf-spotlight__thumbs {
    gap: 10px;
  }
  .rf-mini-prize {
    flex-direction: row;
    text-align: left;
    gap: 8px;
    padding: 7px;
  }
}

.rf-mini-prize:hover {
  border-color: var(--cyan);
  background: rgba(0, 200, 255, 0.1);
  transform: translateY(-2px);
}

.rf-mini-prize img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.rf-mini-prize span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   INFINITE NEON MARQUEE TICKER
   ========================================================================== */
.rf-marquee {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.16), rgba(0, 200, 255, 0.12), rgba(0, 230, 118, 0.16));
  border-top: 1px solid rgba(0, 200, 255, 0.22);
  border-bottom: 1px solid rgba(0, 230, 118, 0.22);
  padding: 13px 0;
  z-index: 3;
}

.rf-marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.rf-marquee:hover .rf-marquee__track {
  animation-play-state: paused;
}

.rf-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2efff;
  white-space: nowrap;
}

.rf-marquee__sep {
  color: var(--emerald);
  font-size: 14px;
}

/* ==========================================================================
   SECTION HEADERS & SHARED CONTAINERS
   ========================================================================== */
.rf-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 76px 20px 10px;
}

.rf-sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 42px;
}

.rf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.28);
  color: var(--cyan);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rf-sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.rf-sec-sub {
  margin: 10px auto 0;
  max-width: 580px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
}

/* Filter Tabs */
.rf-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin-top: 22px;
  background: rgba(15, 24, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.rf-tab {
  border: none;
  background: transparent;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.rf-tab:hover {
  color: #ffffff;
}

.rf-tab.is-active {
  background: var(--brand-grad);
  color: #03111c;
  box-shadow: 0 4px 16px rgba(0, 194, 255, 0.3);
}

/* ==========================================================================
   DINÁMICAS — MODERN BENTO GLASS RAFFLE CARDS
   ========================================================================== */
.rf-raffles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 780px) {
  .rf-raffles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rf-raffle-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.rf-raffle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), 0 0 32px rgba(0, 194, 255, 0.16);
}

.rf-raffle-card--activa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-grad-h);
  z-index: 4;
}

.rf-raffle-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0a1020;
}

.rf-raffle-card__slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf-raffle-card__slide {
  min-width: 100%;
  height: 100%;
}

.rf-raffle-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.rf-raffle-card:hover .rf-raffle-card__slide img {
  transform: scale(1.04);
}

.rf-raffle-card--finalizada .rf-raffle-card__slide img {
  filter: grayscale(0.55) brightness(0.85);
}

.rf-status-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.rf-status-pill--activa {
  background: rgba(4, 18, 28, 0.84);
  color: var(--emerald);
  border: 1px solid rgba(0, 230, 118, 0.45);
}

.rf-status-pill--finalizada {
  background: rgba(35, 10, 18, 0.86);
  color: #ff7b93;
  border: 1px solid rgba(255, 77, 109, 0.45);
}

.rf-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(5, 9, 20, 0.55);
  padding: 5px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.rf-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.22s ease, background 0.22s ease;
}

.rf-slide-dot.is-active {
  width: 22px;
  background: var(--cyan);
}

.rf-raffle-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rf-raffle-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.rf-raffle-card__title a:hover {
  color: var(--cyan);
}

.rf-raffle-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}

.rf-stat-big {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.rf-stat-big--brand {
  color: var(--emerald);
}

.rf-stat-big--cyan {
  color: var(--cyan);
}

.rf-stat-small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}

/* Glowing Shimmer Progress Bar */
.rf-prog {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.rf-prog__fill {
  height: 100%;
  border-radius: 999px;
  min-width: 12px;
  background: linear-gradient(90deg, #0066ff, #00c8ff, #00e676, #00c8ff);
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.55);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.rf-fact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
}

.rf-fact-box__k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.rf-fact-box__v {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.rf-raffle-card__actions {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.rf-raffle-card__actions--single {
  grid-template-columns: 1fr;
}

/* ==========================================================================
   CÓMO PARTICIPAR — CONNECTED GLOWING STEP CARDS
   ========================================================================== */
.rf-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
}

@media (min-width: 640px) {
  .rf-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rf-steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.rf-step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.rf-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-grad-h);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.rf-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35), 0 0 26px rgba(0, 194, 255, 0.14);
}

.rf-step-card:hover::before {
  opacity: 1;
}

.rf-step-orb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.28), rgba(0, 230, 118, 0.24));
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0, 149, 255, 0.18);
}

.rf-step-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rf-step-opt {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.3);
  text-transform: uppercase;
}

.rf-step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
}

/* ==========================================================================
   GANADORES — EDITORIAL GLASS SPOTLIGHT CARDS
   ========================================================================== */
.rf-winners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 1024px) {
  .rf-winners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.rf-winner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.rf-winner-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 230, 118, 0.5);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 230, 118, 0.16);
}

.rf-winner-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d1426;
}

.rf-winner-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.rf-winner-card:hover .rf-winner-card__photo img {
  transform: scale(1.06);
}

.rf-winner-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 9, 20, 0.94) 100%);
}

.rf-winner-verified {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 230, 118, 0.48);
  color: var(--emerald);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rf-winner-card__info {
  position: relative;
  padding: 16px;
}

.rf-winner-card__prize {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.rf-winner-card__person {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}

.rf-winner-card__raffle {
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 3px;
}

/* ==========================================================================
   TICKET SEARCH CONSOLE (DARK GLASS)
   ========================================================================== */
.rf-search-wrap {
  max-width: 820px;
  margin: 76px auto 86px;
  padding: 0 20px;
}

.rf-search-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.55), rgba(0, 200, 255, 0.35), rgba(0, 230, 118, 0.55));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.rf-search-card__inner {
  background: linear-gradient(165deg, #0d162c 0%, #080f20 100%);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 36px 28px;
}

@media (min-width: 640px) {
  .rf-search-card__inner {
    padding: 42px 40px;
  }
}

.rf-search-card__title {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 32px);
  font-weight: 900;
  color: #ffffff;
}

.rf-search-card__sub {
  margin: 0 auto 26px;
  max-width: 540px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-mute);
}

.rf-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.rf-select,
.rf-input {
  width: 100%;
  background: rgba(5, 9, 20, 0.85);
  border: 1.5px solid rgba(0, 200, 255, 0.28);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rf-select option {
  background: #0b1224;
  color: #ffffff;
}

.rf-select:focus,
.rf-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.18);
}

.rf-input::placeholder {
  color: #647996;
}

.rf-search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .rf-search-row {
    grid-template-columns: 1.4fr 1fr;
  }
}

.rf-results {
  margin-top: 22px;
}

.rf-empty {
  border: 1.5px dashed rgba(0, 200, 255, 0.28);
  background: rgba(0, 194, 255, 0.05);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

.rf-empty__title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
}

.rf-empty__sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-mute);
}

.rf-found {
  border: 1px solid rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.rf-found__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 230, 118, 0.3);
}

.rf-found__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  color: #ffffff;
}

.rf-found__badge {
  background: var(--brand-grad);
  color: #03111c;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}

.rf-ticket-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rf-ticket-chip {
  background: rgba(5, 9, 20, 0.85);
  border: 1px solid rgba(0, 200, 255, 0.4);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   QUICK-BUY <dialog> MODAL (DARK GLASS + SPRING ANIMATION)
   ========================================================================== */
dialog.rf-dlg {
  padding: 0;
  border: 1px solid rgba(0, 200, 255, 0.32);
  border-radius: var(--radius-xl);
  width: min(94vw, 860px);
  max-height: 92vh;
  background: #0b1224;
  color: #ffffff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), 0 0 50px rgba(0, 102, 255, 0.22);
  overflow: hidden;
}

dialog.rf-dlg[open] {
  animation: modalSpring 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

dialog.rf-dlg::backdrop {
  background: rgba(2, 5, 14, 0.78);
  backdrop-filter: blur(6px);
}

.rf-dlg__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 92vh;
  overflow-y: auto;
}

@media (min-width: 780px) {
  .rf-dlg__grid {
    grid-template-columns: 1fr 1.08fr;
  }
}

.rf-dlg__left {
  padding: 24px;
  background: linear-gradient(180deg, #0e1830 0%, #091022 100%);
}

@media (min-width: 780px) {
  .rf-dlg__left {
    border-right: 1px solid rgba(0, 200, 255, 0.16);
  }
}

.rf-dlg__right {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.rf-dlg__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rf-dlg__close:hover {
  background: rgba(255, 77, 109, 0.28);
  transform: rotate(90deg);
}

.rf-dlg__photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rf-dlg__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
}

.rf-dlg__date {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 12px;
}

.rf-dlg__blessed {
  margin-top: 16px;
  background: rgba(5, 9, 20, 0.78);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.rf-dlg__blessed-h {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--emerald);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.rf-dlg__blessed-p {
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.45;
  margin: 0 0 12px;
}

.rf-dlg__blessed-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.rf-dlg__bnum {
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 2px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.rf-dlg__bnum small {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.03em;
}

.rf-dlg__bnum.is-locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(0, 200, 255, 0.25);
  color: var(--text-mute);
}

.rf-dlg__bnum.is-locked small {
  color: var(--cyan);
}

.rf-dlg__q {
  margin: 40px 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.rf-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rf-pack {
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  transition: all 0.2s ease;
}

.rf-pack:hover {
  border-color: var(--cyan);
  background: rgba(0, 200, 255, 0.08);
  transform: translateY(-2px);
}

.rf-pack.is-selected {
  border-color: var(--emerald);
  background: linear-gradient(155deg, rgba(0, 102, 255, 0.2), rgba(0, 230, 118, 0.18));
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.18);
}

.rf-pack__qty {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--cyan);
}

.rf-pack__qty span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  margin-left: 3px;
}

.rf-pack__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 3px;
}

.rf-pack__bonus {
  display: inline-block;
  margin-top: 6px;
  background: var(--brand-grad);
  color: #03111c;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Custom Quantity Stepper */
.rf-custom {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
}

.rf-custom__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rf-custom__lbl {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
}

.rf-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(5, 9, 20, 0.9);
  border: 1px solid rgba(0, 200, 255, 0.32);
  border-radius: 10px;
  overflow: hidden;
}

.rf-stepper button {
  width: 36px;
  height: 36px;
  background: rgba(0, 200, 255, 0.12);
  color: #ffffff;
  border: none;
  font-size: 18px;
  font-weight: 800;
  transition: background 0.16s ease;
}

.rf-stepper button:hover:not(:disabled) {
  background: var(--brand-grad);
  color: #03111c;
}

.rf-stepper input {
  width: 72px;
  height: 36px;
  background: transparent;
  border: none;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  outline: none;
  -moz-appearance: textfield;
}

.rf-stepper input::-webkit-outer-spin-button,
.rf-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rf-custom__min {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 6px;
}

.rf-dlg__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rf-dlg__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  margin: 10px 0 0;
}

/* ==========================================================================
   RAFFLE DETAIL PAGE (dinamica.html) — LUXURY SHOWCASE
   ========================================================================== */
.rf-detail-wrap {
  max-width: 1180px;
  margin: 32px auto 76px;
  padding: 0 20px;
}

.rf-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 22px;
  transition: transform 0.2s ease;
}

.rf-back-link:hover {
  transform: translateX(-4px);
  color: var(--emerald);
}

.rf-detail-hero {
  text-align: center;
  margin-bottom: 34px;
}

.rf-detail-hero h1 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rf-finished-banner {
  max-width: 720px;
  margin: 16px auto 0;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.45);
  border-radius: 14px;
  padding: 14px 20px;
  color: #ff8aa0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
}

/* Dual Holographic Prize Cards */
.rf-prizes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto 42px;
}

@media (min-width: 768px) {
  .rf-prizes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rf-prize-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.65), rgba(0, 200, 255, 0.25));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}

.rf-prize-card--second {
  background: linear-gradient(145deg, rgba(0, 230, 118, 0.65), rgba(0, 200, 255, 0.25));
}

.rf-prize-card:hover {
  transform: translateY(-5px);
}

.rf-prize-card__in {
  background: #0b1224;
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
}

.rf-prize-card__head {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 102, 255, 0.1);
}

.rf-prize-card--second .rf-prize-card__head {
  color: var(--emerald);
  background: rgba(0, 230, 118, 0.08);
}

.rf-prize-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1426;
}

.rf-prize-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.rf-prize-card:hover .rf-prize-card__img img {
  transform: scale(1.05);
}

.rf-prize-card__foot {
  padding: 16px 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

/* 10-Segment Rifan2 Neon Energy Progress Bar (Replaces Clovers!) */
.rf-energy-box {
  max-width: 780px;
  margin: 0 auto 48px;
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-align: center;
}

.rf-energy-box__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.rf-energy-box__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.rf-energy-box__price {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
}

.rf-energy-cells {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.rf-energy-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rf-energy-cell {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.rf-energy-cell.is-reached {
  border-color: rgba(0, 230, 118, 0.55);
}

.rf-energy-cell__fill {
  height: 100%;
  background: var(--brand-grad-h);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.65);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf-energy-step-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--text-mute);
}

.rf-energy-step-lbl.is-reached {
  color: var(--emerald);
}

.rf-energy-pct {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
}

/* Blessed Numbers Holographic Vault */
.rf-vault {
  max-width: 960px;
  margin: 0 auto 56px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--brand-grad);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45), 0 0 36px rgba(0, 194, 255, 0.16);
}

.rf-vault__inner {
  background: linear-gradient(170deg, #0d162c 0%, #070d1d 100%);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 34px 24px 28px;
  text-align: center;
}

.rf-vault__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 840px;
  margin: 22px auto;
}

@media (min-width: 640px) {
  .rf-vault__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

.rf-vault__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.rf-vault-tile {
  position: relative;
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.22), rgba(0, 230, 118, 0.18));
  border: 1.5px solid rgba(0, 230, 118, 0.55);
  border-radius: 16px;
  padding: 15px 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 230, 118, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rf-vault-tile__pct {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.18);
  color: var(--emerald);
}

.rf-vault-tile__num {
  font-family: var(--font-mono);
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.rf-vault-tile.is-locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(0, 200, 255, 0.28);
  box-shadow: none;
}

.rf-vault-tile.is-locked .rf-vault-tile__pct {
  background: rgba(0, 200, 255, 0.12);
  color: var(--cyan);
}

.rf-vault-tile.is-locked .rf-vault-tile__num {
  color: var(--text-mute);
  font-size: 18px;
  letter-spacing: 0.14em;
}

.rf-vault-tile:hover:not(.is-claimed):not(.is-locked) {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--emerald);
  box-shadow: 0 12px 28px rgba(0, 230, 118, 0.28);
}

.rf-vault-tile.is-claimed {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 109, 0.35);
  color: #6b7a94;
  text-decoration: line-through;
}

.rf-vault-tile.is-claimed::after {
  content: "YA SALIÓ";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(180, 20, 50, 0.84);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(-7deg);
}

.rf-vault__note {
  background: rgba(0, 200, 255, 0.07);
  border: 1px dashed rgba(0, 200, 255, 0.3);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-soft);
}

/* 4-Column Symmetrical Packages Row */
.rf-pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .rf-pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rf-pkg-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rf-pkg-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.rf-pkg-card:hover {
  transform: translateY(-7px);
  border-color: var(--cyan);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42), 0 0 26px rgba(0, 194, 255, 0.16);
}

.rf-pkg-card--featured {
  background: linear-gradient(165deg, rgba(0, 102, 255, 0.22) 0%, rgba(11, 18, 36, 0.96) 55%, rgba(0, 230, 118, 0.16) 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.55);
  box-shadow: 0 18px 44px rgba(0, 194, 255, 0.18);
}

.rf-pkg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #03111c;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.rf-pkg-qty {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
}

.rf-pkg-word {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 6px;
}

.rf-pkg-sub {
  font-size: 12.5px;
  color: var(--text-mute);
  min-height: 20px;
  margin: 8px 0 18px;
}

.rf-pkg-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--emerald);
  margin-bottom: 4px;
}

.rf-pkg-curr {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Custom Quantity Card */
.rf-detail-custom {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

/* ==========================================================================
   CHECKOUT PAGE (DARK FINTECH FLOW)
   ========================================================================== */
.rf-checkout-wrap {
  max-width: 1080px;
  margin: 34px auto 78px;
  padding: 0 20px;
}

.rf-steps-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 30px;
}

.rf-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
}

.rf-step-pill span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #03111c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.rf-chk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 840px) {
  .rf-chk-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.rf-glass-panel {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.rf-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  padding-bottom: 14px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-field {
  margin-bottom: 15px;
}

.rf-phone-group {
  display: flex;
  align-items: stretch;
  background: rgba(5, 9, 20, 0.85);
  border: 1.5px solid rgba(0, 200, 255, 0.28);
  border-radius: 14px;
  overflow: hidden;
}

.rf-phone-group:focus-within {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.18);
}

.rf-phone-prefix {
  padding: 14px 14px;
  background: rgba(0, 200, 255, 0.1);
  color: var(--cyan);
  font-weight: 800;
  font-size: 14px;
  border-right: 1px solid rgba(0, 200, 255, 0.2);
}

.rf-phone-group input {
  border: none;
  border-radius: 0;
  box-shadow: none !important;
}

.rf-total-banner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.16), rgba(0, 230, 118, 0.14));
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  margin-top: 18px;
}

/* Interactive Bank Selector Pills */
.rf-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0 20px;
}

@media (min-width: 640px) {
  .rf-bank-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.rf-bank-pill {
  padding: 13px 10px;
  border-radius: 14px;
  background: rgba(5, 9, 20, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: all 0.2s ease;
}

.rf-bank-pill:hover {
  border-color: var(--cyan);
  color: #ffffff;
}

.rf-bank-pill.is-selected {
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.28), rgba(0, 230, 118, 0.22));
  border-color: var(--emerald);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 230, 118, 0.18);
}

.rf-bank-details {
  background: rgba(5, 9, 20, 0.85);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 22px;
}

.rf-bank-num {
  display: inline-block;
  margin: 4px 0 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 200, 255, 0.12);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rf-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border: 2px dashed rgba(0, 200, 255, 0.35);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: rgba(5, 9, 20, 0.6);
  transition: all 0.22s ease;
}

.rf-upload:hover {
  border-color: var(--emerald);
  background: rgba(0, 230, 118, 0.06);
}

.rf-upload__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 200, 255, 0.14);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.rf-upload__preview {
  max-height: 170px;
  border-radius: 12px;
  margin-top: 12px;
  border: 1px solid rgba(0, 230, 118, 0.45);
}

.rf-warn {
  color: #ff7b93;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  margin: 18px 0 8px;
}

/* ==========================================================================
   TERMS PAGE
   ========================================================================== */
.rf-terms-wrap {
  max-width: 860px;
  margin: 44px auto 78px;
  padding: 0 20px;
}

.rf-terms-card {
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
}

.rf-terms-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  text-align: center;
}

.rf-terms-card h2 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--cyan);
  margin: 24px 0 6px;
}

.rf-terms-card p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rf-footer {
  position: relative;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.92) 0%, #03060f 100%);
  border-top: 1px solid rgba(0, 200, 255, 0.16);
  overflow: hidden;
  z-index: 2;
}

.rf-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--brand-grad-h);
  opacity: 0.7;
}

.rf-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .rf-footer__inner {
    flex-direction: row;
  }
}

.rf-footer__logo img {
  height: 92px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 200, 255, 0.25));
}

.rf-footer__info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rf-footer__info li,
.rf-footer__info a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.18s ease;
}

.rf-footer__info svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.rf-footer__info a:hover {
  color: var(--emerald);
}

.rf-footer__copy {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 15px 20px;
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 768px) {
  .rf-footer__copy {
    padding-right: 76px;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP & TOAST & CONFETTI
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e676, #1fb854);
  color: #03111c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 230, 118, 0.42);
  z-index: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wa-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 14px 36px rgba(0, 230, 118, 0.6);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.rf-toast {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: rgba(11, 18, 36, 0.96);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 118, 0.45);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  z-index: 1200;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.rf-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.rf-confetti-piece {
  position: fixed;
  top: -12px;
  width: 9px;
  height: 15px;
  border-radius: 2px;
  z-index: 1500;
  pointer-events: none;
  animation: confettiFall 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(680deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   LIVE PROMO COUNTDOWN BAR, COUPON BOX & PUBLIC TOP BUYERS
   ========================================================================== */
.rf-promo-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.22), rgba(0, 200, 255, 0.16), rgba(0, 230, 118, 0.22));
  border-top: 1px solid rgba(0, 200, 255, 0.22);
  border-bottom: 1px solid rgba(0, 230, 118, 0.28);
  padding: 10px 0;
}

.rf-promo-bar__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.rf-promo-bar:hover .rf-promo-bar__track {
  animation-play-state: paused;
}

.rf-promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e8f4ff;
  white-space: nowrap;
}

.rf-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.82);
  border: 1px solid rgba(0, 230, 118, 0.5);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rf-coupon-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: left;
}

.rf-coupon-row {
  display: flex;
  gap: 8px;
}

.rf-coupon-msg {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 7px;
}

.rf-top-buyers {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rf-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rf-top-row:hover {
  transform: translateX(4px);
  border-color: var(--emerald);
}

.rf-top-row--1 {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.22), rgba(0, 230, 118, 0.18));
  border-color: rgba(0, 230, 118, 0.55);
}

.rf-top-rank {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.rf-top-tickets {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  white-space: nowrap;
}

/* ==========================================================================
   SOCIAL PROOF TOAST, FAQ ACCORDION, SHARE BAR & VAULT-STYLE TICKETS
   ========================================================================== */
.rf-social-toast {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 860;
  max-width: min(340px, calc(100vw - 100px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(11, 18, 36, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 230, 118, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 194, 255, 0.16);
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf-social-toast.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.rf-social-toast__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.28), rgba(0, 230, 118, 0.25));
  border: 1px solid rgba(0, 200, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.rf-social-toast__txt {
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--text-soft);
}

.rf-social-toast__txt strong {
  color: #ffffff;
}

.rf-social-toast__meta {
  font-size: 11px;
  color: var(--emerald);
  font-weight: 700;
  margin-top: 2px;
}

.rf-social-toast__close {
  background: transparent;
  border: none;
  color: var(--text-mute);
  font-size: 16px;
  padding: 2px 4px;
  align-self: flex-start;
}

.rf-social-toast__close:hover {
  color: #ffffff;
}

/* FAQ Accordion */
.rf-faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rf-faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.16);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.rf-faq-item[open] {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32), 0 0 22px rgba(0, 230, 118, 0.1);
}

.rf-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  user-select: none;
}

.rf-faq-item summary::-webkit-details-marker {
  display: none;
}

.rf-faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.rf-faq-item[open] .rf-faq-plus {
  transform: rotate(45deg);
  background: var(--brand-grad);
  color: #03111c;
  border-color: transparent;
}

.rf-faq-body {
  padding: 0 22px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Share Bar */
.rf-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rf-share-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 200, 255, 0.22);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.rf-share-btn:hover {
  border-color: var(--emerald);
  color: #ffffff;
  background: rgba(0, 230, 118, 0.12);
}

/* Sent Tickets Grid Styled Like Blessed Numbers Vault */
.rf-sent-vault {
  border-radius: 22px;
  padding: 2px;
  background: var(--brand-grad);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 28px rgba(0, 230, 118, 0.14);
  margin-bottom: 16px;
}

.rf-sent-vault__in {
  background: linear-gradient(170deg, #0d162c 0%, #070d1d 100%);
  border-radius: 20px;
  padding: 22px 20px;
  text-align: center;
}

.rf-sent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 560px) {
  .rf-sent-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 780px) {
  .rf-sent-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Pending & Rejected Order Vault States (Hides Tickets Until Admin Approval) */
.rf-sent-vault--pending {
  background: linear-gradient(135deg, #ffb703, #00c8ff, #0066ff);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 183, 3, 0.16);
}

.rf-sent-vault--rejected {
  background: linear-gradient(135deg, #ff4d6d, #ff758f, #800f2f);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 77, 109, 0.16);
}

.rf-found__badge--amber {
  background: rgba(255, 183, 3, 0.16) !important;
  border-color: rgba(255, 183, 3, 0.45) !important;
  color: #ffd166 !important;
}

.rf-found__badge--danger {
  background: rgba(255, 77, 109, 0.16) !important;
  border-color: rgba(255, 77, 109, 0.45) !important;
  color: #ff8fa3 !important;
}

.rf-locked-notice {
  background: rgba(255, 183, 3, 0.07);
  border: 1px dashed rgba(255, 183, 3, 0.42);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
}

.rf-locked-notice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.rf-locked-notice p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

.rf-locked-notice--danger {
  background: rgba(255, 77, 109, 0.07);
  border-color: rgba(255, 77, 109, 0.42);
}

/* ==========================================================================
   GOLDEN BLESSED TICKET WINNER HIGHLIGHT (DISTINCT COLOR FOR WINNING BUYER)
   ========================================================================== */
.rf-sent-vault--blessed {
  background: linear-gradient(135deg, #ffb703, #ffe066, #ff8800, #ffd166);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 36px rgba(255, 183, 3, 0.34);
}

.rf-found__badge--gold {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.32), rgba(255, 136, 0, 0.28)) !important;
  border-color: #ffd166 !important;
  color: #fff3b0 !important;
  box-shadow: 0 0 18px rgba(255, 183, 3, 0.35);
}

.rf-blessed-hit-banner {
  margin: 14px 0 6px;
  padding: 15px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.22), rgba(255, 123, 0, 0.16));
  border: 1.5px solid #ffd166;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  box-shadow: 0 0 28px rgba(255, 183, 3, 0.22);
}

.rf-blessed-hit-banner__ico {
  font-size: 30px;
  line-height: 1;
}

.rf-blessed-hit-banner__txt {
  flex: 1;
  min-width: 200px;
}

.rf-blessed-hit-banner__txt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 900;
  color: #fff3b0;
  margin-bottom: 3px;
}

.rf-blessed-hit-banner__txt span {
  display: block;
  font-size: 13px;
  color: #ffe8a3;
  line-height: 1.45;
}

.rf-btn--gold {
  background: linear-gradient(135deg, #ffd166, #ff9f1c) !important;
  color: #1f1200 !important;
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.42) !important;
}

.rf-vault-tile--blessed {
  background: linear-gradient(145deg, rgba(255, 196, 0, 0.38), rgba(255, 115, 0, 0.28)) !important;
  border: 2px solid #ffd166 !important;
  box-shadow: 0 0 24px rgba(255, 196, 0, 0.48), inset 0 0 18px rgba(255, 224, 102, 0.24) !important;
  transform: translateY(-2px);
  animation: rfBlessedGlow 2s ease-in-out infinite;
}

.rf-vault-tile--blessed .rf-vault-tile__pct {
  background: linear-gradient(135deg, #ffd166, #ff9f1c) !important;
  color: #1f1200 !important;
  font-weight: 900 !important;
}

.rf-vault-tile--blessed .rf-vault-tile__num {
  color: #fff7d6 !important;
  text-shadow: 0 0 14px rgba(255, 209, 102, 0.85);
}

@keyframes rfBlessedGlow {
  0%, 100% {
    box-shadow: 0 0 18px rgba(255, 196, 0, 0.45), inset 0 0 14px rgba(255, 224, 102, 0.2);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 196, 0, 0.8), inset 0 0 22px rgba(255, 224, 102, 0.36);
  }
}

/* Click-to-Copy Bank Account Strip on Checkout */
.rf-bank-copy-strip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px auto 10px;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(0, 200, 255, 0.08);
  border: 1.5px dashed rgba(0, 230, 118, 0.48);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
}

.rf-bank-copy-strip:hover {
  background: rgba(0, 230, 118, 0.14);
  border-color: var(--emerald);
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.24);
  transform: translateY(-1px);
}

.rf-bank-copy-strip .rf-bank-num {
  margin: 0 !important;
  word-break: break-all;
}

.rf-bank-copy-pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(0, 230, 118, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
}

.rf-btn.is-copied {
  background: linear-gradient(135deg, #00e676, #00c853) !important;
  color: #03190c !important;
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.55) !important;
}
