/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0b2d4b;
  --accent: #d4a843;
  --accent-light: #f0d68a;
  --white: #ffffff;
  --dark: #0a1a2a;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent-light);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* PARTICLES */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* MAIN */
.main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 30% 40%, rgba(11, 45, 75, 0.6) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 60%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
              var(--dark);
}

/* NAV */
.nav {
  padding: 28px 40px;
  position: relative;
  z-index: 2;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 48px;
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(212, 168, 67, 0.2));
}

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* HERO */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px 40px;
  position: relative;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 8px 24px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.badge i {
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  text-shadow: 0 0 60px rgba(212, 168, 67, 0.05);
  margin-bottom: 4px;
  position: relative;
  display: inline-block;
}

/* Glitch effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.glitch::before {
  color: var(--accent);
  z-index: -1;
  transform: translate(-3px, -2px);
  animation: glitch-1 2.5s infinite;
}

.glitch::after {
  color: #4fc3f7;
  z-index: -1;
  transform: translate(3px, 2px);
  animation: glitch-2 2.5s infinite;
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(-3px, -2px); opacity: 0.6; }
  20% { transform: translate(3px, 2px); opacity: 0.2; }
  40% { transform: translate(-5px, 3px); opacity: 0.8; }
  60% { transform: translate(5px, -3px); opacity: 0.3; }
  80% { transform: translate(-2px, 4px); opacity: 0.5; }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(3px, 2px); opacity: 0.6; }
  20% { transform: translate(-3px, -2px); opacity: 0.2; }
  40% { transform: translate(5px, -3px); opacity: 0.8; }
  60% { transform: translate(-5px, 3px); opacity: 0.3; }
  80% { transform: translate(2px, -4px); opacity: 0.5; }
}

.hero h2 {
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #f6e05e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.sub-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 44px;
}

.sub-text br {
  display: block;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: 20px;
  min-width: 80px;
  transition: 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.time-box:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.08);
}

.time-box .number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: linear-gradient(135deg, var(--white), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

/* NOTIFY */
.notify {
  max-width: 480px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 28px 32px;
  border-radius: 32px;
  backdrop-filter: blur(8px);
}

.notify p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.notify p i {
  color: var(--accent);
}

.notify form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 60px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.3s;
}

.notify form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.05);
}

.notify input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

.notify input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.notify button {
  background: var(--accent);
  border: none;
  color: var(--dark);
  width: 50px;
  border-radius: 60px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notify button:hover {
  background: var(--accent-light);
  transform: scale(1.02);
}

.notify small {
  display: block;
  margin-top: 14px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

/* SOCIAL */
.social {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social a {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.3s;
  text-decoration: none;
}

.social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(212, 168, 67, 0.06);
  transform: translateY(-3px);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px 24px 30px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero h2 {
    font-size: 2.6rem;
  }

  .sub-text {
    font-size: 1rem;
  }

  .sub-text br {
    display: none;
  }

  .countdown {
    gap: 16px;
  }

  .time-box {
    padding: 12px 16px;
    min-width: 60px;
  }

  .time-box .number {
    font-size: 2rem;
  }

  .notify {
    padding: 20px;
    margin: 0 12px 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .time-box .number {
    font-size: 1.6rem;
  }

  .time-box {
    padding: 8px 12px;
    min-width: 50px;
  }

  .countdown {
    gap: 10px;
  }
}