/* ═══════════════════════════════════════════════════════════════════════
   Gudfy Landing — styles.css v3
   Dark theme • Purple #9B48ED • Teal #27E19D • Poppins
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Reset & base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #1F0046;
  --bg-card:     #2B0060;
  --bg-card-2:   #350078;
  --border:      #3F1C7A;
  --border-mid:  #5A2CA0;
  --accent:      #9B48ED;
  --accent-dim:  rgba(155,72,237,0.12);
  --accent-glow: rgba(155,72,237,0.25);
  --blue:        #27E19D;
  --blue-dim:    rgba(39,225,157,0.12);
  --text-1:      #f0f0f8;
  --text-2:      #c8b8e8;
  --text-3:      #9878c0;
  --error:       #ff4d6d;
  --error-dim:   rgba(255,77,109,0.1);

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  --t-fast:   150ms ease;
  --t-normal: 250ms ease;
}


html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg { display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }
strong { font-weight: 600; }

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes ticker-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--r-md);
  padding: 0.65rem 1.35rem;
  transition: background var(--t-normal), color var(--t-normal), box-shadow var(--t-normal), transform var(--t-fast);
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover {
  background: #b060ff;
  color: #ffffff;
  box-shadow: 0 0 28px var(--accent-glow), 0 4px 16px rgba(155,72,237,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-mid);
}
.btn--ghost:hover { color: var(--text-1); border-color: var(--text-3); background: rgba(255,255,255,0.04); }

/* Chip de usuario autenticado en navbar */
.nav-user-chip { border-color: var(--accent); color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-user-chip::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.nav-user-chip:hover { background: rgba(0, 255, 136, 0.08) !important; border-color: var(--accent) !important; color: var(--accent) !important; }

.btn--sm  { font-size: 0.82rem; padding: 0.45rem 1rem; }
.btn--lg  { font-size: 1rem; padding: 0.875rem 1.875rem; }
.btn--full { width: 100%; }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.btn.loading .btn-text { opacity: 0.6; }
.btn.loading .btn-spinner { display: block; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(31,0,70,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-1);
}

.navbar__links {
  display: none;
  gap: 0.25rem;
}
@media (min-width: 640px) { .navbar__links { display: flex; } }

.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.navbar__link:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.navbar__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; color: var(--text-1); }

.navbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


/* ─── Section base ───────────────────────────────────────────────────────── */
.section { padding-block: 5rem; }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.18);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
  margin-inline: auto;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 20%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155,72,237,0.12) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(39,225,157,0.07) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  animation-delay: 2s;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero__content { max-width: 580px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
}
.stat__label { font-size: 0.75rem; color: var(--text-3); margin-top: 0.2rem; }
.stat__divider { width: 1px; height: 36px; background: var(--border-mid); }

/* ─── Hero Visual — plataformas flotando ─────────────────────────────────── */
.hero__visual {
  display: none;
}
@media (min-width: 900px) {
  .hero__visual { display: flex; align-items: center; justify-content: center; }
}

