@charset "UTF-8";
/* ============================================
   COSMIA SMP — Cosmic Noir Theme
   Bebop × Demon Slayer × Minecraft × Space Emo
   ============================================ */
/* --- Scroll offset for sticky header --- */
:target {
  scroll-margin-top: 5rem;
}

/* --- Noise texture overlay --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Scanline overlay --- */
.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
}

/* --- Focus styles --- */
*:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* --- Selection --- */
::selection {
  background-color: rgba(220, 38, 38, 0.35);
  color: #fbbf24;
}

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

::-webkit-scrollbar-track {
  background: #050508;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #dc2626 0%, #f59e0b 100%);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ef4444 0%, #fbbf24 100%);
}

/* --- Star field layers (warmer tones) --- */
.starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stars-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.stars-sm {
  background-image: radial-gradient(1px 1px at 50px 80px, rgba(255, 255, 255, 0.5), transparent), radial-gradient(1px 1px at 150px 30px, rgba(255, 200, 150, 0.4), transparent), radial-gradient(1px 1px at 250px 120px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 320px 200px, rgba(255, 180, 120, 0.5), transparent), radial-gradient(1px 1px at 420px 50px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 80px 250px, rgba(255, 220, 180, 0.4), transparent), radial-gradient(1px 1px at 200px 300px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 380px 280px, rgba(255, 150, 100, 0.5), transparent), radial-gradient(1px 1px at 500px 150px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 550px 320px, rgba(255, 200, 150, 0.4), transparent), radial-gradient(1px 1px at 100px 380px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 450px 400px, rgba(255, 180, 120, 0.5), transparent);
  background-size: 600px 450px;
  animation: twinkle-field 8s ease-in-out infinite alternate;
}

.stars-md {
  background-image: radial-gradient(1.5px 1.5px at 180px 100px, rgba(239, 68, 68, 0.5), transparent), radial-gradient(1.5px 1.5px at 400px 220px, rgba(255, 255, 255, 0.7), transparent), radial-gradient(1.5px 1.5px at 60px 300px, rgba(245, 158, 11, 0.5), transparent), radial-gradient(1.5px 1.5px at 300px 350px, rgba(255, 255, 255, 0.6), transparent), radial-gradient(1.5px 1.5px at 520px 80px, rgba(255, 107, 53, 0.4), transparent), radial-gradient(1.5px 1.5px at 240px 200px, rgba(255, 255, 255, 0.5), transparent), radial-gradient(1.5px 1.5px at 470px 320px, rgba(239, 68, 68, 0.4), transparent), radial-gradient(1.5px 1.5px at 120px 150px, rgba(255, 255, 255, 0.6), transparent);
  background-size: 580px 420px;
  animation: twinkle-field 6s ease-in-out infinite alternate-reverse;
}

.stars-lg {
  background-image: radial-gradient(2px 2px at 350px 150px, rgba(255, 255, 255, 0.9), transparent), radial-gradient(2.5px 2.5px at 100px 280px, rgba(245, 158, 11, 0.7), transparent), radial-gradient(2px 2px at 500px 350px, rgba(239, 68, 68, 0.6), transparent), radial-gradient(2px 2px at 220px 50px, rgba(255, 107, 53, 0.5), transparent), radial-gradient(3px 3px at 450px 180px, rgb(255, 255, 255), transparent);
  background-size: 620px 440px;
  animation: twinkle-field 10s ease-in-out infinite alternate;
}

@keyframes twinkle-field {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
/* --- Glass morphism (crimson-tinted) --- */
.glass {
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-strong {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card {
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.85), rgba(10, 12, 20, 0.7));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 38, 38, 0.08);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.03), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* --- Glow effects --- */
.glow-crimson {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 60px rgba(220, 38, 38, 0.1);
}

.glow-crimson-hover:hover {
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.4), 0 0 80px rgba(220, 38, 38, 0.15);
}

.glow-ember {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25), 0 0 60px rgba(245, 158, 11, 0.08);
}

/* --- Nebula gradient backgrounds (fiery) --- */
.nebula-bg {
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220, 38, 38, 0.08), transparent), radial-gradient(ellipse 60% 40% at 80% 20%, rgba(245, 158, 11, 0.06), transparent), radial-gradient(ellipse 50% 60% at 60% 80%, rgba(255, 107, 53, 0.04), transparent);
}

