:root {
  /* Catppuccin Mocha Colors */
  --ctp-rosewater: #f5e0dc;
  --ctp-flamingo: #f2cdcd;
  --ctp-pink: #f5c2e7;
  --ctp-mauve: #cba6f7;
  --ctp-red: #f38ba8;
  --ctp-maroon: #eba0ac;
  --ctp-peach: #fab387;
  --ctp-yellow: #f9e2af;
  --ctp-green: #a6e3a1;
  --ctp-teal: #94e2d5;
  --ctp-sky: #89dceb;
  --ctp-sapphire: #74c7ec;
  --ctp-blue: #89b4fa;
  --ctp-lavender: #b4befe;
  --ctp-text: #cdd6f4;
  --ctp-subtext1: #bac2de;
  --ctp-subtext0: #a6adc8;
  --ctp-overlay2: #9399b2;
  --ctp-overlay1: #7f849c;
  --ctp-overlay0: #6c7086;
  --ctp-surface2: #585b70;
  --ctp-surface1: #45475a;
  --ctp-surface0: #313244;
  --ctp-base: #1e1e2e;
  --ctp-mantle: #181825;
  --ctp-crust: #11111b;

  /* Theme Mappings */
  --color-background: var(--ctp-base);
  --color-background-secondary: var(--ctp-surface0);
  --color-background-tertiary: var(--ctp-mantle);
  --color-text-primary: var(--ctp-text);
  --color-text-secondary: var(--ctp-subtext1);
  --color-text-tertiary: var(--ctp-subtext0);
  --color-accent-primary: var(--ctp-mauve);
  --color-accent-hover: var(--ctp-lavender);
  --color-accent-active: var(--ctp-pink);
  --color-border: var(--ctp-surface1);
  --color-border-light: var(--ctp-surface0);
  --color-success: var(--ctp-green);
  --color-warning: var(--ctp-peach);
  --color-error: var(--ctp-red);

  /* Spacing Scale (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --accent-gradient: linear-gradient(135deg, var(--ctp-pink), var(--ctp-mauve));
  --glass-bg: rgba(30, 30, 46, 0.7);
  --glass-blur: blur(12px);
  --glass-border: rgba(205, 214, 244, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --border-glow: rgba(203, 166, 247, 0.3);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
body {
  background: var(--ctp-base);
  color: var(--ctp-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  color: var(--ctp-text);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-6xl));
}

h2 {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
}

h3 {
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
}

p {
  color: var(--ctp-subtext1);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  transition: all var(--transition-base);
  user-select: none;
}

button:active {
  transform: scale(0.98);
}

.presentation-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

/* Development Notice Inline */
.dev-notice-inline {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 0%;
  }

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

.dev-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--ctp-text);
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.coming-soon-wrapper {
  white-space: nowrap;
  display: inline-block;
}

