:root {
  --bg-dark: #050810;
  --bg-card: rgba(8, 12, 22, 0.9);
  --bg-card-hover: rgba(12, 18, 30, 0.95);
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.4);
  --accent-glow: rgba(34, 211, 238, 0.15);
  --ripple-color: rgba(200, 210, 220, 0.12);
  --ripple-border: rgba(220, 230, 240, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --success: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Ripple Background */
.ripple-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ripple-border);
  background: radial-gradient(
    circle,
    var(--ripple-color) 0%,
    transparent 65%
  );
  animation: ripple-expand 10s cubic-bezier(0.33, 0, 0.2, 1) infinite;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ripple:nth-child(1) { left: 5%; top: 15%; width: 500px; height: 500px; animation-delay: 0s; }
.ripple:nth-child(2) { left: 55%; top: 5%; width: 600px; height: 600px; animation-delay: 2s; }
.ripple:nth-child(3) { left: 25%; top: 45%; width: 550px; height: 550px; animation-delay: 4s; }
.ripple:nth-child(4) { left: 65%; top: 55%; width: 480px; height: 480px; animation-delay: 6s; }
.ripple:nth-child(5) { left: 40%; top: 75%; width: 520px; height: 520px; animation-delay: 8s; }

@keyframes ripple-expand {
  0% {
    transform: translateZ(0) scale(0.2);
    opacity: 0.5;
  }
  40% {
    opacity: 0.35;
  }
  100% {
    transform: translateZ(0) scale(1.5);
    opacity: 0;
  }
}

/* Hero Nav */
.hero-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-wave-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo-text {
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, #ffffff 0%, rgba(241, 245, 249, 0.95) 45%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-wave {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 120%;
  height: 24px;
  color: var(--accent-dim);
  pointer-events: none;
  z-index: 0;
  animation: logoWave 3.4s linear infinite;
}

@keyframes logoWave {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  100% {
    transform: translateY(-50%) translateX(-20%);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  overflow: visible;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border: 1px solid var(--accent-dim);
  opacity: 0;
  pointer-events: none;
}

.nav-link:hover::before {
  animation: navRipple 0.8s ease-out;
}

@keyframes navRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.btn-login {
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  color: var(--bg-dark);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - 80px);
  padding: 2rem 2.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page {
  display: none;
  animation: fadeIn 0.4s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Site Footer */
.site-footer {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-logo .logo-wave-wrap {
  font-size: inherit;
}

.footer-logo .logo-text {
  font-size: inherit;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hidden {
  display: none !important;
}

/* Home Hero */
.hero-section {
  text-align: left;
  padding: 2rem 0 5rem;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 1rem;
}

.hero-text {
  flex: 0 1 50%;
  min-width: 0;
}

.hero-image-placeholder {
  flex: 0 0 57%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-image-placeholder .hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  vertical-align: bottom;
}

.hero-section .hero-headline {
  animation: heroFadeUp 0.7s ease-out;
}

.hero-section .hero-subline {
  animation: heroFadeUp 0.7s ease-out 0.1s both;
}

.hero-section .hero-bubbles {
  animation: heroFadeUp 0.7s ease-out 0.2s both;
}

.hero-section .hero-image-placeholder {
  animation: heroFadeUp 0.7s ease-out 0.15s both;
}

.hero-section .feature-block:nth-child(1) { animation: heroFadeUp 0.6s ease-out 0.3s both; }
.hero-section .feature-block:nth-child(2) { animation: heroFadeUp 0.6s ease-out 0.4s both; }
.hero-section .feature-block:nth-child(3) { animation: heroFadeUp 0.6s ease-out 0.5s both; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 600px;
  text-wrap: balance;
}

.hero-highlight {
  font-weight: 700;
  padding: 0 0.05em;
  display: inline;
}

.hero-free {
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #34d399 0%,
    #34d399 35%,
    #6ee7b7 42%,
    #fff 45%,
    #6ee7b7 48%,
    #34d399 55%,
    #34d399 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bonusHuntsShimmer 5s linear infinite;
}

@keyframes bonusHuntsShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

.hero-and-ev {
  white-space: nowrap;
}

.hero-and {
  color: var(--text);
}

.hero-pro {
  color: #a78bfa;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.25);
}

.hero-subline {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 520px;
  text-wrap: pretty;
}

.hero-bubbles {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.hero-bubble:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.hero-bubble:first-child:hover {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.15);
}

.feature-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-block {
  background: var(--bg-card);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.feature-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.feature-block p {
  flex: 1;
  line-height: 1.55;
}

.feature-block:hover {
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
  background: var(--bg-card-hover);
}

.feature-block-hunt:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(234, 179, 8, 0.35);
}

.feature-block-hunt:hover h3,
.feature-block-hunt:hover p {
  color: #a78bfa;
}

.feature-block-ev:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(52, 211, 153, 0.35);
}

.feature-block-ev:hover h3,
.feature-block-ev:hover p {
  color: #38bdf8;
}

.feature-block-creator:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(145, 70, 255, 0.35);
}

.feature-block-creator:hover h3,
.feature-block-creator:hover p {
  color: #34d399;
}

.feature-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .feature-blocks {
    grid-template-columns: 1fr;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-image-placeholder {
    flex: none;
    width: 100%;
    min-height: 240px;
  }

  .hero-headline {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  .hero-bubbles {
    flex-direction: column;
  }

  .hero-bubble {
    width: 100%;
  }
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  color: var(--bg-dark);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.2);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.3);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Hunts Page */
.hunts-container {
  max-width: 1200px;
  margin: 0 auto;
}

#page-hunts:has(#phase-start:not(.hidden)) .hunts-container {
  margin-top: -1.5rem;
}

/* Hunts Hero Layout: provider showcase left, hunts-main right */
.hunts-hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 1rem;
}