.platforms-float {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.pf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 1.25rem 1rem;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
  cursor: default;
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.pf-card svg { width: 58px; height: 58px; border-radius: 10px; }
.pf-card span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* Animaciones flotantes escalonadas */
.pf-card:nth-child(1) { animation: float-a 4s ease-in-out infinite; }
.pf-card:nth-child(2) { animation: float-b 4.5s ease-in-out infinite 0.3s; }
.pf-card:nth-child(3) { animation: float-c 3.8s ease-in-out infinite 0.6s; }
.pf-card:nth-child(4) { animation: float-b 5s ease-in-out infinite 0.9s; }
.pf-card:nth-child(5) { animation: float-a 4.2s ease-in-out infinite 1.2s; }
.pf-card:nth-child(6) { animation: float-c 4.8s ease-in-out infinite 0.4s; }
.pf-card:nth-child(7) { animation: float-a 3.9s ease-in-out infinite 0.7s; }
.pf-card:nth-child(8) { animation: float-b 4.3s ease-in-out infinite 1s; }
.pf-card:nth-child(9) { animation: float-c 5.1s ease-in-out infinite 0.2s; }

/* Hover colors */
.pf-netflix:hover    { border-color: #E50914; box-shadow: 0 16px 40px rgba(229,9,20,0.2); }
.pf-disney:hover     { border-color: #4B6BF5; box-shadow: 0 16px 40px rgba(75,107,245,0.2); }
.pf-max:hover        { border-color: #6B21A8; box-shadow: 0 16px 40px rgba(107,33,168,0.2); }
.pf-spotify:hover    { border-color: #1DB954; box-shadow: 0 16px 40px rgba(29,185,84,0.2); }
.pf-freefire:hover   { border-color: #FF6B00; box-shadow: 0 16px 40px rgba(255,107,0,0.2); }
.pf-roblox:hover     { border-color: #E2231A; box-shadow: 0 16px 40px rgba(226,35,26,0.2); }
.pf-xbox:hover       { border-color: #107C10; box-shadow: 0 16px 40px rgba(16,124,16,0.2); }
.pf-playstation:hover{ border-color: #003087; box-shadow: 0 16px 40px rgba(0,48,135,0.25); }
.pf-itunes:hover     { border-color: #FC3C44; box-shadow: 0 16px 40px rgba(252,60,68,0.2); }

/* ─── Ticker ─────────────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding-block: 0.85rem;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-move 22s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-inline: 2rem;
}

.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ─── Crypto Strip ───────────────────────────────────────────────────────── */
.crypto-strip {
  padding-block: 1.6rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.crypto-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.crypto-strip__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.crypto-strip__logos {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.crypto-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.crypto-logo:hover { opacity: 1; }

.crypto-logo img {
  width: 28px;
  height: 28px;
  display: block;
}

.crypto-logo__name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.steps-section { background: var(--bg); }

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  width: 100%;
  max-width: 320px;
  position: relative;
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
}
.step:hover {
  border-color: var(--border-mid);
  box-shadow: 0 0 40px rgba(155,72,237,0.1);
}

.step__number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--text-3);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.step__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.18);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 1rem;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.step__desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

.step__connector { color: var(--border-mid); transform: rotate(90deg); }

@media (min-width: 860px) {
  .steps {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
  }
  .step { flex: 1; max-width: 300px; }
  .step__connector { transform: none; align-self: center; flex-shrink: 0; margin-inline: 0.5rem; }
}

/* ─── Platforms section ──────────────────────────────────────────────────── */
.platforms-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}

.platform-category {
  margin-bottom: 3rem;
}
.platform-category:last-child { margin-bottom: 0; }

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

.platform-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .platform-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .platform-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .platform-row { grid-template-columns: repeat(4, 1fr); }
}

/* Brand card */
.brand-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
  overflow: hidden;
  position: relative;
}
.brand-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--t-normal);
}
.brand-card:hover { transform: translateY(-3px); }
.brand-card:hover::before { opacity: 1; }

.brand-card__logo {
  flex-shrink: 0;
  height: 36px;
  display: flex;
  align-items: center;
}
.brand-card__logo svg,
.brand-card__logo img { height: 36px; width: auto; max-width: 120px; }

.brand-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.brand-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
}
.brand-card__tag {
  font-size: 0.72rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-card__badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Left border colors per brand */
.brand-netflix::before   { background: #E50914; }
.brand-disney::before    { background: #4B6BF5; }
.brand-max::before       { background: #6B21A8; }
.brand-spotify::before   { background: #1DB954; }
.brand-itunes::before    { background: #FC3C44; }
.brand-freefire::before  { background: #FF6B00; }
.brand-roblox::before    { background: #E2231A; }
.brand-xbox::before      { background: #107C10; }
.brand-playstation::before { background: #003087; }

.brand-netflix:hover    { border-color: #E50914; box-shadow: 0 8px 32px rgba(229,9,20,0.15); }
.brand-disney:hover     { border-color: #4B6BF5; box-shadow: 0 8px 32px rgba(75,107,245,0.15); }
.brand-max:hover        { border-color: #6B21A8; box-shadow: 0 8px 32px rgba(107,33,168,0.15); }
.brand-spotify:hover    { border-color: #1DB954; box-shadow: 0 8px 32px rgba(29,185,84,0.15); }
.brand-itunes:hover     { border-color: #FC3C44; box-shadow: 0 8px 32px rgba(252,60,68,0.15); }
.brand-freefire:hover   { border-color: #FF6B00; box-shadow: 0 8px 32px rgba(255,107,0,0.15); }
.brand-roblox:hover     { border-color: #E2231A; box-shadow: 0 8px 32px rgba(226,35,26,0.15); }
.brand-xbox:hover       { border-color: #107C10; box-shadow: 0 8px 32px rgba(16,124,16,0.15); }
.brand-playstation:hover{ border-color: #003087; box-shadow: 0 8px 32px rgba(0,48,135,0.15); }

/* ─── Cashback section ───────────────────────────────────────────────────── */
.cashback-section { padding-block: 3.5rem; }

.cashback-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(155,72,237,0.08) 0%, rgba(39,225,157,0.04) 100%);
  border: 1px solid rgba(155,72,237,0.2);
  border-radius: var(--r-2xl);
  padding: 3rem 2.5rem;
  overflow: hidden;
}

.cashback-banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cashback-banner__glow { width: 320px; height: 320px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); top: -80px; left: -60px; }
.cashback-banner__glow--2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(39,225,157,0.07) 0%, transparent 70%); bottom: -60px; right: -40px; }

.cashback-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 700px) {
  .cashback-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cashback-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cashback-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.cashback-badge__pct {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 50px var(--accent-glow);
  letter-spacing: -0.04em;
}
.cashback-badge__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-top: 0.1rem;
}

.cashback-banner__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}
.cashback-banner__text p { color: var(--text-2); font-size: 0.95rem; max-width: 440px; }

.cashback-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cashback-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-2);
}
.cashback-feat svg { color: var(--accent); flex-shrink: 0; }

/* ─── Register section ───────────────────────────────────────────────────── */
.register-section { background: var(--bg); }

.register-section__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .register-section__inner { flex-direction: row; align-items: flex-start; }
  .form-card { position: sticky; top: 80px; }
}

.register-section__info { flex: 1; }

.register-section__info .section__title { text-align: left; margin-bottom: 1rem; }
.register-section__info p { color: var(--text-2); margin-bottom: 1.5rem; }

.register-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2rem;
}
.register-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.92rem;
}

.perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk-icon--green { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,255,136,0.2); }

.info-platforms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.info-plat {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  color: white;
  flex-shrink: 0;
}

/* ─── Form card ──────────────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
@media (min-width: 900px) { .form-card { width: 480px; } }

.form-card__header { margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.form-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.3rem;
}
.form-card__subtitle { font-size: 0.85rem; color: var(--text-3); }

/* ─── Form elements ──────────────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}
.required { color: var(--accent); }

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-input.invalid { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-dim); }


.field-hint { display: block; font-size: 0.75rem; color: var(--text-3); margin-top: 0.25rem; }
.field-error { display: block; font-size: 0.78rem; color: var(--error); margin-top: 0.4rem; min-height: 1.1em; }

.form-error-global {
  background: var(--error-dim);
  border: 1px solid rgba(255,77,109,0.25);
  border-radius: var(--r-md);
  color: var(--error);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: none;
}
.form-error-global.visible { display: block; }

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.75rem;
}

/* ─── Checkboxes ─────────────────────────────────────────────────────────── */
.checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-2);
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
  user-select: none;
}
.checkbox-label:hover { background: rgba(255,255,255,0.03); border-color: var(--border-mid); }

.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

.checkbox-custom {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
  position: relative;
}
.checkbox-custom::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #08080d;
  border-bottom: 2px solid #08080d;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom { background: var(--accent); border-color: var(--accent); }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { opacity: 1; }
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── Success card ───────────────────────────────────────────────────────── */
.success-card {
  background: var(--bg-card);
  border: 1px solid rgba(155,72,237,0.25);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.success-card[hidden] { display: none; }
.success-card__icon { color: var(--accent); margin: 0 auto 1.5rem; animation: float-c 3s ease infinite; }
.success-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.75rem; }
.success-card p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 0.75rem; }
.success-card__sub { font-size: 0.85rem; color: var(--text-3); margin-bottom: 1.5rem; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .footer__inner { flex-direction: row; justify-content: space-between; } }

.footer__brand p { font-size: 0.85rem; color: var(--text-3); margin-top: 0.75rem; max-width: 280px; }

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 0.25rem; }

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--accent); }
.footer__link:focus-visible { color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }

.footer__bottom { border-top: 1px solid var(--border); padding-block: 1.25rem; }
.footer__bottom p { font-size: 0.8rem; color: var(--text-3); text-align: center; }


/* ─── Country picker ─────────────────────────────────────────────────────── */
.country-picker { position: relative; }

.country-trigger {
  width: 100%;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  cursor: pointer; text-align: left;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 44px;
}
.country-trigger:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.country-trigger[data-empty="true"] #country-name-display { color: var(--text-3); }
.country-trigger .picker-arrow { margin-left: auto; color: var(--text-3); flex-shrink: 0; transition: transform var(--t-fast); }
.country-trigger[aria-expanded="true"] .picker-arrow { transform: rotate(180deg); }
.country-picker.invalid .country-trigger { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-dim); }

.country-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 300;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: fadeInUp 0.15s ease forwards;
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

.country-search-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.country-search-wrap svg { color: var(--text-3); flex-shrink: 0; }
.country-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text-1); font-family: var(--font-body); font-size: 0.88rem;
}
.country-search-input::placeholder { color: var(--text-3); }

