/* ============================================
   Vibe Festival 2026 – Page Styles
   Builds on the existing design system (variables.css)
   ============================================ */

/* ---- Shared helpers ---- */
.vf-gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vf-section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: .75rem;
}

.vf-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 2.5rem;
  -webkit-text-fill-color: unset;
  background: none;
}

.vf-section { padding: 6rem 0; position: relative; z-index: 1; }

.vf-btn-lg  { padding: 1.1rem 2.75rem !important; font-size: 1.1rem !important; }
.vf-btn-full { width: 100%; margin-top: 1.25rem; }

/* ============================================
   HERO
   ============================================ */
.vf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Orbs */
.vf-hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.vf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: vfOrbFloat 8s ease-in-out infinite;
}
.vf-orb--purple { width: 500px; height: 500px; background: var(--color-primary);   top: -10%; left: -10%; animation-delay: 0s; }
.vf-orb--blue   { width: 400px; height: 400px; background: var(--color-accent);    bottom: -5%; right: -5%; animation-delay: -3s; }
.vf-orb--pink   { width: 300px; height: 300px; background: var(--color-secondary); top: 40%; left: 50%; animation-delay: -5s; }

@keyframes vfOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(.95); }
}

.vf-hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.vf-hero__content { padding: 2rem 1.5rem; position: relative; z-index: 2; }

.vf-eyebrow {
  font-size: .85rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
  animation: vfFadeUp .9s ease both;
}

.vf-hero__title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(139,92,246,.3);
  animation: vfFadeUp .9s ease both;
  -webkit-text-fill-color: unset;
  background: none;
}

.vf-hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  animation: vfFadeUp .9s .15s ease both;
}

.vf-hero__meta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: vfFadeUp .9s .25s ease both;
}

.vf-meta-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  color: var(--color-primary-light);
  padding: .45rem 1rem; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 600;
  backdrop-filter: blur(8px);
}

.vf-hero__content .btn { animation: vfFadeUp .9s .35s ease both; }

@keyframes vfFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.vf-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
}
.vf-scroll-hint span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(139,92,246,.5); border-radius: 12px; position: relative;
}
.vf-scroll-hint span::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--color-primary-light); border-radius: 2px;
  animation: vfScrollBounce 1.8s ease-in-out infinite;
}
@keyframes vfScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%      { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ============================================
   TICKET CARDS
   ============================================ */
.vf-tickets-section { background: rgba(13,13,31,.6); }

.vf-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.vf-ticket {
  background: var(--color-bg-card);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius-xl);
  overflow: hidden; position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.vf-ticket:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,.5);
  box-shadow: var(--glow-purple);
}

.vf-ticket--vip {
  border-color: rgba(139,92,246,.45);
  background: linear-gradient(160deg, #0f0f28 0%, #1a0a35 100%);
}
.vf-ticket__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,.18) 0%, transparent 70%);
}

.vf-ticket__header {
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(139,92,246,.12) 0%, rgba(6,182,212,.08) 100%);
}

.vf-ticket-badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: var(--radius-full);
  background: rgba(139,92,246,.2); color: var(--color-primary-light);
  border: 1px solid rgba(139,92,246,.35); margin-bottom: .75rem;
}
.vf-ticket-badge--vip {
  background: var(--gradient-primary); color: #fff; border: none;
  box-shadow: 0 0 12px rgba(139,92,246,.5);
}
.vf-ticket-badge--backstage {
  background: rgba(6,182,212,.2); color: var(--color-accent);
  border-color: rgba(6,182,212,.35);
}

.vf-ticket__event { font-size: .85rem; color: var(--color-text-muted); margin-bottom: .35rem; }

.vf-ticket__price { font-size: 1rem; color: var(--color-text-muted); }
.vf-ticket__price strong {
  font-size: 2.25rem; font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Tear line */
.vf-ticket__tear {
  display: flex; align-items: center;
  padding: 0 .5rem; height: 24px;
}
.vf-notch {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-bg-primary); flex-shrink: 0;
  border: 1px solid rgba(139,92,246,.2);
}
.vf-notch--l { margin-left: -10px; }
.vf-notch--r { margin-right: -10px; }
.vf-dots {
  flex: 1; height: 2px; margin: 0 .5rem;
  background: repeating-linear-gradient(90deg,
    rgba(139,92,246,.3) 0, rgba(139,92,246,.3) 6px,
    transparent 6px, transparent 12px);
}

