/* =========================================
   CRYPTO REWARDS PLATFORM - STYLE SYSTEM
   ========================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #FFFFFF;
  color: #555555;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* === VARIABLES === */
:root {
  --green-primary: #6FBE44;
  --green-dark: #387C2C;
  --green-light: #e8f5e0;
  --green-gradient: linear-gradient(135deg, #6FBE44 0%, #387C2C 100%);
  --green-gradient-soft: linear-gradient(135deg, #7dcf50 0%, #4a9e35 100%);
  --pink-cta: #C73393;
  --pink-hover: #761F5D;
  --text-dark: #333333;
  --text-body: #555555;
  --text-light: #888888;
  --border-light: #DDDDDD;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-section: #F4F9F0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --shadow-green: 0 8px 30px rgba(111,190,68,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  color: #333333;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: #555555;
  line-height: 1.7;
  font-size: 1rem;
}

.text-green { color: var(--green-primary); }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }
.text-white { color: #FFFFFF; }
.text-center { text-align: center; }
.text-bold { font-weight: 700; }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: #333333;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #555555;
  font-size: 1.05rem;
}

.section-badge {
  display: inline-block;
  background-color: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(111,190,68,0.3);
}

/* === GRID SYSTEM === */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--pink-cta);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(199,51,147,0.3);
}