.coming-soon {
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  background: linear-gradient(90deg,
      var(--ctp-pink) 0%,
      var(--ctp-mauve) 25%,
      var(--ctp-lavender) 50%,
      var(--ctp-blue) 75%,
      var(--ctp-pink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientSlide 4s linear infinite;
  display: inline-block;
}

.loading-dots {
  display: inline-block;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.dot {
  display: inline-block;
  animation: dotBounce 1.4s infinite;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--ctp-mauve);
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {

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

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

/* Hero Box */
.hero-box {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 4rem 2rem;
  margin: 0 -100vw 6rem -100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(rgba(30, 30, 46, 0.88), rgba(30, 30, 46, 0.92)), url('https://w.wallhaven.cc/full/6d/wallhaven-6dygpl.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  z-index: 10;
}

.hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(203, 166, 247, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--ctp-base));
  pointer-events: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--ctp-text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
}

.highlight-text {
  background: linear-gradient(135deg, var(--ctp-mauve), var(--ctp-lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  color: var(--ctp-subtext1);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Discovery Section */
.discovery-section {
  background: rgba(30, 30, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(203, 166, 247, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.discovery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 166, 247, 0.5), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #e8e8e8;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  background: rgba(49, 50, 68, 0.5);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(203, 166, 247, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(203, 166, 247, 0.08), rgba(137, 180, 250, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(203, 166, 247, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:nth-child(1) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.8s;
}

.feature-card:hover {
  background: rgba(49, 50, 68, 0.7);
  border-color: rgba(203, 166, 247, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(203, 166, 247, 0.2), rgba(137, 180, 250, 0.15));
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon-box {
  background: linear-gradient(135deg, rgba(203, 166, 247, 0.3), rgba(137, 180, 250, 0.25));
  transform: scale(1.1) rotate(5deg);
}

.feature-icon-box svg {
  color: var(--ctp-mauve);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-box svg {
  transform: scale(1.15);
}

.feature-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ctp-text);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-name {
  color: var(--ctp-lavender);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--ctp-subtext1);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* FAQ Section */
.faq-section-box {
  background: rgba(30, 30, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(203, 166, 247, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.faq-section-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 166, 247, 0.5), transparent);
}

.section-subtitle {
  text-align: center;
  color: var(--ctp-subtext0);
  font-size: 0.95rem;
  margin: 0 auto 2.5rem auto;
  max-width: 600px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(24, 24, 37, 0.4);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(203, 166, 247, 0.15);
  border-radius: 16px;
  padding: 2rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ctp-mauve), var(--ctp-lavender), var(--ctp-pink));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(203, 166, 247, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-item:hover::after {
  opacity: 1;
}

.faq-item:nth-child(1) {
  animation-delay: 0.8s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.9s;
}

.faq-item:nth-child(3) {
  animation-delay: 1s;
}

.faq-item:nth-child(4) {
  animation-delay: 1.1s;
}

.faq-item:hover {
  border-color: rgba(203, 166, 247, 0.4);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.faq-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(203, 166, 247, 0.2), rgba(137, 180, 250, 0.15));
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.faq-item:hover .faq-icon-box {
  background: linear-gradient(135deg, rgba(203, 166, 247, 0.3), rgba(137, 180, 250, 0.25));
  transform: scale(1.1) rotate(5deg);
}

.faq-icon-box svg {
  color: var(--ctp-mauve);
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-icon-box svg {
  transform: scale(1.1);
}

.faq-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ctp-text);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.faq-item:hover .faq-title {
  color: var(--ctp-lavender);
}

.faq-text {
  font-size: 0.95rem;
  color: var(--ctp-subtext1);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Footer */
.footer-section {
  text-align: center;
  padding: 4rem 0 3rem 0;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  background: rgba(24, 24, 37, 0.6);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(203, 166, 247, 0.15);
  border-radius: 20px;
  margin: 0 auto 2rem auto;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ctp-mauve), var(--ctp-lavender), var(--ctp-pink));
  opacity: 0.8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.github-logo {
  color: var(--ctp-mauve);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(203, 166, 247, 0.5));
}

.footer-section:hover .github-logo {
  color: var(--ctp-lavender);
  transform: scale(1.15) rotate(360deg);
  filter: drop-shadow(0 0 20px rgba(180, 190, 254, 0.8));
}

.footer-text {
  font-size: 1rem;
  color: var(--ctp-text);
  font-weight: 500;
  line-height: 1.6;
  max-width: 600px;
}

.footer-text strong {
  background: linear-gradient(135deg, var(--ctp-mauve), var(--ctp-lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-link {
  color: var(--ctp-mauve);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: rgba(203, 166, 247, 0.1);
  border-radius: 8px;
  border: 1.5px solid rgba(203, 166, 247, 0.3);
}

.footer-link::before {
  content: '→';
  font-size: 1.125rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  color: var(--ctp-lavender);
  background: rgba(203, 166, 247, 0.2);
  border-color: var(--ctp-lavender);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(203, 166, 247, 0.3);
}

.footer-link:hover::before {
  transform: translateX(4px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ctp-mantle);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ctp-surface1), var(--ctp-surface2));
  border-radius: var(--radius-full);
  border: 2px solid var(--ctp-mantle);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--ctp-mauve), var(--ctp-lavender));
}

::selection {
  background: rgba(203, 166, 247, 0.4);
  color: var(--ctp-text);
  text-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
  .presentation-layout {
    padding: 0 1rem 2rem 1rem;
  }

  .dev-notice-inline {
    margin-top: 2rem;
  }

  .dev-text {
    font-size: 1.25rem;
  }

  .coming-soon {
    font-size: 1.5rem;
  }

  .dot {
    font-size: 1.75rem;
  }

  .hero-box {
    min-height: 60vh;
    padding: 5rem 1.5rem;
  }

  .discovery-section,
  .faq-section-box {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
  }

  .hero-subtitle br {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .spark {
    display: none !important;
  }
}

/* Spark Animations */
.spark {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--ctp-mauve);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  box-shadow: 0 0 8px var(--ctp-mauve), 0 0 12px var(--ctp-lavender);
  will-change: transform, opacity;
  bottom: -20px;
}

@keyframes sparkFloat1 {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(0, -50px) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translate(100px, -100vh) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkFloat2 {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(0, -50px) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translate(-80px, -100vh) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkFloat3 {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(0, -50px) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translate(60px, -100vh) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkFloat4 {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(0, -50px) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translate(-120px, -100vh) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkFloat5 {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(0, -50px) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translate(40px, -100vh) scale(0.5);
    opacity: 0;
  }
}

.spark:nth-child(1) {
  animation: sparkFloat1 8s ease-in-out infinite;
  animation-delay: 0s;
  left: 10%;
}

.spark:nth-child(2) {
  animation: sparkFloat2 9s ease-in-out infinite;
  animation-delay: 1s;
  left: 25%;
}

.spark:nth-child(3) {
  animation: sparkFloat3 7s ease-in-out infinite;
  animation-delay: 2s;
  left: 40%;
}

.spark:nth-child(4) {
  animation: sparkFloat4 10s ease-in-out infinite;
  animation-delay: 0.5s;
  left: 55%;
}

.spark:nth-child(5) {
  animation: sparkFloat5 8.5s ease-in-out infinite;
  animation-delay: 1.5s;
  left: 70%;
}

.spark:nth-child(6) {
  animation: sparkFloat1 9.5s ease-in-out infinite;
  animation-delay: 3s;
  left: 85%;
}

.spark:nth-child(7) {
  animation: sparkFloat2 7.5s ease-in-out infinite;
  animation-delay: 2.5s;
  left: 15%;
}

.spark:nth-child(8) {
  animation: sparkFloat3 8s ease-in-out infinite;
  animation-delay: 4s;
  left: 30%;
}

.spark:nth-child(9) {
  animation: sparkFloat4 9s ease-in-out infinite;
  animation-delay: 3.5s;
  left: 50%;
}

.spark:nth-child(10) {
  animation: sparkFloat5 7s ease-in-out infinite;
  animation-delay: 5s;
  left: 65%;
}

.spark:nth-child(11) {
  animation: sparkFloat1 10s ease-in-out infinite;
  animation-delay: 4.5s;
  left: 80%;
}

.spark:nth-child(12) {
  animation: sparkFloat2 8.5s ease-in-out infinite;
  animation-delay: 6s;
  left: 20%;
}

.spark.lavender {
  background: var(--ctp-lavender);
  box-shadow: 0 0 8px var(--ctp-lavender), 0 0 12px var(--ctp-pink);
}

.spark.pink {
  background: var(--ctp-pink);
  box-shadow: 0 0 8px var(--ctp-pink), 0 0 12px var(--ctp-mauve);
}

.spark.blue {
  background: var(--ctp-blue);
  box-shadow: 0 0 8px var(--ctp-blue), 0 0 12px var(--ctp-sapphire);
}

/* Credits Footer */
.credits {
  text-align: center;
  padding: 2rem 0 3rem;
  color: var(--ctp-subtext0);
  font-size: 0.9rem;
  font-family: var(--font-display);
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.credits a {
  color: var(--ctp-mauve);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.credits a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--ctp-pink);
  transition: width 0.3s ease;
}

.credits a:hover {
  color: var(--ctp-pink);
}

.credits a:hover::after {
  width: 100%;
}