/* Public VIP Club landing page.
   Reuses the leaderboard base (background, nav, buttons, footer) and adds
   only the sections needed for /vip-program. The layout is intentionally wide
   and two-column so the page stays short on desktop. */

.vip-program-main {
  padding-top: 53px;
  position: relative;
  z-index: 1;
}

.vip-container {
  max-width: 1360px;
}

/* Hero */
.vip-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
}

/* Background effects are contained by the hero, matching index.html, so the
   pattern stays put while the page scrolls. */
.vip-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    95.79% 92.16% at 100% 0,
    #019c7e2b 0,
    #ff004900
  );
}

.vip-hero > .container {
  position: relative;
  z-index: 1;
}

.vip-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  text-align: left;
}

.vip-hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.vip-hero-grid--single .vip-hero-copy .hero-description {
  max-width: 760px;
}

.vip-hero-copy .hero-title {
  font-size: 54px;
  margin-bottom: 18px;
}

.vip-hero-copy .hero-description {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
}

.vip-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 0;
}

.vip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-cta-primary {
  background: linear-gradient(145deg, #00ffcc, #00b894);
  color: #00110e;
  box-shadow: 0 8px 24px rgba(0, 255, 204, 0.25);
}

.vip-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 255, 204, 0.35);
}

.vip-cta-secondary {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.vip-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 204, 0.45);
  color: #00ffcc;
}

/* VIP progress card (same markup as the /vip-club popup) */
.vip-hero-progress {
  width: 100%;
  min-width: 0;
}

.vip-hero-progress .vip-progress {
  margin-top: 0;
}

.vip-progress {
  background: linear-gradient(
    135deg,
    #171717b3 0%,
    #00968800 55%,
    #171717b3 100%
  );
  border: 1px solid #00968847;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgb(0 255 204 / 0%),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.vip-progress-head {
  display: flex;
  align-items: center;
  min-width: 0;
}

.vip-progress-user {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.vip-progress-meter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
}

.vip-progress-value {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.vip-progress-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: help;
  outline: none;
}

.vip-progress-info {
  color: #9a9aa2;
  font-size: 13px;
}

/* Matches the chat command tooltip: dark shell, lighter header and caret. */
.vip-progress-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 5;
  display: block;
  width: 244px;
  max-width: calc(100vw - 100px);
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.13s ease, transform 0.13s ease;
  pointer-events: none;
}

.vip-progress-tip-head {
  display: block;
  padding: 0 12px;
  height: 30px;
  line-height: 30px;
  background: #282828;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px 5px 0 0;
  color: #00ffcc;
  font-family: Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vip-progress-tip-body {
  display: block;
  padding: 10px 12px 11px;
  color: #b0b3c1;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.vip-progress-tip::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #282828;
}

.vip-progress-info-wrap:hover .vip-progress-tip,
.vip-progress-info-wrap:focus .vip-progress-tip,
.vip-progress-info-wrap:focus-within .vip-progress-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vip-progress-track {
  margin-top: 9px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.vip-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a594, #00ffcc);
  transition: width 0.3s ease;
}

.vip-progress-ranks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.vip-progress-rank,
.vip-progress-rank-next {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.vip-progress-rank {
  color: #ffffff;
}

.vip-progress-rank-next {
  color: #9a9aa2;
}

.vip-progress-rank-icon {
  width: 14px;
  height: 14px;
  margin-right: 0;
}

.vip-progress-rank-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sections */
.vip-section {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

/* Benefits section, styled like #how-it-works on index.html. */
.vip-benefits-section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
  background: radial-gradient(
      ellipse at center,
      rgb(0 255 204 / 0%) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.vip-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00ffcc;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.vip-section .section-header {
  margin-bottom: 38px;
}

/* Keep the label on its own line above the title instead of sitting beside
   short section headings. */
.vip-section .section-header .vip-eyebrow {
  display: block;
}

/* Reward cards */
.vip-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vip-reward-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease, box-shadow 0.3s ease;
}

.vip-reward-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 204, 0.28);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 255, 204, 0.12);
}