.provider-showcase-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  flex: 0 0 auto;
  width: 495px;
}

.hunts-hero-content .provider-showcase-column {
  order: 1;
}

.hunts-hero-content .hunts-main {
  order: 2;
}

.hunts-hero-content.hunt-active .provider-showcase-column {
  display: none;
}

/* Start Hunt phase: button on left of reel, slightly lower than reel box */
.hunts-hero-content:has(#phase-start:not(.hidden)) {
  align-items: flex-end;
}

.hunts-main {
  flex: 1;
  min-width: 0;
  /* No max-width: extends flush with Login edge */
}

.hunts-hero-content.hunt-active .hunts-main {
  max-width: none;
}

/* Provider Showcase */
.provider-showcase:not(.loaded) {
  opacity: 0;
  visibility: hidden;
}

.provider-showcase.loaded {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.provider-showcase.showcase-hidden {
  display: none;
}

.provider-showcase-column .start-hunt-btn {
  width: 100%;
  max-width: none;
  flex: 1;
  min-height: 4rem;
  margin: 0;
  justify-content: center;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(34, 211, 238, 0.15);
}

.provider-showcase {
  flex: 0 0 auto;
  width: 495px;
  height: 518px;
  max-height: 518px;
  overflow: hidden;
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 0.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.provider-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.provider-name {
  display: none;
}

.provider-scroller {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}

.provider-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: providerScroll 20s linear infinite;
  will-change: transform;
}

@keyframes providerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

.game-card {
  flex-shrink: 0;
  width: 100%;
  height: 192px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hunts-hero-content {
    flex-direction: column;
  }

  .hunts-main {
    max-width: none;
  }

  .bonus-entry-section {
    flex-direction: column;
  }

  .bonus-entry-card {
    min-width: 0;
    width: 100%;
  }

  .bonus-fields {
    grid-template-columns: 1fr;
  }

  .bonuses-list-frame {
    height: 260px;
  }

  .provider-showcase-column {
    width: 100%;
  }

  .provider-showcase {
    flex: none;
    width: 100%;
    height: 432px;
    max-height: 432px;
    flex-direction: column;
  }

  .provider-column {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .provider-scroller {
    flex: 1;
    overflow: hidden;
  }

  .provider-scroll-track {
    flex-direction: row;
    animation: providerScrollHorizontal 20s linear infinite;
  }

  @keyframes providerScrollHorizontal {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }

  .game-card {
    height: 160px;
    min-width: 80px;
    object-fit: cover;
  }
}

/* Hunt Stats Bar (matches hero nav width: Ripple Hunt to Log In) */
.hunt-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 0.75rem 1rem;
  margin: 0 auto 1rem;
  padding: 1.25rem 2.5rem;
  max-width: 1200px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-edit-hunt-stats {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-edit-hunt-stats:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

#stat-card-highest-mult.hunt-stats-mega .stat-value {
  -webkit-text-stroke: 1px #a855f7;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.6), 0 0 12px rgba(168, 85, 247, 0.4);
}

/* Top 3 bonuses - right below stats, flush right */
.top-three-bonuses-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto 1.5rem;
  max-width: 1200px;
  padding: 0 2.5rem;
}

.stat-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
}

