/* @license MANSPICK(R) 804-18-02180 | manspick.kr */
:root {
  --_mp-sig: "mp-2k26-jhu-8041802180";
  --_mp-k9x7: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #0a0a0a;
  -webkit-text-size-adjust: 100%;

}

._mp_k9x7 { content: var(--_mp-sig); }

body {
  font-family: 'Pretendard', 'Geist', system-ui, sans-serif;
  background-color: transparent;
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

*, *::before, *::after {
  min-width: 0;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .hybrid-featured {
    animation: none;
  }
}

.break-keep {
  word-break: keep-all;
}

/* Hybrid featured card glow */
.hybrid-featured {
  box-shadow: 0 25px 80px -20px rgba(45, 118, 246, 0.55), 0 0 0 0 rgba(45, 118, 246, 0.4);
  animation: hybridGlow 3.2s ease-in-out infinite;
}

@keyframes hybridGlow {
  0%, 100% { box-shadow: 0 25px 80px -20px rgba(45, 118, 246, 0.55), 0 0 0 0 rgba(45, 118, 246, 0.4); }
  50% { box-shadow: 0 30px 95px -15px rgba(45, 118, 246, 0.8), 0 0 0 6px rgba(45, 118, 246, 0.08); }
}

.font-display {
  font-family: 'Geist', 'Pretendard', system-ui, sans-serif;
  letter-spacing: -0.04em;
}


.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mesh-bg {
  background-image:
    radial-gradient(at 18% 12%, rgba(45, 118, 246, 0.22) 0px, transparent 50%),
    radial-gradient(at 82% 0%, rgba(87, 195, 250, 0.14) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(45, 118, 246, 0.10) 0px, transparent 50%);
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-strong {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-track {
  animation: marquee 40s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes marquee-reverse {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.marquee-track-reverse {
  animation: marquee-reverse 50s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.marquee-mask {
  position: relative;
}

.marquee-mask::before,
.marquee-mask::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}

.marquee-mask::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a, transparent);
}

.marquee-mask::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a, transparent);
}

.marquee-row .glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #18181b;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  clip-path: inset(0 round 1rem);
  -webkit-clip-path: inset(0 round 1rem);
  contain: content;
}

.marquee-row:hover .marquee-track,
.marquee-row:hover .marquee-track-reverse {
  animation-play-state: paused;
}

.cta-primary {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary:hover {
  transform: scale(1.02);
}

.cta-primary:active {
  transform: scale(0.98);
}

.cta-primary .arrow {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary:hover .arrow {
  transform: translateX(4px);
}

/* Sticky CTA sheen animation */
@keyframes sheen {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Sticky CTA button interactions */
.sticky-cta-btn {
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.sticky-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px -6px rgba(45, 118, 246, 0.85);
  animation-play-state: paused;
}

.sticky-cta-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 4px 12px -4px rgba(45, 118, 246, 0.6);
  background: linear-gradient(to right, #1e5fd6, #2d76f6);
  transition-duration: 80ms;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px -6px rgba(45, 118, 246, 0.7), 0 0 0 0 rgba(45, 118, 246, 0.5);
  }

  50% {
    box-shadow: 0 8px 24px -6px rgba(45, 118, 246, 0.7), 0 0 0 10px rgba(45, 118, 246, 0);
  }
}

/* Before/After label tag */
.ba-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
}

.ba-tag.after {
  background: #2D76F6;
  color: #ffffff;
}

.strike-zero {
  display: inline-block;
  color: #a1a1aa;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  letter-spacing: 0.02em;
}

.dot-line {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* Step number outline */
.num-outline {
  -webkit-text-stroke: 1.5px rgba(45, 118, 246, 0.45);
  color: transparent;
}

/* Neon countdown */
.neon-digit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.neon-text {
  color: #fff;
  text-shadow:
    0 0 7px rgba(45, 118, 246, 0.8),
    0 0 20px rgba(45, 118, 246, 0.5),
    0 0 40px rgba(45, 118, 246, 0.3);
}

.neon-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(45, 118, 246, 0.5);
  font-weight: 600;
}

.neon-blink {
  animation: neonBlink 1s ease-in-out infinite;
}

@keyframes neonBlink {
  0%, 100% {
    text-shadow:
      0 0 7px rgba(45, 118, 246, 0.8),
      0 0 20px rgba(45, 118, 246, 0.5),
      0 0 40px rgba(45, 118, 246, 0.3);
  }
  50% {
    text-shadow:
      0 0 10px rgba(45, 118, 246, 1),
      0 0 30px rgba(45, 118, 246, 0.7),
      0 0 60px rgba(45, 118, 246, 0.4),
      0 0 80px rgba(45, 118, 246, 0.2);
  }
}

@media (min-width: 768px) {
  .neon-label {
    font-size: 10px;
  }
}

/* Guidebook blink shimmer */
.guidebook-blink {
  animation: guidebookBlink 3s ease-in-out infinite;
}

@keyframes guidebookBlink {
  0%, 70%, 100% { opacity: 1; }
  80% { opacity: 0.5; }
  90% { opacity: 1; }
  95% { opacity: 0.5; }
}

details summary::-webkit-details-marker {
  display: none;
}

/* Accessibility: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track,
  .marquee-track-reverse {
    animation: none !important;
  }
  .float {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Quiz option cards */
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.quiz-option:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.quiz-option.selected {
  border-color: rgba(45, 118, 246, 0.5);
  background: rgba(45, 118, 246, 0.08);
  box-shadow: 0 0 0 1px rgba(45, 118, 246, 0.2);
}

/* Select dropdown styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.4L2.6 6h10.8L8 11.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option {
  background: #18181b;
  color: #f5f5f5;
}

/* Autofill 배경색 오버라이드 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #18181b inset !important;
  -webkit-text-fill-color: #f5f5f5 !important;
  caret-color: #f5f5f5;
  transition: background-color 5000s ease-in-out 0s;
}
