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

:root {
  --primary: #ff5733;
  --primary-light: #ff7a59;
  --primary-dark: #cc4529;
  --accent: #ffb347;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 30, 0.6);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 87, 51, 0.2);
  --glow: rgba(255, 87, 51, 0.4);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Noise overlay for texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  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");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* Floating glow orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.glow-orb-3 {
  width: 250px;
  height: 250px;
  background: #6366f1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(-30px, -20px) scale(1.02);
  }
}

/* Particles */
.particle-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* Main container */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 10;
  gap: 2rem;
}

/* Logo section */
.logo-section {
  position: relative;
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: clamp(200px, 20vw, 400px);
  height: auto;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 40px rgba(255, 87, 51, 0.3));
  animation: logoReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 60px rgba(255, 87, 51, 0.5));
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: blur(10px) drop-shadow(0 0 0 transparent);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0) drop-shadow(0 0 40px rgba(255, 87, 51, 0.3));
  }
}

/* Brand name text */
.brand-name {
  font-family: 'Bebas Neue', 'Orbitron', sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--primary);
  letter-spacing: 1em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  text-shadow: 0 0 40px var(--glow), 0 0 80px rgba(255, 87, 51, 0.2);
  opacity: 0;
  animation: brandReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  position: relative;
  z-index: 10;
}

.brand-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

@keyframes brandReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.5em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.3em;
  }
}

/* Geometric shards */
.logo-shards {
  position: absolute;
  inset: -50px;
  pointer-events: none;
}

.shard {
  position: absolute;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
  opacity: 0;
  animation: shardFloat 4s ease-in-out infinite;
}

.shard-1 {
  width: 60px;
  height: 60px;
  top: 0;
  left: 10%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 0s;
}

.shard-2 {
  width: 40px;
  height: 40px;
  top: 20%;
  right: 5%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 0.5s;
}

.shard-3 {
  width: 30px;
  height: 30px;
  bottom: 30%;
  left: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 1s;
}

.shard-4 {
  width: 50px;
  height: 50px;
  bottom: 10%;
  right: 15%;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  animation-delay: 1.5s;
}

.shard-5 {
  width: 35px;
  height: 35px;
  top: 40%;
  left: -20px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 2s;
}

@keyframes shardFloat {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-15px) rotate(10deg);
  }
}

/* Pulse rings */
.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: pulseRing 3s ease-out infinite;
}

.pulse-ring-2 {
  animation-delay: 1s;
}

.pulse-ring-3 {
  animation-delay: 2s;
}

@keyframes pulseRing {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* Content section */
.content-section {
  text-align: center;
  max-width: 500px;
  animation: contentFadeIn 1s ease 0.5s forwards;
  opacity: 0;
}

@keyframes contentFadeIn {
  to {
    opacity: 1;
  }
}

.tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tagline-word {
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay) * 0.15s + 0.8s);
}

.tagline-word.accent {
  color: var(--primary);
  text-shadow: 0 0 30px var(--glow);
}

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

/* Status indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--glow);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 8px transparent;
  }
}

.status-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Form */
.notify-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.1);
}

.input-group input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateX(2px);
}

.submit-btn:active {
  transform: scale(0.98);
}

.btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

.submit-btn:hover .btn-icon {
  transform: translateX(3px);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Success message */
.success-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  color: #22c55e;
  animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-message.show {
  display: flex;
}

.success-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 87, 51, 0.2);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .main-container {
    padding: 1.5rem;
  }
  
  .input-group {
    flex-direction: column;
    border-radius: 12px;
  }
  
  .input-group input {
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  
  .submit-btn {
    justify-content: center;
    padding: 1rem;
  }
  
  .tagline {
    flex-direction: column;
    gap: 0.25rem;
  }
}