.modal-currency-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.modal-currency-row label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.currency-select-modal {
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  min-width: 90px;
}

.currency-select-modal:focus {
  outline: none;
  border-color: var(--accent);
}

.stat-card.highlight {
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
}

.stat-card.stat-bonus-green {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.stat-card.stat-bonus-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.3) 0%, rgba(234, 179, 8, 0.4) 50%, rgba(202, 138, 4, 0.3) 100%);
  border: 1px solid rgba(234, 179, 8, 0.6);
}

.stat-card.stat-bonus-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: bonus-value-shimmer 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.stat-card.stat-bonus-gold .stat-label,
.stat-card.stat-bonus-gold .stat-value {
  position: relative;
  z-index: 1;
}

@keyframes bonus-value-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value.positive { color: var(--success); }
.stat-value.negative { color: var(--danger); }

/* Start Hunt Bubble */
.bubble-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 2px solid var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bubble-btn:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: var(--success);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.35), 0 0 24px rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
}

.bubble-icon {
  font-size: 1.75rem;
  line-height: 1;
}

/* Start Hunt phase: columns stretch so button aligns with bottom of hunt pic */
.hunts-hero-content:has(#phase-start:not(.hidden)) {
  align-items: stretch;
}

#phase-start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.start-hunt-intro {
  margin-bottom: 0;
}

.start-hunt-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Outfit', -apple-system, sans-serif;
}

/* Purple shimmer on headline (same purple as 1000x+ multiplier) */
.start-hunt-word {
  font-weight: 700;
  padding: 0 0.05em;
  display: inline;
  background: linear-gradient(
    90deg,
    #f1f5f9 0%,
    #f1f5f9 30%,
    #a855f7 38%,
    #c084fc 42%,
    #fff 45%,
    #c084fc 48%,
    #a855f7 52%,
    #f1f5f9 60%,
    #f1f5f9 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: huntPurpleShimmer 6s linear infinite;
}

@keyframes huntPurpleShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

.start-hunt-subline {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* Hunt page image box (above text on right side, flush with Login edge) */
#phase-start .hunt-page-image-box {
  margin-bottom: 0;
}

.hunt-page-image-box {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hunt-page-image-box:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 211, 238, 0.15);
}

.hunt-page-image-box .hunt-page-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  vertical-align: bottom;
}

/* Start Hunt button: in provider-showcase-column, full width below showcase */

/* Login Modal */
.modal-login .modal-login-content {
  position: relative;
  padding: 2rem;
  max-width: 340px;
}

.modal-login .modal-login-title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
  color: var(--text);
}

.modal-login .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.modal-login .modal-close:hover {
  color: var(--text);
}

.modal-login .google-signin-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 44px;
}

.modal-login .btn-kick-signin {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.modal-login .btn-kick-signin:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-dim);
}

