/* ==========================================================================
   SYMFOREST GLOBAL STYLES (Patokan Desain Utama)
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", system-ui, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   HERO / STORY SECTION
   ========================================================================== */
.sfx-hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
  overflow: visible;
}

.sfx-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 60%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

.sfx-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(2, 6, 23, 0.1) 0%,
    rgba(2, 6, 23, 0.7) 100%
  );
  z-index: 2;
}

.sfx-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 750px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Memastikan semua konten di tengah */
}

.sfx-hero-logo img {
  width: clamp(140px, 20vw, 180px);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.3));
}

.sfx-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #f8fafc;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.sfx-hero-lead {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
  opacity: 0.9;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sfx-hero-cta {
  position: relative;
  display: inline-block;
  padding: 14px 38px;
  background: linear-gradient(135deg, #d4af37, #f97316);
  color: #020617;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  margin-bottom: 40px; /* Jarak ke tulisan scroll */
}

.sfx-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
  filter: brightness(1.1);
}

/* ── SCROLL INDICATOR (Custom Order) ── */
.sfx-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-top: 30px;
}

/* 1. Garis (Paling Atas) */
.sfx-hero-scroll span:first-child {
  order: 1;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0), #d4af37);
}

/* 2. Tulisan "Scroll" (Tengah) */
.sfx-hero-scroll {
  color: #d4af37;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

/* 3. Panah / Arrow UI (Paling Bawah) */
.sfx-hero-scroll span:nth-child(2) {
  order: 3;
  width: 8px;
  height: 8px;
  border-right: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
  transform: rotate(45deg);
  animation: sfxArrowDown 2s infinite ease-in-out;
  margin-top: -4px; /* Merapatkan jarak dengan teks */
}

/* Animasi Panah Meluncur ke Bawah */
@keyframes sfxArrowDown {
  0% {
    transform: translateY(-5px) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(10px) rotate(45deg);
    opacity: 0;
  }
}

/* ==========================================================================
   TICKET SECTION (Seamless Transparant)
   ========================================================================== */
.sfx-ticket-section {
  position: relative;
  background: transparent;
  padding: 120px 0;
  margin-top: -15vh;
  z-index: 5;
}

.sfx-ticket-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 40%,
    #000 100%
  );
  z-index: -1;
}

.sfx-ticket-bg {
  position: absolute;
  inset: 0;
  background: url("../img/story-stage.jpg") center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.sfx-ticket-inner {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sfx-ticket-header {
  text-align: center;
  margin-bottom: 50px;
}

.sfx-overline {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: #d4af37;
  text-transform: uppercase;
  font-weight: 700;
}

.sfx-event-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 10px 0 5px;
}

/* Meta Data Styling */
.sfx-event-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.sfx-meta-dot {
  color: #d4af37;
  font-size: 1.2rem;
}

/* Countdown Glassmorphism */
.sfx-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
}

.sfx-cd-box {
  background: rgba(11, 26, 82, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 10px;
  min-width: 70px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.sfx-cd-num {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.sfx-cd-label {
  font-size: 0.55rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 5px;
}

.sfx-started-msg {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #d4af37;
  letter-spacing: 4px;
}

/* Tier Grid */
.sfx-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sfx-tier-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.4s ease;
}

.sfx-tier-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(15, 23, 42, 0.7);
}

.sfx-tier-card-inner {
  padding: 30px;
  flex: 1;
  text-align: center;
}
.sfx-tier-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.sfx-tier-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 25px;
}

/* Pricing Layout */
.sfx-tier-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.sfx-tier-price-old {
  font-size: 0.8rem;
  color: #f87171;
  text-decoration: line-through;
}
.sfx-tier-price-now {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.sfx-cta-link {
  display: block;
  margin: 0 30px 30px;
  padding: 14px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
}

.sfx-cta-link:hover {
  background: #d4af37;
  color: #000;
}

/* ==========================================================================
   AUDIO PLAYER
   ========================================================================== */
.sfx-audio-wrap {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
  opacity: 0;
  transition: 0.8s ease;
}

.sfx-audio-wrap.sfx-audio-visible {
  opacity: 1;
}

.sfx-audio-btn {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(2, 6, 23, 0.9);
  color: #d4af37;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.sfx-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #d4af37;
  opacity: 0;
  pointer-events: none;
}

/* Audio Playing State */
.sfx-audio-playing .sfx-ripple {
  animation: sfxPulse 2s infinite;
}
.sfx-audio-playing svg {
  animation: sfxRotate 4s linear infinite;
}

.sfx-audio-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ANIMATIONS & MOBILE
   ========================================================================== */
@keyframes sfxScrollAnim {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

@keyframes sfxPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes sfxRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .sfx-hero-title {
    font-size: 1.8rem;
  }
  .sfx-ticket-section {
    margin-top: -10vh;
  }
  .sfx-audio-label {
    display: none;
  }
  .sfx-hero-inner {
    padding: 0 20px;
  }
}
