.full-vh {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 50% 30%, rgba(39, 212, 0, .25), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .8)) drop-shadow(0 0 40px rgba(39, 212, 0, .25));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  max-width: 100%;
  border-radius: 18px;
  height: 400px;
}

.slider::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 0, .2), transparent 50%);
  transform: translateY(var(--slide-p, 0px));
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.slides {
  display: flex;
  transition: transform .6s ease;
  position: relative;
  z-index: 0;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  border-radius: 18px;
  object-fit: cover;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, .4);
  transform: scale(1.1);
}

.slider-dot.active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .08);
}

.tag {
  color: var(--green);
  font-weight: 900;
}

.raffle-slider {
  display: flex;
  gap: 20px;
  overflow: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.raffle-slider::-webkit-scrollbar {
  display: none;
}

.raffle-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  scroll-snap-align: start;
}

.raffle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.progress-wrap {
  margin-top: 12px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.progressbar {
  background: #1b1b1b;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}

.progressbar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green2));
  width: 0%;
  transition: width 0.6s ease;
}

.center {
  display: block;
  margin: 30px auto 0;
}

/* === Raffle Card Image Styles === */
.raffle-card {
  padding: 0 !important;
}

.raffle-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.raffle-card-content {
  padding: 0 18px 18px 18px;
}

/* === Parallax gamer suave (sin cambiar layout) === */
.card.parallax-card {
  position: relative;
  overflow: hidden;
}

.card.parallax-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 0, .18), transparent 55%);
  transform: translateY(var(--p, 0px));
  pointer-events: none;
  z-index: 0;
}

.card.parallax-card > * {
  position: relative;
  z-index: 1;
}

.card.parallax-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}

.card.parallax-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .raffle-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .raffle-card {
    flex: 0 0 calc(100% - 20px);
    min-width: 260px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .slider {
    height: 300px;
  }
}
