/* ============================================
   UNSLOP STUDIO — Coming Soon Page Styles
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #00f0ff;
  --secondary: #ff003c;
  --accent: #b400ff;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(10, 10, 20, 0.7);
  --text: #e0e0e0;
  --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 60px rgba(0, 240, 255, 0.2);
  --glow-secondary: 0 0 20px rgba(255, 0, 60, 0.5), 0 0 60px rgba(255, 0, 60, 0.2);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
}

/* Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* Floating Shapes */
.shape {
  position: fixed;
  border: 1.5px solid;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.shape-1 {
  width: 80px; height: 80px;
  border-color: var(--primary);
  top: 10%; left: 5%;
  transform: rotate(45deg);
}
.shape-2 {
  width: 50px; height: 50px;
  border-color: var(--secondary);
  border-radius: 50%;
  top: 72%; left: 88%;
}
.shape-3 {
  width: 90px; height: 90px;
  border-color: var(--accent);
  top: 82%; left: 10%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.shape-4 {
  width: 40px; height: 40px;
  border-color: var(--primary);
  top: 15%; right: 8%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.shape-5 {
  width: 60px; height: 60px;
  border-color: var(--secondary);
  top: 60%; left: 3%;
  transform: rotate(30deg);
}

/* Scanline overlay */
.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* Vignette */
.vignette {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
}

/* Main Content */
.content {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  padding: 20px;
  overflow-y: auto;
}

/* Glitch Title */
.glitch-wrapper {
  position: relative;
  margin-bottom: 10px;
}
.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.4), 0 0 80px rgba(0, 240, 255, 0.2);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  /* KEY FIX: default state is fully clipped so no colored rectangle shows */
  clip-path: inset(0 0 100% 0);
}
.glitch::before {
  color: var(--primary);
  z-index: -1;
  animation: glitch-1 3s infinite linear alternate-reverse;
}
.glitch::after {
  color: var(--secondary);
  z-index: -2;
  animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
  0%, 89%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  90% { clip-path: inset(20% 0 40% 0); transform: translate(-4px, 2px); }
  93% { clip-path: inset(60% 0 10% 0); transform: translate(4px, -1px); }
  96% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 3px); }
  99% { clip-path: inset(10% 0 70% 0); transform: translate(3px, -2px); }
}
@keyframes glitch-2 {
  0%, 87%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  89% { clip-path: inset(30% 0 30% 0); transform: translate(3px, -2px); }
  92% { clip-path: inset(50% 0 20% 0); transform: translate(-3px, 1px); }
  95% { clip-path: inset(10% 0 60% 0); transform: translate(2px, 3px); }
  98% { clip-path: inset(70% 0 5% 0); transform: translate(-4px, -1px); }
}

/* Subtitle */
.subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  margin-bottom: 30px;
}

/* Divider Line */
.divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  margin-bottom: 25px;
  box-shadow: var(--glow-primary);
  opacity: 0;
  transform-origin: center;
}

/* Countdown Event Label */
.countdown-event {
  margin-bottom: 12px;
  opacity: 0;
}
.countdown-event-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.65rem, 1.4vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
  margin-bottom: 4px;
}
.countdown-event-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(224, 224, 224, 0.5);
}

/* Countdown */
.countdown {
  display: flex;
  gap: clamp(15px, 4vw, 40px);
  margin-bottom: 25px;
  opacity: 0;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.countdown-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: var(--glow-primary);
  line-height: 1;
}
.countdown-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 240, 255, 0.6);
  margin-top: 8px;
}
.countdown-separator {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--secondary);
  align-self: flex-start;
  opacity: 0.7;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.2; }
}

/* Tagline */
.tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(224, 224, 224, 0.6);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  opacity: 0;
  max-width: 550px;
  line-height: 1.6;
}

.tagline-secondary {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 400;
  color: rgba(224, 224, 224, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0;
  max-width: 500px;
  line-height: 1.5;
}

/* Under Construction Badge */
.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 0, 60, 0.4);
  border-radius: 3px;
  margin-bottom: 20px;
  opacity: 0;
  background: rgba(255, 0, 60, 0.05);
}
.construction-badge span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--secondary);
}
.construction-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--secondary); }
  50% { opacity: 0.3; box-shadow: 0 0 1px var(--secondary); }
}



/* Corner Decorations */
.corner {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 5;
  opacity: 0;
}
.corner::before, .corner::after {
  content: '';
  position: absolute;
  background: var(--primary);
}
.corner-tl { top: 20px; left: 20px; }
.corner-tl::before { top: 0; left: 0; width: 40px; height: 2px; }
.corner-tl::after { top: 0; left: 0; width: 2px; height: 40px; }
.corner-tr { top: 20px; right: 20px; }
.corner-tr::before { top: 0; right: 0; width: 40px; height: 2px; }
.corner-tr::after { top: 0; right: 0; width: 2px; height: 40px; }
.corner-bl { bottom: 20px; left: 20px; }
.corner-bl::before { bottom: 0; left: 0; width: 40px; height: 2px; }
.corner-bl::after { bottom: 0; left: 0; width: 2px; height: 40px; }
.corner-br { bottom: 20px; right: 20px; }
.corner-br::before { bottom: 0; right: 0; width: 40px; height: 2px; }
.corner-br::after { bottom: 0; right: 0; width: 2px; height: 40px; }

/* Loading bar */
.loading-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  z-index: 100;
  box-shadow: var(--glow-primary);
}

/* Responsive */
@media (max-width: 480px) {
  .countdown-item { min-width: 50px; }
}