.btn-primary:hover {
  background-color: var(--pink-hover);
  box-shadow: 0 6px 24px rgba(118,31,93,0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-green {
  background: var(--green-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-green);
}

.btn-green:hover {
  background: var(--green-gradient-soft);
  box-shadow: 0 8px 32px rgba(111,190,68,0.4);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}

.btn-outline:hover {
  background: var(--green-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-full { width: 100%; }

/* === CARDS === */
.card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-sm {
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

.card-lg {
  padding: 44px;
  border-radius: var(--radius-xl);
}

/* === ICON CONTAINERS === */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--green-light);
  color: var(--green-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.icon-wrap-lg {
  width: 72px;
  height: 72px;
  font-size: 1.75rem;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.card:hover .icon-wrap {
  background: var(--green-gradient);
  color: #FFFFFF;
}

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-green {
  background-color: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(111,190,68,0.35);
}

.badge-pink {
  background-color: #fce4f3;
  color: var(--pink-cta);
  border: 1px solid rgba(199,51,147,0.2);
}

.badge-white {
  background-color: rgba(255,255,255,0.9);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

/* === DIVIDER === */
.divider {
  width: 64px;
  height: 4px;
  background: var(--green-gradient);
  border-radius: var(--radius-full);
  margin: 16px auto 0;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(111,190,68,0.35);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333333;
  line-height: 1;
}

.logo-text span {
  color: var(--green-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #555555;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-primary);
  background-color: var(--green-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--bg-light); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333333;
  border-radius: 2px;
  transition: all var(--transition);
}

/* === HERO SECTION === */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #f7fff2 0%, #ffffff 60%, #fff8fd 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,190,68,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,51,147,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(111,190,68,0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge::before {
  content: '●';
  color: var(--green-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #333333;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--green-primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

/* Trustpilot Widget */
.trustpilot-widget {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
  max-width: 360px;
}

.tp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #191919;
  letter-spacing: -0.02em;
}

.tp-logo-icon {
  width: 22px;
  height: 22px;
  background: #00B67A;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-logo-icon svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.tp-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

.tp-info { display: flex; flex-direction: column; gap: 2px; }

.tp-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tp-star {
  width: 18px;
  height: 18px;
  background: #00B67A;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}

.tp-star.half {
  background: linear-gradient(90deg, #00B67A 50%, #DCDCE6 50%);
}

.tp-score-line {
  font-size: 0.75rem;
  color: #555555;
  line-height: 1;
}

.tp-score-line strong {
  color: #191919;
  font-weight: 700;
}

/* === HERO ILLUSTRATION === */
.hero-visual {
  position: relative;
  z-index: 1;
}

.dashboard-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dashboard-header {
  background: var(--green-gradient);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header-title {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
}

.dashboard-header-dots {
  display: flex;
  gap: 6px;
}

.dashboard-header-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.dashboard-header-dots span:first-child { background: rgba(255,255,255,0.85); }

.dashboard-body {
  padding: 24px;
}

.wallet-balance {
  text-align: center;
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.wallet-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.wallet-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333333;
  line-height: 1;
}

.wallet-currency {
  font-size: 0.85rem;
  color: var(--green-primary);
  font-weight: 700;
}

.wallet-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--green-primary);
  font-weight: 700;
  margin-top: 6px;
}

.stat-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-mini {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.stat-mini-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333333;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-mini-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
}

.stat-mini-value.green { color: var(--green-primary); }
.stat-mini-value.pink { color: var(--pink-cta); }

.recent-activity {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.activity-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child { border-bottom: none; }

.activity-label {
  font-size: 0.82rem;
  color: #555555;
  font-weight: 600;
}

.activity-amount {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
}

/* Floating Cards */
.floating-cards-wrap {
  position: relative;
  padding: 20px;
}

.float-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

.float-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 20px;
  left: -20px;
  animation-delay: 1.5s;
}

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

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.float-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.float-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
}

/* === STATISTICS COUNTER === */
.stats-counter-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.stats-counter-inner {
  background: var(--green-gradient);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  box-shadow: 0 16px 60px rgba(111,190,68,0.3);
  position: relative;
  overflow: hidden;
}

.stats-counter-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.stats-counter-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.counter-heading {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.odometer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.odometer-symbol {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  display: flex;
  align-items: center;
}

.odometer-digit-wrap {
  overflow: hidden;
  height: clamp(3.2rem, 8vw, 5.8rem);
  display: flex;
  align-items: flex-start;
}

.odometer-digit {
  width: clamp(2rem, 5vw, 3.8rem);
  height: clamp(3.2rem, 8vw, 5.8rem);
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #FFFFFF;
  position: relative;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.odometer-comma {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  line-height: 1;
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  padding: 0 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: background var(--transition), transform var(--transition);
}

.stats-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.stats-card-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1;
}

.stats-card-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* === HOW IT WORKS === */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-primary));
  background-image: repeating-linear-gradient(90deg, var(--green-primary) 0, var(--green-primary) 8px, transparent 8px, transparent 18px);
  opacity: 0.4;
  z-index: 0;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111,190,68,0.3);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--green-gradient);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-green);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.65;
}

/* === REWARDS GRID === */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reward-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.reward-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111,190,68,0.35);
}

.reward-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reward-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.reward-card:hover .reward-icon {
  background: var(--green-gradient);
}

.reward-title {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
}

.reward-time {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.reward-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.reward-amount-currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.reward-progress-bar {
  height: 6px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.reward-progress-fill {
  height: 100%;
  background: var(--green-gradient);
  border-radius: var(--radius-full);
}

/* === WHY CHOOSE US === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111,190,68,0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--green-gradient);
}

.feature-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333333;
}

.feature-body p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  font-size: 1.1rem;
}

.star-filled { color: #F4A426; }

.testimonial-text {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #FFFFFF;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 2px;
}

.testimonial-country {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.testimonial-earned {
  margin-left: auto;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(111,190,68,0.3);
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-item.open {
  border-color: rgba(111,190,68,0.4);
  box-shadow: 0 4px 20px rgba(111,190,68,0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  font-family: Arial, Helvetica, sans-serif;
}

.faq-question:hover { background: var(--bg-light); }
.faq-item.open .faq-question { background: #f7fff2; }

.faq-question-text {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition), background var(--transition);
  font-weight: 700;
}

.faq-item.open .faq-icon {
  background: var(--green-gradient);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: #555555;
  font-size: 0.93rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* === CTA SECTION === */
.cta-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.cta-inner {
  background: var(--green-gradient);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  box-shadow: 0 16px 60px rgba(111,190,68,0.35);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-inner h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: #FFFFFF;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.15);
  color: var(--green-dark);
}

.cta-note {
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.83rem;
  position: relative;
  z-index: 1;
}

/* === FOOTER === */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #555555;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #555555;
  transition: all var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--green-gradient);
  color: #FFFFFF;
  border-color: var(--green-primary);
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: #555555;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--green-primary); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.83rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green-primary); }

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 16px 24px 20px;
  gap: 4px;
}

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

.mobile-nav-link {
  color: #555555;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--green-primary);
  background: var(--green-light);
}

.mobile-cta {
  margin-top: 10px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-4 { animation-delay: 0.4s; opacity: 0; }

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */

/* Large Tablet */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}

/* Tablet */
@media (max-width: 900px) {
  .section { padding: 64px 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero { padding: 60px 0 40px; }

  .hero-visual { order: -1; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-steps::before { display: none; }

  .rewards-grid { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .cta-inner { padding: 60px 32px; }

  .stats-counter-inner { padding: 50px 24px; }
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  .hero { padding: 40px 0 30px; }
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.97rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 12px; }

  .trustpilot-widget { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tp-divider { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .odometer-digit {
    width: clamp(1.5rem, 7vw, 2.5rem);
    margin: 0 1px;
    font-size: clamp(1.2rem, 5vw, 2rem);
    height: clamp(2.2rem, 8vw, 3.5rem);
  }

  .odometer-digit-wrap {
    height: clamp(2.2rem, 8vw, 3.5rem);
  }

  .odometer-symbol, .odometer-comma {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .rewards-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cta-inner { padding: 48px 20px; }
  .cta-inner h2 { font-size: 1.6rem; }

  .btn-lg { padding: 16px 32px; font-size: 1rem; }

  .section-header { margin-bottom: 36px; }

  .faq-question { padding: 18px 20px; }
  .faq-answer-inner { padding: 0 20px 18px; }

  .feature-card { flex-direction: column; gap: 16px; }

  .stats-counter-inner { border-radius: var(--radius-lg); }

  .header-inner { padding: 0 16px; }
}


/* =====================================================
   AUTH / REGISTER PAGE
   ===================================================== */

/* ── Body override ── */
.auth-body {
  min-height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Decorative background orbs ── */
.auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
}

.auth-bg-orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(111,190,68,0.18) 0%, transparent 70%);
  top: -180px;
  left: -180px;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.auth-bg-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(199,51,147,0.10) 0%, transparent 70%);
  bottom: -120px;
  right: -120px;
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

.auth-bg-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(111,190,68,0.10) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  animation: orb-drift 22s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, 18px) scale(1.06); }
}

/* ── Page outer wrapper ── */
.auth-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 28px;
}

/* ── Back link ── */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  align-self: flex-start;
  position: absolute;
  top: 28px;
  left: 28px;
}

