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

:root {
  --primary-blue: #00AEEF;
  --accent-purple: #7B2FFF;
  --background: #0A0A0F;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-light: #fff;
  --text-muted: #bbb;
  --gradient: linear-gradient(90deg, #00AEEF, #7B2FFF);
}

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

html, body {
  width: 100%;
  overflow-x: hidden; /* 🧱 Prevent horizontal scroll */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  text-align: center;
}

/* 🔮 Background Gradient (no overflow fix) */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 30% 70%, rgba(0,174,239,0.25), transparent 40%),
              radial-gradient(circle at 70% 30%, rgba(123,47,255,0.25), transparent 40%);
  filter: blur(120px);
  animation: gradient-move 12s ease-in-out infinite alternate;
  z-index: 0;
  overflow: hidden;
}

@keyframes gradient-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(25px, -25px); }
}

/* 💎 Main Glass Card */
.card {
  z-index: 1;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  padding: 50px 60px;
  border-radius: 20px;
  backdrop-filter: blur(25px);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  width: 90%;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.logo {
  width: 140px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px rgba(0,174,239,0.6));
  animation: fadeIn 2s ease;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow {
  color: var(--accent-purple);
  text-shadow: 0 0 12px rgba(123, 47, 255, 0.7);
}

.subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.5;
  padding: 0 5px;
}

/* ✅ Perfectly centered form */
.notify {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 35px auto; /* centers horizontally + spacing below */
  width: 100%;
  max-width: 360px;
}

.notify input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 15px;
  color: white;
  outline: none;
  font-size: 0.95rem;
  text-align: center;
  transition: 0.3s;
}

.notify input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(123, 47, 255, 0.4);
}

.notify button {
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  color: white;
  transition: transform 0.2s ease, opacity 0.3s;
}

.notify button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

#form-status {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 10px;
  animation: fadeIn 0.6s ease;
}

/* 🌐 Social Links */
.socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  color: var(--accent-purple);
  text-shadow: 0 0 6px rgba(123, 47, 255, 0.6);
  transform: translateY(-2px);
}

footer {
  position: relative; /* no longer absolute */
  margin-top: 60px; /* pushes it lower */
  padding-bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  width: 100%;
}

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

/* 📱 Mobile Optimization */
@media (max-width: 600px) {
  body {
    justify-content: flex-start;
    padding-top: 60px;
    height: auto;
    overflow-x: hidden;
  }

  .card {
    padding: 35px 20px;
    margin: 0 auto 40px auto;
    border-radius: 16px;
  }

  .logo {
    width: 110px;
    margin-bottom: 15px;
  }

  h1 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .notify {
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 30px auto;
}

.notify input,
.notify button {
  width: 100%;
  text-align: center;
}

  .notify button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .socials {
    gap: 18px;
    margin-top: 15px;
    font-size: 1rem;
  }

  footer {
    margin-top: 40px;
    font-size: 0.75rem;
    color: #aaa;
  }
}