/* --- Decorative orbital ring (ember) --- */
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.08);
}

.orbital-ring::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  top: -3px;
  left: 50%;
  margin-left: -3px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: orbit 20s linear infinite;
}

/* --- Gradient text (fiery) --- */
.text-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #fbbf24 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Decorative line (crimson/ember) --- */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.5) 25%, rgba(245, 158, 11, 0.4) 50%, rgba(255, 107, 53, 0.3) 75%, transparent 100%);
}

/* --- Form input glow focus --- */
.input-glow:focus {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15), inset 0 0 12px rgba(220, 38, 38, 0.05);
}

/* --- Scroll reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}

/* --- Mobile menu --- */
#mobile-menu {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CTA button shine effect --- */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.15) 55%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-shine:hover::after {
  transform: translateX(100%);
}

/* === FLOATING MINECRAFT CUBES === */
.cube-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.mc-cube {
  position: absolute;
  width: var(--size, 30px);
  height: var(--size, 30px);
  transform-style: preserve-3d;
  animation: cube-float var(--duration, 15s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: var(--opacity, 0.15);
}

.mc-cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: visible;
}

.mc-cube .face-front {
  transform: translateZ(calc(var(--size, 30px) / 2));
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.mc-cube .face-top {
  transform: rotateX(90deg) translateZ(calc(var(--size, 30px) / 2));
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.12);
}

.mc-cube .face-right {
  transform: rotateY(90deg) translateZ(calc(var(--size, 30px) / 2));
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.06));
  border: 1px solid rgba(255, 107, 53, 0.1);
}

@keyframes cube-float {
  0% {
    transform: rotateX(-25deg) rotateY(45deg) translateY(0);
  }
  25% {
    transform: rotateX(-20deg) rotateY(90deg) translateY(-15px);
  }
  50% {
    transform: rotateX(-30deg) rotateY(135deg) translateY(-5px);
  }
  75% {
    transform: rotateX(-22deg) rotateY(180deg) translateY(-20px);
  }
  100% {
    transform: rotateX(-25deg) rotateY(225deg) translateY(0);
  }
}
/* === ANIME SLASH/SPEED LINES === */
.slash-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.slash-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color, rgba(220, 38, 38, 0.4)) 30%, transparent 100%);
  transform: rotate(var(--angle, -35deg));
  animation: slash-sweep var(--speed, 1.5s) ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes slash-sweep {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, -35deg)) translateX(-100%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle, -35deg)) translateX(200%);
  }
}
/* === EMBER PARTICLES === */
.ember-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: var(--color, #f59e0b);
  box-shadow: 0 0 calc(var(--size, 3px) * 2) var(--color, #f59e0b);
  animation: ember-rise var(--duration, 5s) ease-in infinite;
  animation-delay: var(--delay, 0s);
  bottom: -10px;
  left: var(--x, 50%);
  opacity: 0;
}

@keyframes ember-rise {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
    transform: translateY(-40vh) translateX(20px);
  }
  100% {
    opacity: 0;
    transform: translateY(-80vh) translateX(-10px);
  }
}
/* === GLITCH TEXT EFFECT (logo hover) === */
.glitch-text {
  position: relative;
}

.glitch-text:hover {
  animation: glitch-shift 0.3s ease;
}

@keyframes glitch-shift {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 1px);
  }
  40% {
    transform: translate(2px, -1px);
  }
  60% {
    transform: translate(-1px, -1px);
  }
  80% {
    transform: translate(1px, 1px);
  }
}
/* === FLOATING ASTRONAUTS === */
.astronaut-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.astronaut {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.15));
}

/*
 * Single astronaut element — JS picks random pose, size,
 * direction & rotation each pass via Web Animations API.
 * Positioned at center; translate values move it off-screen.
 */
.astronaut {
  top: 45%;
  left: 50%;
}

/* --- Contact info icon float --- */
.contact-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* --- Legal page prose styling --- */
.prose-cosmic h2 {
  font-family: "Exo 2", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

.prose-cosmic a {
  color: #f59e0b;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  transition: border-color 0.2s ease;
}

.prose-cosmic a:hover {
  border-color: #f59e0b;
}

/*# sourceMappingURL=main.css.map */