@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --dark: #070a0f;
  --green: #0E7C3A;
  --gold: #D4A017;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Tajawal", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(14, 124, 58, 0.24), transparent 32%),
    radial-gradient(circle at bottom left, rgba(212, 160, 23, 0.18), transparent 35%),
    linear-gradient(135deg, #05070b, #0b1118 55%, #070a0f);
  color: var(--white);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  z-index: 3;
}

.hero {
  position: relative;
  z-index: 5;
  max-width: 980px;
}

.brand-badge {
  display: inline-flex;
  padding: 14px 30px;
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 40px rgba(14, 124, 58, 0.28);
}

.brand-badge span {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.22);
}

.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.45rem;
}

.mystery-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.18rem;
}

.time-box {
  padding: 22px 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.03);
}

.time-box span {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
}

.time-box small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.notify-form {
  max-width: 560px;
}

.form-control {
  border: 0;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 160, 23, 0.22);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f2c14e);
  border: 0;
  color: #111;
  font-weight: 800;
  padding-left: 28px;
  padding-right: 28px;
}

.btn-gold:hover {
  color: #111;
  transform: translateY(-1px);
}

.form-text {
  color: rgba(255, 255, 255, 0.55);
}

.sudan-outline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 31vw;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  z-index: 1;
  user-select: none;
}

.glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
}

.glow-green {
  background: var(--green);
  top: 8%;
  right: 8%;
}

.glow-gold {
  background: var(--gold);
  bottom: 6%;
  left: 8%;
}

.floating-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.dot-1 { top: 24%; left: 18%; }
.dot-2 { top: 68%; right: 18%; animation-delay: 1.4s; background: var(--green); }
.dot-3 { bottom: 17%; left: 42%; animation-delay: 2.2s; }

.reveal {
  animation: reveal 1s ease both;
}

.delay-1 { animation-delay: 0.18s; }
.delay-2 { animation-delay: 0.34s; }
.delay-3 { animation-delay: 0.50s; }
.delay-4 { animation-delay: 0.66s; }

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-22px) scale(1.4);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.25rem !important;
  }

  .lead {
    font-size: 1.1rem;
  }

  .brand-badge span {
    font-size: 24px;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group .form-control,
  .input-group .btn {
    width: 100%;
    border-radius: 14px !important;
  }

  .input-group .btn {
    margin-top: 10px;
    padding: 14px;
  }
}