.auth-back-link:hover {
  color: var(--green-primary);
  border-color: rgba(111,190,68,0.45);
  background: var(--green-light);
  transform: translateX(-3px);
}

.auth-back-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ── Auth card ── */
.auth-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.09),
    0 24px 64px rgba(0,0,0,0.06);
  padding: 52px 48px 44px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}

/* Subtle top-edge green glow */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background: var(--green-gradient);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  opacity: 0.75;
}

/* ── Logo inside card ── */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 4px;
}

.auth-logo {
  gap: 11px;
}

.auth-logo .logo-icon {
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  border-radius: 12px;
}

.auth-logo .logo-text {
  font-size: 1.45rem;
}

/* ── Auth header ── */
.auth-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.auth-description {
  font-size: 0.94rem;
  color: #555555;
  line-height: 1.7;
  margin: 0;
  max-width: 340px;
}

/* ── Welcome bonus card ── */
.auth-bonus-card {
  width: 100%;
  background: var(--green-gradient);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(111,190,68,0.30);
}

.auth-bonus-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.auth-bonus-top {
  margin-bottom: 6px;
}

.auth-bonus-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.auth-bonus-amount {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.55;
  position: relative;
  z-index: 1;
  margin: 0;
}

.auth-bonus-amount strong {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-block;
}

