:root {
  --color-bg: #0e0f11;
  --color-text: #f2f2f2;
  --color-accent: #a9c2d0;
  --color-muted: #2a2d31;
  --color-border: #3f434a;
  --color-glow: #e6e6e6;

  --font-body: 'Inter', 'Noto Sans KR', sans-serif;
  --font-title: 'Playfair Display', serif;

  --radius: 12px;
  --transition: 0.3s ease-in-out;
}



* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; font-family: 'Segoe UI', sans-serif; color: #E0E0E0; overflow-x: hidden; }

/* Background image with parallax */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('/img/blackrainsky_back.webp') center/cover no-repeat;
  z-index: -2;
  transform: translateZ(0);
  will-change: transform;
}

/* Overlay to dim background */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.cta {
  padding: 0.8rem 2rem;
  background: #1E90FF;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #4682B4;
}

/* Particle rain animation */
.rain {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
}
.drop {
  position: absolute;
  bottom: 100%;
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  animation: fall linear infinite;
}

.lightning-flash {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: -0;
  animation: flash 0.2s ease-out;
}


.primary_bg {
    background-color: var(--color-muted) !important;
    border: 1px solid var(--color-border) !important;
}


.secondary_bg {
    background-color: var(--color-text) !important;
}

.primary_txt {
    color: var(--color-text) !important;;
}


@keyframes flash {
  0% { opacity: 0; }
  10% { opacity: 0.8; }
  100% { opacity: 0; }
}


@keyframes fall {
  to {
    transform: translateY(110vh);
  }
}