/* Nav user dropdown */
.nav-user {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-user.hidden {
  display: none !important;
}

.btn-user-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-user-toggle:hover {
  border-color: var(--accent-dim);
}

.nav-user .user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-user .user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user .dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.8;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.35rem;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 200;
  overflow: hidden;
}

.user-dropdown.hidden {
  display: none !important;
}

.user-dropdown .dropdown-item {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.user-dropdown .dropdown-item:hover {
  background: var(--bg-card-hover);
}

.user-dropdown .dropdown-item-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 400px;
}

.modal-content h3 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.modal-content input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-content input::placeholder {
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Phase Header */
.phase-header {
  margin-bottom: 1.5rem;
}

.phase-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}


.phase-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Top 3 + win-amount corner */
.win-amount-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.bonuses-remaining {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
}

.bonuses-remaining.last-bonus {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid var(--accent-dim);
  box-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(34, 211, 238, 0.25);
  color: var(--accent);
}

.next-bonus-preview {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--accent-dim);
}

/* Next Bonus button - solid with hover animation */
.btn-next-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(34, 211, 238, 0.25));
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
}

.btn-next-bonus:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.6), rgba(34, 211, 238, 0.4));
  transform: scale(1.05);
  box-shadow: 0 0 24px var(--accent-glow), 0 0 48px rgba(34, 211, 238, 0.3);
}

.btn-next-bonus:active {
  transform: scale(0.98);
}

/* Bonus Entry Section - New Bonus card + scrollable list side by side */
.bonus-entry-section {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
  width: 100%;
}

