/**
 * ============================================================================
 * NoFake Premium CSS Design System
 * ============================================================================
 * 
 * 世界トップレベルのUI/UXを実現するためのプレミアムCSSスタイルシート。
 * 足し算と引き算のデザインを基調とし、無駄なインラインスタイルを統合しつつ、
 * 高品位なアニメーション、Glassmorphism、3D効果、カスタムカーソルなどを提供します。
 */

/* ─── 1. EXTENDED DESIGN TOKENS (add to :root) ─── */
:root {
  /* Premium Glows */
  --nf-glow: 0 0 18px rgba(199, 163, 90, 0.18);
  --nf-glow-strong: 0 0 28px rgba(199, 163, 90, 0.28);
  --nf-glow-blue: 0 0 18px rgba(38, 50, 65, 0.5);
  --nf-glow-purple: 0 0 18px rgba(199, 163, 90, 0.16);

  /* Glassmorphism */
  --nf-glass-bg: rgba(23, 28, 36, 0.72);
  --nf-glass-bg-hover: rgba(30, 36, 46, 0.82);
  --nf-glass-border: rgba(255, 255, 255, 0.06);
  --nf-glass-border-hover: rgba(255, 255, 255, 0.12);
  --nf-glass-blur: 16px;

  /* Premium Gradients */
  --nf-gradient-1: linear-gradient(135deg, #c7a35a 0%, #2a3442 100%);
  --nf-gradient-2: linear-gradient(135deg, #e2cf9a 0%, #b28d4b 100%);
  --nf-gradient-3: linear-gradient(135deg, #141a22 0%, #2a3442 55%, #c7a35a 100%);
  --nf-gradient-dark: linear-gradient(180deg, rgba(15, 15, 26, 0.8) 0%, rgba(26, 26, 46, 0.95) 100%);
  --nf-gradient-aurora: linear-gradient(270deg, #151a21, #2a3442, #c7a35a, #151a21);

  /* Transitions */
  --nf-transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --nf-transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --nf-transition-fast: all 0.2s ease-out;

  /* Shadows */
  --nf-shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --nf-shadow-premium-hover: 0 20px 40px -15px rgba(233, 69, 96, 0.3);
}

/* ─── 2. GLASSMORPHISM CLASSES ─── */
.nf-glass {
  background: var(--nf-glass-bg);
  backdrop-filter: blur(var(--nf-glass-blur));
  -webkit-backdrop-filter: blur(var(--nf-glass-blur));
  border: 1px solid var(--nf-glass-border);
  transition: var(--nf-transition-smooth);
}

.nf-glass:hover {
  background: var(--nf-glass-bg-hover);
  border-color: var(--nf-glass-border-hover);
}

.nf-glass-card {
  background: var(--nf-glass-bg);
  backdrop-filter: blur(var(--nf-glass-blur));
  -webkit-backdrop-filter: blur(var(--nf-glass-blur));
  border: 1px solid var(--nf-glass-border);
  border-radius: 16px;
  box-shadow: var(--nf-shadow-premium);
  transition: var(--nf-transition-smooth);
  overflow: hidden;
}

.nf-glass-header {
  background: rgba(15, 15, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nf-glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ─── 3. KEYFRAMES ANIMATIONS (30+ animations) ─── */
@keyframes nf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nf-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nf-fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nf-fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nf-fade-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nf-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes nf-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes nf-scale-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes nf-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes nf-glow-pulse {
  0% { box-shadow: 0 0 5px rgba(233, 69, 96, 0.2); }
  50% { box-shadow: 0 0 25px rgba(233, 69, 96, 0.6); }
  100% { box-shadow: 0 0 5px rgba(233, 69, 96, 0.2); }
}

@keyframes nf-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes nf-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes nf-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nf-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

@keyframes nf-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes nf-gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes nf-border-glow {
  0% { border-color: rgba(233, 69, 96, 0.3); }
  50% { border-color: rgba(124, 58, 237, 0.8); }
  100% { border-color: rgba(233, 69, 96, 0.3); }
}

@keyframes nf-text-glow {
  0% { text-shadow: 0 0 5px rgba(233, 69, 96, 0.2); }
  50% { text-shadow: 0 0 15px rgba(233, 69, 96, 0.8), 0 0 25px rgba(124, 58, 237, 0.4); }
  100% { text-shadow: 0 0 5px rgba(233, 69, 96, 0.2); }
}

@keyframes nf-ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes nf-typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes nf-aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes nf-morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 30% / 50% 60% 30% 70%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes nf-particle-float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes nf-loading-bar {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes nf-stagger-in {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nf-rotate-in {
  from {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes nf-flip-in {
  from {
    transform: perspective(600px) rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: perspective(600px) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes nf-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes nf-heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

@keyframes nf-neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.6));
  }
  20%, 24%, 55% {
    opacity: 0.3;
    filter: none;
  }
}

@keyframes nf-matrix-rain {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ─── 4. ANIMATION UTILITY CLASSES ─── */
.nf-animate-fade-in { animation: nf-fade-in 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.nf-animate-fade-in-up { animation: nf-fade-in-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.nf-animate-fade-in-down { animation: nf-fade-in-down 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.nf-animate-fade-in-left { animation: nf-fade-in-left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.nf-animate-fade-in-right { animation: nf-fade-in-right 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.nf-animate-slide-up { animation: nf-slide-up 0.6s ease-out forwards; }
.nf-animate-slide-down { animation: nf-slide-down 0.6s ease-out forwards; }
.nf-animate-scale-in { animation: nf-scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.nf-animate-zoom-in { animation: nf-zoom-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.nf-animate-glow-pulse { animation: nf-glow-pulse 2s infinite ease-in-out; }
.nf-animate-float { animation: nf-float 6s ease-in-out infinite; }
.nf-animate-spin { animation: nf-spin 8s linear infinite; }
.nf-animate-bounce { animation: nf-bounce 2s infinite; }
.nf-animate-shake { animation: nf-shake 0.8s ease-in-out; }
.nf-animate-heartbeat { animation: nf-heartbeat 1.5s infinite ease-in-out; }
.nf-animate-neon-flicker { animation: nf-neon-flicker 4s infinite; }

/* Delays */
.nf-animate-delay-100 { animation-delay: 100ms !important; }
.nf-animate-delay-200 { animation-delay: 200ms !important; }
.nf-animate-delay-300 { animation-delay: 300ms !important; }
.nf-animate-delay-400 { animation-delay: 400ms !important; }
.nf-animate-delay-500 { animation-delay: 500ms !important; }
.nf-animate-delay-600 { animation-delay: 600ms !important; }
.nf-animate-delay-700 { animation-delay: 700ms !important; }
.nf-animate-delay-800 { animation-delay: 800ms !important; }
.nf-animate-delay-900 { animation-delay: 900ms !important; }
.nf-animate-delay-1000 { animation-delay: 1000ms !important; }

/* Durations */
.nf-animate-duration-fast { animation-duration: 0.3s !important; }
.nf-animate-duration-normal { animation-duration: 0.6s !important; }
.nf-animate-duration-slow { animation-duration: 1.2s !important; }

/* Scroll trigger placeholder */
.nf-animate-on-scroll {
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
}
.nf-animate-on-scroll.animated {
  opacity: 1;
}

/* ─── 5. ENHANCED COMPONENTS ─── */
.nf-hero-premium {
  position: relative;
  overflow: hidden;
  background: var(--nf-bg);
  padding: 120px 0 80px 0;
  border-bottom: 1px solid var(--nf-border);
}

.nf-hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nf-gradient-aurora);
  background-size: 400% 400%;
  animation: nf-gradient-flow 15s ease infinite;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.nf-card-premium {
  background: var(--nf-glass-bg);
  border: 1px solid var(--nf-glass-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--nf-shadow-premium);
  transition: var(--nf-transition-smooth);
  position: relative;
  overflow: hidden;
}

.nf-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.nf-card-premium:hover::before {
  left: 150%;
}

.nf-card-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 163, 90, 0.28);
  box-shadow: var(--nf-shadow-premium);
}

/* 3D Card Support */
.nf-card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.nf-btn-premium {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  background: var(--nf-accent);
  border: 1px solid rgba(226, 207, 154, 0.28);
  border-radius: 4px;
  box-shadow: var(--nf-shadow-premium);
  transition: var(--nf-transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nf-btn-premium:hover {
  background: #d0ad67;
  box-shadow: var(--nf-glow);
  transform: translateY(-1px);
}

.nf-btn-glow {
  border: 1px solid var(--nf-accent);
  background: transparent;
  color: var(--nf-accent);
  box-shadow: none;
}

.nf-btn-glow:hover {
  background: rgba(199, 163, 90, 0.12);
  color: var(--nf-accent);
  box-shadow: none;
}

.nf-section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nf-accent), transparent);
  margin: 60px 0;
  opacity: 0.6;
}

.nf-text-gradient {
  color: var(--nf-accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.nf-text-glow {
  color: #fff;
  text-shadow: var(--nf-glow);
}

.nf-badge-glow {
  background: rgba(199, 163, 90, 0.1);
  color: var(--nf-accent);
  border: 1px solid rgba(199, 163, 90, 0.24);
  box-shadow: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Timeline Components */
.nf-timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
  border-left: 2px solid var(--nf-border);
}

.nf-timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.nf-timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--nf-accent);
  border: 3px solid var(--nf-bg);
  box-shadow: 0 0 10px var(--nf-accent);
  transition: var(--nf-transition-smooth);
}

.nf-timeline-item:hover::before {
  transform: scale(1.3);
  background: #fff;
}

/* ─── 6. CUSTOM CURSOR STYLES ─── */
.cursor-dot, .cursor-ring, .cursor-glow, .cursor-trail, .cursor-crosshair, .cursor-neon {
  cursor: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'), auto !important;
}

.cursor-dot a, .cursor-dot button,
.cursor-ring a, .cursor-ring button,
.cursor-glow a, .cursor-glow button,
.cursor-trail a, .cursor-trail button,
.cursor-crosshair a, .cursor-crosshair button,
.cursor-neon a, .cursor-neon button {
  cursor: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'), auto !important;
}

/* Custom Cursor Elements (generated by JS) */
.nf-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: transform;
  display: none;
}

.nf-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--nf-accent);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s;
}

.nf-cursor-ring {
  width: 30px;
  height: 30px;
  border: 2px solid var(--nf-accent);
  border-radius: 50%;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.nf-cursor-glow {
  width: 24px;
  height: 24px;
  background-color: rgba(233, 69, 96, 0.3);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.8);
  border-radius: 50%;
}

.nf-cursor-trail-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--nf-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.nf-cursor-crosshair-element {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}
.nf-cursor-crosshair-element::before,
.nf-cursor-crosshair-element::after {
  content: '';
  position: absolute;
  background-color: var(--nf-accent);
}
.nf-cursor-crosshair-element::before {
  width: 20px;
  height: 2px;
  left: -10px;
  top: -1px;
}
.nf-cursor-crosshair-element::after {
  width: 2px;
  height: 20px;
  left: -1px;
  top: -10px;
}

.nf-cursor-neon-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--nf-accent), 0 0 30px var(--nf-accent);
}

/* Hover scales */
.nf-custom-cursor.hovered .nf-cursor-dot {
  width: 24px;
  height: 24px;
  background-color: rgba(233, 69, 96, 0.8);
}
.nf-custom-cursor.hovered .nf-cursor-ring {
  width: 50px;
  height: 50px;
  border-color: #fff;
  background-color: rgba(233, 69, 96, 0.1);
}
.nf-custom-cursor.hovered .nf-cursor-glow {
  transform: translate(-50%, -50%) scale(2);
  background-color: rgba(233, 69, 96, 0.5);
}

/* ─── 7. CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nf-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--nf-accent), #0f3460);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nf-accent);
}

/* ─── 8. PAGE TRANSITION OVERLAY ─── */
.nf-page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--nf-bg);
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nf-page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* Slide Transition */
.nf-page-transition-slide {
  transform: translateX(-100%);
  background: var(--nf-gradient-1);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.nf-page-transition-slide.active {
  transform: translateX(0);
}

/* Morph Transition */
.nf-page-transition-morph {
  clip-path: circle(0% at 50% 50%);
  background: var(--nf-gradient-2);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.nf-page-transition-morph.active {
  clip-path: circle(150% at 50% 50%);
}

/* Entering transition for page onload */
.nf-page-enter {
  animation: nf-fade-in 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* ─── 9. PARTICLE BACKGROUND CONTAINER ─── */
.nf-particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ─── 10. LOADING / PROGRESS BAR ─── */
.nf-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--nf-gradient-2);
  z-index: 10001;
  width: 0;
  transition: width 0.2s ease-out;
  box-shadow: 0 0 8px var(--nf-accent);
}

.nf-progress-bar.complete {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease-out, opacity 0.3s ease 0.2s;
}

/* Skeleton Loading */
.nf-skeleton {
  background: linear-gradient(90deg, #16213e 25%, #1f305e 37%, #16213e 63%);
  background-size: 400% 100%;
  animation: nf-shimmer 1.4s ease infinite;
}

/* ─── 11. ENHANCED HOVER EFFECTS ─── */
.nf-hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--nf-shadow-premium-hover);
}

.nf-hover-glow:hover {
  box-shadow: var(--nf-glow);
}

.nf-hover-scale:hover {
  transform: scale(1.04);
}

.nf-hover-border-glow:hover {
  animation: nf-border-glow 2s infinite ease-in-out;
  border-color: var(--nf-accent);
}

/* Shimmer sweeping hover */
.nf-hover-shimmer {
  position: relative;
  overflow: hidden;
}
.nf-hover-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}
.nf-hover-shimmer:hover::after {
  left: 100%;
}

/* ─── 12. RESPONSIVE ANIMATION CONTROL ─── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .nf-custom-cursor, .nf-cursor-trail-dot, .nf-cursor-crosshair-element {
    display: none !important;
  }
  body, html {
    cursor: auto !important;
  }
}

@media (max-width: 768px) {
  /* Mobile optimization: simplify animations and interactions to save GPU/Battery */
  .nf-card-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 163, 90, 0.28);
  box-shadow: var(--nf-shadow-premium);
}
  .nf-custom-cursor, .nf-cursor-trail-dot, .nf-cursor-crosshair-element {
    display: none !important;
  }
  body, html {
    cursor: auto !important;
  }
  .nf-animate-float {
    animation-duration: 12s !important; /* slow down */
  }
}

/* ─── 13. SEASONAL EFFECTS SUPPORT ─── */
/* Snow Effect */
.nf-snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.nf-snowflake {
  position: absolute;
  top: -10px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  animation: nf-snow-fall linear infinite;
}

@keyframes nf-snow-fall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) translateX(80px);
    opacity: 0;
  }
}

/* Sakura Effect */
.nf-sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.nf-sakura-petal {
  position: absolute;
  top: -20px;
  background: linear-gradient(135deg, #ffb7c5, #ffa4b6);
  border-radius: 100% 0% 100% 100% / 100% 0% 100% 100%;
  opacity: 0.8;
  pointer-events: none;
  transform-origin: left top;
  animation: nf-sakura-fall linear infinite;
}

@keyframes nf-sakura-fall {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) translateX(120px) rotate(720deg) scale(0.8);
    opacity: 0;
  }
}

/* ─── 14. FOOTER ENHANCEMENT ─── */
.nf-footer-premium {
  position: relative;
  background: #0b0b13;
  border-top: 1px solid var(--nf-border);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  overflow: hidden;
}

.nf-footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nf-gradient-1);
}

.nf-footer-wave {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.nf-footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}

.nf-footer-wave .shape-fill {
  fill: #0b0b13;
}