.vf-ticket__body { padding: 1.25rem 1.75rem 1.75rem; }

.vf-ticket-info {
  list-style: none; display: flex; flex-direction: column;
  gap: .6rem; margin-bottom: 1.25rem;
}
.vf-ticket-info li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .875rem;
}
.vf-ticket-info li span:first-child { color: var(--color-text-muted); }
.vf-ticket-info li span:last-child  { color: var(--color-text-primary); font-weight: 600; }

.vf-qr {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; margin-bottom: .5rem;
  width: 90px; height: 90px; border-radius: var(--radius-md);
  background: rgba(139,92,246,.08);
  border: 1px dashed rgba(139,92,246,.35);
  margin-left: auto; margin-right: auto;
  color: var(--color-text-muted); font-size: .65rem;
}

/* ============================================
   EVENT DETAILS
   ============================================ */
.vf-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.vf-details-text p { color: var(--color-text-muted); margin-bottom: 1rem; font-size: 1.05rem; }

.vf-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.vf-stat  { display: flex; flex-direction: column; }
.vf-stat strong {
  font-size: 2rem; font-weight: 900; line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.vf-stat span {
  font-size: .8rem; color: var(--color-text-muted);
  margin-top: .2rem; text-transform: uppercase; letter-spacing: .08em;
}

/* Visual event card */
.vf-event-card {
  background: linear-gradient(135deg, #0d0d28 0%, #1a0535 100%);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--radius-xl); padding: 2.5rem;
  position: relative; overflow: hidden;
  box-shadow: var(--glow-purple); text-align: center;
}
.vf-event-card__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139,92,246,.25) 0%, transparent 70%);
}
.vf-live-badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; color: #fff;
  background: #ef4444; padding: .2rem .6rem; border-radius: .25rem;
  margin-bottom: 1.5rem; animation: vfPulse 2s ease-in-out infinite;
}
@keyframes vfPulse { 0%,100%{opacity:1} 50%{opacity:.6} }

.vf-event-card__title {
  font-size: 2rem; font-weight: 900; margin-bottom: .5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.vf-event-card__date  { font-size: 1rem; font-weight: 700; color: var(--color-text-primary); margin-bottom: .25rem; }
.vf-event-card__venue { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 2rem; }

.vf-bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 40px; }
.vf-bars span {
  width: 6px; background: var(--gradient-primary); border-radius: 3px;
  animation: vfBarDance 1.2s ease-in-out infinite;
}
.vf-bars span:nth-child(1){height:20px;animation-delay:0s}
.vf-bars span:nth-child(2){height:35px;animation-delay:.1s}
.vf-bars span:nth-child(3){height:28px;animation-delay:.2s}
.vf-bars span:nth-child(4){height:40px;animation-delay:.3s}
.vf-bars span:nth-child(5){height:22px;animation-delay:.4s}
.vf-bars span:nth-child(6){height:38px;animation-delay:.5s}
.vf-bars span:nth-child(7){height:30px;animation-delay:.6s}
.vf-bars span:nth-child(8){height:18px;animation-delay:.7s}
.vf-bars span:nth-child(9){height:32px;animation-delay:.8s}
.vf-bars span:nth-child(10){height:25px;animation-delay:.9s}

@keyframes vfBarDance {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(.4); }
}

/* ============================================
   RULES
   ============================================ */
.vf-rules-section { background: rgba(13,13,31,.5); }

.vf-rules-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 1.25rem; max-width: 760px; margin: 0 auto;
}

.vf-rule {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--color-bg-card);
  border: 1px solid rgba(139,92,246,.15);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.vf-rule:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(139,92,246,.2);
}
.vf-rule__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.vf-rule strong { display: block; color: var(--color-text-primary); font-weight: 700; margin-bottom: .3rem; }
.vf-rule p { color: var(--color-text-muted); font-size: .9rem; margin: 0; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-vf-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-vf-animate].vf-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .vf-details-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .vf-details-visual { order: -1; }
  .vf-hero__title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .vf-tickets-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .vf-section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .vf-hero__meta { flex-direction: column; align-items: center; }
  .vf-stats { gap: 1.25rem; }
}