.country-list {
  list-style: none;
  max-height: 240px; overflow-y: auto;
  padding: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}
.country-list::-webkit-scrollbar { width: 4px; }
.country-list::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 4px; }

.country-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-sm);
  cursor: pointer; font-size: 0.88rem; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
  user-select: none;
}
.country-item:hover, .country-item.focused { background: var(--border); color: var(--text-1); }
.country-item.selected { background: var(--accent-dim); color: var(--accent); }
.country-item__flag { font-size: 1.15em; line-height: 1; flex-shrink: 0; }
.country-item__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-item__code { font-size: 0.75rem; color: var(--text-3); flex-shrink: 0; font-family: monospace; }
.country-item.selected .country-item__code { color: var(--accent); opacity: 0.8; }
.country-no-results { padding: 1.25rem; text-align: center; color: var(--text-3); font-size: 0.85rem; }

/* ─── Phone prefix input ─────────────────────────────────────────────────── */
.phone-input-wrap {
  display: flex; align-items: stretch;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: var(--bg);
}
.phone-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.phone-input-wrap.invalid { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-dim); }

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrap .form-input {
  width: 100%;
  padding-right: 2.8rem;
}
.password-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: 4px;
  line-height: 0;
  transition: color var(--t-fast);
}
.password-toggle:hover { color: var(--text-1); }

.phone-prefix {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.7rem 0.75rem;
  background: var(--bg-card);
  border-right: 1px solid var(--border-mid);
  font-size: 0.85rem; color: var(--text-2);
  white-space: nowrap; flex-shrink: 0;
  font-family: monospace;
  min-width: 70px;
}
.phone-prefix-flag { font-size: 1.1em; line-height: 1; }
.phone-number-input {
  flex: 1; border: none; border-radius: 0;
  background: transparent;
  padding-left: 0.75rem;
}
.phone-number-input:focus { border-color: transparent; box-shadow: none; }

/* ─── Reduce motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