.vip-reward-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.vip-reward-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.vip-reward-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.vip-reward-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

/* Benefit groups */
.vip-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vip-benefit-card {
  padding: 24px 26px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.vip-benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 204, 0.24);
}

.vip-benefit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-benefit-head .vip-rank-icon {
  width: 28px;
  height: 28px;
  margin-right: 0;
  cursor: default;
}

.vip-benefit-head h3 {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.vip-benefit-req {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.vip-benefit-req strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.vip-benefit-req small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.vip-benefit-req small:first-child {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.4);
}

.vip-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.vip-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.vip-benefit-list i {
  margin-top: 3px;
  font-size: 11px;
  color: #00ffcc;
}

/* Compact "How it works" strip under the tier ladder. */
.vip-how {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.vip-how-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00ffcc;
}

.vip-how-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  list-style: none;
}

.vip-how-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-how-step:not(:last-child)::after {
  content: "\2192";
  margin-left: 8px;
  font-size: 14px;
  color: rgba(0, 255, 204, 0.45);
}

.vip-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 700;
  color: #00110e;
  background: linear-gradient(145deg, #00ffcc, #00b894);
  border-radius: 50%;
}

.vip-how-step strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.vip-how-step small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

/* FAQ */
.vip-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-items: start;
}

.vip-faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.vip-faq-item {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.vip-faq-item[open] {
  border-color: rgba(0, 255, 204, 0.25);
  background: linear-gradient(
    145deg,
    rgba(0, 255, 204, 0.06),
    rgba(255, 255, 255, 0.015)
  );
}

.vip-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

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

.vip-faq-item summary:focus-visible {
  outline: 2px solid #00ffcc;
  outline-offset: -2px;
}

.vip-faq-item summary i {
  flex: none;
  font-size: 12px;
  color: #00ffcc;
  transition: transform 0.25s ease;
}

.vip-faq-item[open] summary i {
  transform: rotate(180deg);
}

.vip-faq-item p {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Final CTA */
.vip-final-cta {
  padding: 24px 0 72px;
  position: relative;
  z-index: 1;
  background: radial-gradient(
      ellipse at center,
      rgba(0, 255, 204, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(359deg, #1a1a1a 0%, #0a0a0a 100%);
}

.vip-final-cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 46px 44px;
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(0, 255, 204, 0.12),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(0, 255, 204, 0.24);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.vip-final-cta-content h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.vip-final-cta-content p {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.vip-final-cta-content p + p {
  margin-top: 14px;
}

.vip-final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
}

.vip-final-cta-actions .vip-cta {
  width: 100%;
}

/* Responsive */
@media (max-width: 1100px) {
  .vip-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .vip-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vip-hero-copy .hero-title {
    font-size: 46px;
  }

  .vip-hero-copy .hero-description {
    margin: 0 auto;
  }

  .vip-hero-actions {
    justify-content: center;
  }

  .vip-hero-progress {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .vip-final-cta-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vip-final-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .vip-final-cta-actions .vip-cta {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .vip-reward-grid,
  .vip-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vip-hero {
    padding: 46px 0 18px;
  }

  .vip-hero-copy .hero-title {
    font-size: 38px;
  }

  .vip-hero-actions .vip-cta-benefits {
    display: none;
  }

  .vip-section {
    padding: 40px 0;
  }

  .vip-benefits-section {
    padding: 44px 0;
  }

  .vip-final-cta-content {
    padding: 30px 24px;
  }

  .vip-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .vip-reward-grid,
  .vip-benefit-grid {
    grid-template-columns: 1fr;
  }

  .vip-hero-copy .hero-title {
    font-size: 36px;
  }

  .vip-hero-copy .hero-description {
    font-size: 16px;
  }

  .vip-hero-actions,
  .vip-final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vip-cta {
    width: 100%;
  }

  .vip-final-cta-content h2 {
    font-size: 26px;
  }

  .vip-faq-item summary {
    padding: 16px 18px;
    font-size: 14px;
  }

  .vip-faq-item p {
    padding: 0 18px 18px;
    font-size: 13px;
  }
}
