* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.navbar {
  position: fixed;
  inset: 0 auto auto 0;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.navbar .logo {
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.nav-links a {
  margin-left: 1.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: .7; }

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: -1; }
.hero-content { position: relative; max-width: 720px; padding: 0 1rem; }
.title {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.subtitle { font-size: 1.25rem; opacity: 0.92; margin-bottom: 1.6rem; }

.cta {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: .9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #111;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 30px rgba(255,204,102,0.12); }
.hint { margin-top: .9rem; font-size: .9rem; opacity: .75; }

.features {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, #111 0%, #050505 100%);
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}
.feature { display: flex; align-items: center; gap: 2rem; }
.feature.reverse { flex-direction: row-reverse; }
.feature img { width: 50%; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.feature-text { max-width: 520px; }
.feature-text h2 {
  font-size: 1.9rem; margin-bottom: .6rem;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.feature-text p { line-height: 1.6; opacity: .88; }


.register { text-align: center; padding: 4rem 1rem; background: #0d0d0d; }
.register h2 {
  font-size: 2.25rem; margin-bottom: .8rem;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.register p { opacity: .85; margin-bottom: 1.2rem; }

.signup-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s ease, opacity .5s ease;
  display: flex; flex-direction: column; gap: .8rem;
  margin-top: 1.6rem;
  width: min(650px, 92%);
  margin-left: auto; margin-right: auto;
}
.signup-form.active { max-height: 600px; opacity: 1; }
.signup-form .input-container { position: relative; }
.signup-form input {
  width: 100%; padding: .7rem; border-radius: 8px; border: none; font-size: .95rem;
}
.signup-form button.cta { width: 100%; }

.confirmation-msg {
  font-weight: 800; font-size: 1.1rem; text-align: center;
  background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}

.error-tooltip {
  position: absolute; right: -6px; top: 50%; transform: translateX(10px) translateY(-50%);
  background: #ff4d4f; color: #fff; padding: .28rem .6rem; font-size: .8rem; font-weight: 700; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1000;
}

footer { background: #000; text-align: center; padding: 2rem 1rem; font-size: .9rem; color: #eaeaea; }
footer .gradient-text { background: linear-gradient(90deg, #ff66cc 0%, #ffcc66 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }


@media (max-width: 900px) {
  .feature, .feature.reverse { flex-direction: column; }
  .feature img { width: 100%; }
  .navbar { padding: 1rem; }
  .nav-links a { margin-left: 1rem; }
  .title { font-size: 2.2rem; }
  .subtitle { font-size: 1.05rem; }
  .signup-form { width: 92%; }
}

#muteBtn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

html {
  scroll-behavior: smooth;
}