/* Shimmer sweep */
.auth-bonus-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.13) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer-sweep 3.5s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0%   { background-position: -100% 0; }
  60%  { background-position: 200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Wallet options ── */
.auth--options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Featured connect button (pink CTA) */
.auth--btn-featured {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  background: var(--pink-cta);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(199,51,147,0.32);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.01em;
}

.auth--btn-featured:hover {
  background: var(--pink-hover);
  box-shadow: 0 6px 26px rgba(118,31,93,0.38);
  transform: translateY(-2px);
}

.auth--btn-featured:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(118,31,93,0.28);
}

.auth--btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

/* ── Divider ── */
.auth-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
  display: block;
}

.auth-divider-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

/* ── Wallet pills ── */
.auth-wallet-pills {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.auth-wallet-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.auth-wallet-pill:hover {
  background: var(--green-light);
  border-color: rgba(111,190,68,0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.auth-wallet-pill-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.auth-wallet-pill-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.2;
}

/* ── Security notice ── */
.auth-security {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F8F9FA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.auth-security-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-security-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-security-title {
  font-size: 0.83rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.3;
}

.auth-security-text {
  font-size: 0.80rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

/* ── Trust badges ── */
.auth--badges {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.auth--badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ── Footer ── */
.auth-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}

.auth-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.auth-footer-link {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}

.auth-footer-link:hover {
  color: var(--green-primary);
}

.auth-footer-sep {
  font-size: 0.8rem;
  color: var(--border-light);
  user-select: none;
}

.auth-footer-copy {
  font-size: 0.75rem;
  color: #BBBBBB;
  margin: 0;
}

/* ════════════════════════════════════
   MODAL OVERLAY
   ════════════════════════════════════ */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(20, 30, 20, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.auth-modal {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.auth-modal-overlay.open .auth-modal {
  transform: scale(1);
}

/* Spinner */
.auth-modal-spinner {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.auth-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--green-light);
  border-top-color: var(--green-primary);
  border-right-color: var(--green-primary);
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-spinner-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-primary);
  z-index: 1;
  animation: pulse-scale 1.6s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(0.88); opacity: 0.7; }
}

/* Modal heading & text */
.auth-modal-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
  letter-spacing: -0.02em;
}

.auth-modal-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* Cancel button inside modal */
.auth-modal-cancel {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-light);
  border-radius: var(--radius-full);
  padding: 10px 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 4px;
}

.auth-modal-cancel:hover {
  border-color: var(--pink-cta);
  color: var(--pink-cta);
  background: #fce4f3;
}

/* Modal success icon */
.auth-modal-success-icon {
  font-size: 3.2rem;
  line-height: 1;
  animation: pop-in 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Wallet address chip */
.auth-modal-wallet-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #333333;
  font-family: 'Courier New', monospace;
}

.auth-modal-address-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(111,190,68,0.25);
  animation: address-pulse 2s ease-in-out infinite;
}

@keyframes address-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111,190,68,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(111,190,68,0.10); }
}

/* Bonus badge inside modal */
.auth-modal-bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(111,190,68,0.35);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Go to dashboard button */
.auth-modal-go-btn {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

/* Hidden state toggle */
.auth-modal-state-hidden {
  display: none !important;
}

/* ── Modal state wrapper ── */
.auth-modal-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

/* ════════════════════════════════════
   AUTH RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 520px) {
  .auth-card {
    padding: 40px 24px 36px;
    border-radius: var(--radius-lg);
  }

  .auth-back-link {
    position: static;
    align-self: flex-start;
    margin-bottom: -10px;
  }

  .auth-page {
    justify-content: flex-start;
    padding-top: 24px;
    padding-bottom: 32px;
    gap: 20px;
  }

  .auth-heading {
    font-size: 1.5rem;
  }

  .auth-wallet-pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-modal {
    padding: 36px 24px 32px;
  }

  .auth--badges {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .auth-card {
    padding: 32px 18px 28px;
  }

  .auth-wallet-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

