* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffffff;
  --accent: #3B82F6;
  --bg: #000000;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Stage ── */
.stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Video Container ── */
.video-container {
  position: relative;
  flex: 1;
  width: 100%;
  background: #000;
}

.main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DejaCast player injects video.js tree (not native <video>); force cover-fill */
.video-container .dejacast-embed,
.video-container .dejacast-embed .video-js,
.video-container .dejacast-embed .video-js .vjs-tech,
.video-container .dejacast-embed .video-js video,
.video-container .dejacast-embed .video-js .vjs-poster {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
}

.video-container .dejacast-embed .video-js .vjs-tech,
.video-container .dejacast-embed .video-js video {
  object-fit: cover;
}

.video-container .dejacast-embed .video-js .vjs-poster {
  background-size: cover !important;
}

/* ── Top Overlay ── */
.overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  text-align: center;
}

.video-names {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.names-sep {
  display: inline-block;
  margin: 0 10px;
  opacity: 0.7;
  font-weight: 300;
}

.video-date {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* ── Play Overlay ── */
.overlay-play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.4s;
}

.overlay-play.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-button {
  position: relative;
  width: 140px;
  height: 140px;
  background: transparent;
  border: none;
  cursor: pointer;
  animation: playFloat 4s ease-in-out infinite;
}

@keyframes playFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.play-rings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
  width: 120%;
  height: 120%;
  animation: ringPulse 3s ease-in-out 0.5s infinite;
}

.ring-3 {
  width: 140%;
  height: 140%;
  animation: ringPulse 3s ease-in-out 1s infinite;
}

@keyframes ringPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

.play-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
  transition: all 0.3s;
}

.play-button:hover .play-icon {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.7);
}

.play-button:active .play-icon {
  transform: scale(0.95);
}

.play-hint {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Sound Overlay ── */
.sound-overlay {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.sound-overlay.visible {
  opacity: 1;
  visibility: visible;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.sound-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}

.sound-pill:active {
  transform: scale(0.95);
}

/* ── Video Progress ── */
.video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #8B5CF6 100%);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* ── Side Rail ── */
.side-rail {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rail-btn {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: relative;
}

.rail-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s;
}

.rail-btn:hover::before {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0;
}

.rail-btn:active {
  transform: scale(0.9);
}

.rail-btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
  border-color: transparent;
  box-shadow: 
    0 4px 20px rgba(59, 130, 246, 0.5),
    0 0 40px rgba(59, 130, 246, 0.3);
  animation: primaryPulse 3s ease-in-out infinite;
}

@keyframes primaryPulse {
  0%, 100% {
    box-shadow: 
      0 4px 20px rgba(59, 130, 246, 0.5),
      0 0 40px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 
      0 4px 24px rgba(59, 130, 246, 0.6),
      0 0 50px rgba(59, 130, 246, 0.4);
  }
}


/* ── Backdrop ── */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ── Modal ── */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 400px;
  max-height: 85vh;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-inner {
  position: relative;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 32px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-inner::-webkit-scrollbar {
  width: 6px;
}

.modal-inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:active {
  transform: scale(0.9);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* ── Event Item ── */
.event-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.event-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.event-info {
  flex: 1;
}

.event-name {
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.event-time {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.event-place {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.event-link:active {
  transform: scale(0.97);
}

/* ── Info Section ── */
.info-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-heading {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.info-text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.info-text strong {
  color: white;
}

/* ── Form ── */
.form-field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 13px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-item input {
  display: none;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 16px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-item input:checked + .radio-label {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s;
}

.stepper-btn:active {
  transform: scale(0.9);
}

.stepper input {
  width: 80px;
  padding: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  font-family: inherit;
}

.field-input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 16px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  transition: all 0.3s;
  margin-top: 8px;
}

.submit-btn:active {
  transform: scale(0.98);
}

/* ── Success Screen ── */
.success-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.success-screen.active {
  opacity: 1;
  visibility: visible;
}

.success-content {
  width: 90%;
  max-width: 360px;
  padding: 40px 32px;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-screen.active .success-content {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.success-text {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.success-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  transition: all 0.2s;
}

.success-btn:active {
  transform: scale(0.98);
}

/* ── Responsive ── */
@media (max-width: 380px) {
  .main-names {
    font-size: 36px;
  }
  
  .orb-core {
    width: 140px;
    height: 140px;
  }
  
  .action-tile {
    padding: 24px 16px;
  }
}