/* Bonus Entry Card */
.bonus-entry-card {
  flex: 0 0 auto;
  min-width: 440px;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

/* Bonuses List Frame - fixed size, matches New Bonus card height */
.bonuses-list-frame {
  flex: 1;
  min-width: 200px;
  height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 0.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.bonuses-list-scroller {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.bonuses-list-scroller:not(.bonuses-scrolling) {
  overflow-y: auto;
}

.bonuses-list-track {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bonuses-list-scroller.bonuses-scrolling .bonuses-list-track {
  animation: bonusesScroll 18s linear infinite;
  will-change: transform;
}

@keyframes bonusesScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}

.bonus-entry-card h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.slot-search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.slot-search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.slot-search-input::placeholder {
  color: var(--text-muted);
}

.slot-search-results {
  display: grid;
  grid-template-columns: repeat(3, 102px);
  gap: 0.35rem;
  max-height: 200px;
  overflow-y: auto;
  padding: 0.15rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) rgba(0, 0, 0, 0.2);
}

.slot-search-results::-webkit-scrollbar {
  width: 6px;
}

.slot-search-results::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.slot-search-results::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 3px;
}

.slot-search-results::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

.slot-search-result {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.slot-search-result:hover {
  border-color: var(--accent-dim);
}

.slot-search-result img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.slot-search-result span {
  display: block;
  font-size: 0.65rem;
  padding: 0.15rem 0.2rem;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-fields input {
  margin-bottom: 0;
}

.modal-slot-image {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.modal-slot-name {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.bonus-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bonus-fields input {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
}

.bonus-fields input:focus {
  outline: none;
  border-color: var(--accent);
}

.bonus-fields input::placeholder {
  color: var(--text-muted);
}

/* Bonus Bubbles List */
.bonuses-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bonus-bubble {
  flex-shrink: 0;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 2.5rem 0.5rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.bonus-bubble-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.bonus-bubble-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.bonus-bubble-text {
  min-width: 0;
  flex: 1;
}

.bonus-bubble:hover {
  border-color: var(--accent-dim);
}

.bonus-bubble.editable .bonus-fields-row {
  display: grid;
}

.bonus-bubble .bonus-fields-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bonus-bubble .bonus-fields-row input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.85rem;
}

.bonus-bubble .bonus-fields-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.bonus-bubble .bonus-display {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bonus-bubble .slot-name-display {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.btn-edit-bonus,
.btn-remove-bonus {
  position: absolute;
  top: 0.5rem;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-edit-bonus {
  right: 2rem;
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent);
}

.btn-edit-bonus:hover {
  background: rgba(34, 211, 238, 0.35);
}

.btn-remove-bonus {
  right: 0.5rem;
  background: rgba(248, 113, 113, 0.2);
  color: var(--danger);
}

.btn-remove-bonus:hover {
  background: rgba(248, 113, 113, 0.4);
}

/* Hunt page gold shimmer (1000x+) */
.hunt-page-shimmer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(234, 179, 8, 0.5) 40%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(234, 179, 8, 0.5) 60%,
    transparent 75%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.1s;
}

.hunt-page-shimmer.shimmer-active {
  opacity: 1;
  animation: hunt-shimmer-sweep 1s ease-out forwards;
}

@keyframes hunt-shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Top 3 completed bonuses - high up near stats, flush right */
.top-three-bonuses {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.75rem;
  min-height: 100px;
  flex-shrink: 0;
}

.top-three-bonuses .completed-bonus-bubble {
  flex: 0 0 auto;
}

.top-three-bonuses .completed-bonus-bubble.slot-2 {
  order: 1;
  margin-top: 24px;
}

.top-three-bonuses .completed-bonus-bubble.slot-1 {
  order: 2;
}

.top-three-bonuses .completed-bonus-bubble.slot-3 {
  order: 3;
  margin-top: 24px;
}

/* Phase 4 wrap */
.win-amount-phase-wrap {
  display: block;
}

/* Win Amount Current (Phase 4 - one bonus at a time) */
.win-amount-current {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: stretch;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.completed-bonus-bubble {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid;
  min-width: 70px;
}

.completed-bonus-bubble.mult-bronze { border-color: #cd7f32; background: rgba(205, 127, 50, 0.25); }
.completed-bonus-bubble.mult-green { border-color: #22c55e; background: rgba(34, 197, 94, 0.25); }
.completed-bonus-bubble.mult-silver { border-color: #94a3b8; background: rgba(148, 163, 184, 0.25); }
.completed-bonus-bubble.mult-gold { border-color: #eab308; background: rgba(234, 179, 8, 0.25); }
.completed-bonus-bubble.mult-purple { border-color: #a855f7; background: rgba(168, 85, 247, 0.25); }

.completed-bonus-bubble img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.25rem;
}

.completed-bonus-bubble .completed-win-amount {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.win-amount-image-wrap {
  flex: 0 0 200px;
}

.win-amount-slot-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.win-amount-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.win-amount-input-wrap .win-amount-slot-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.win-amount-input-wrap .win-amount-input {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}

.win-amount-input-wrap .win-amount-input:focus {
  outline: none;
  border-color: var(--accent);
}

.win-amount-input-wrap .multiplier-display {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Win Amount Input (Phase 4) - legacy rows */
.win-amount-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.win-amount-row label {
  flex: 1;
  min-width: 120px;
  font-size: 0.95rem;
}

.win-amount-row input {
  width: 140px;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}

.win-amount-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.multiplier-display {
  min-width: 80px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

/* Phase Actions */
.phase-actions {
  margin-top: 2rem;
}

/* Complete Message */
.complete-message {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.complete-message h2 {
  margin-bottom: 0.75rem;
}

.complete-message p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hunt-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  max-height: 50vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.hunt-results-list::-webkit-scrollbar {
  width: 8px;
}

.hunt-results-list::-webkit-scrollbar-track {
  background: transparent;
}

.hunt-results-list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 4px;
}

.hunt-results-list::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.4);
}

.hunt-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.hunt-result-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.hunt-result-placeholder {
  background: rgba(0, 0, 0, 0.4);
}

.hunt-result-info {
  flex: 1;
  min-width: 0;
}

.hunt-result-slot-name {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.hunt-result-bubbles {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hunt-result-bubble {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
}

.hunt-result-item.mult-bronze {
  border-color: #cd7f32;
  background: rgba(205, 127, 50, 0.15);
}

.hunt-result-item.mult-green {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
}

.hunt-result-item.mult-silver {
  border-color: #94a3b8;
  background: rgba(148, 163, 184, 0.15);
}

.hunt-result-item.mult-gold {
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.15);
}

.hunt-result-item.mult-gold .hunt-result-bubble {
  border-color: #f59e0b;
  color: #fbbf24;
}

.hunt-result-item.mult-silver .hunt-result-bubble {
  border-color: #94a3b8;
  color: #cbd5e1;
}

.hunt-result-item.mult-green .hunt-result-bubble {
  border-color: #22c55e;
  color: #4ade80;
}

.hunt-result-item.mult-purple {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
}

.hunt-result-item.mult-purple .hunt-result-bubble {
  border-color: #a855f7;
  color: #c084fc;
}

.hunt-result-item.mult-bronze .hunt-result-bubble {
  border-color: #b45309;
  color: #d97706;
}

/* ToolKit / Pricing Page */
.toolkit-page {
  padding: 1rem 0 4rem;
}

.toolkit-header {
  text-align: center;
  margin-bottom: 3rem;
}

.toolkit-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.toolkit-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  animation: pricingFadeUp 0.6s ease-out both;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes pricingFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px var(--accent-glow);
  border-color: rgba(148, 163, 184, 0.3);
  background: var(--bg-card-hover);
}

.pricing-card-popular {
  border-color: var(--accent-dim);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}

.pricing-card-popular:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
}

.pricing-card-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-currency {
  font-size: 1.25rem;
  opacity: 0.9;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding-left: 0.75rem;
  margin-bottom: 0.25rem;
  transition: background 0.2s;
}

.feature-included {
  color: var(--success);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.08);
}

.feature-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-excluded {
  color: var(--text-muted);
  opacity: 0.6;
  text-decoration: line-through;
}

.feature-x {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--danger);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-cta {
  position: relative;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-cta-text {
  position: relative;
  z-index: 2;
  color: var(--text);
  transition: color 0.3s ease;
}

.pricing-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6ee7b7, #34d399);
  transition: width 0.35s ease;
  z-index: 1;
}

.pricing-cta:hover {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.25);
}

.pricing-cta:hover .pricing-cta-text {
  color: #0f172a;
}

.pricing-cta:hover::before {
  width: 100%;
}

.pricing-cta-primary .pricing-cta-text {
  color: var(--bg-dark);
}

.pricing-cta-primary {
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  border-color: transparent;
}

.pricing-cta-primary::before {
  background: linear-gradient(90deg, #6ee7b7, #34d399);
}

.pricing-cta-primary:hover .pricing-cta-text {
  color: #0f172a;
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Feature Details Tabs */
.feature-details {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.feature-details-header {
  margin-bottom: 2rem;
}

.feature-details-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feature-details-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-tabs-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.feature-tab {
  padding: 0.65rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feature-tab:hover {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text);
}

.feature-tab.active {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}

.feature-panels {
  position: relative;
}

.feature-panel {
  display: none;
  animation: panelFadeIn 0.35s ease;
}

.feature-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-panel-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  backdrop-filter: blur(12px);
}

.feature-panel h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
  column-gap: 2.5rem;
  row-gap: 0;
}

.feature-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}


.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  background: var(--accent-dim);
  border-radius: 50%;
}

/* About Page */
.about-page {
  padding: 2rem 0 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.about-header {
  margin-bottom: 2.5rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}

.about-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.about-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.about-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.about-intro,
.about-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.about-intro:last-child,
.about-body:last-child {
  margin-bottom: 0;
}

.about-intro {
  color: var(--text);
}

.about-signoff {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0;
}

@media (max-width: 700px) {
  .feature-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-list li {
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  }

  .feature-list li:last-child {
    border-bottom: none;
  }

  .feature-panel-inner {
    padding: 1.5rem 1.75rem;
  }

  .feature-tabs {
    flex-direction: column;
  }

  .feature-tab {
    text-align: left;
    width: 100%;
  }
}
