:root {
  --bg: #060606;
  --bg-alt: #0f0f0f;
  --card-bg: #121212;
  --yellow: #ffd23d;
  --yellow-deep: #f2b705;
  --text: #f5f5f5;
  --text-muted: #b0b0b0;
  --glow: rgba(255, 210, 61, 0.35);
  --border: rgba(255, 210, 61, 0.15);
  --danger: #ff5c5c;
  --success: #3ddc84;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-logo {
  width: 220px;
  max-width: 60vw;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 780px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 30%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.subtitle {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

/* Countdown */
.countdown {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown .unit {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 74px;
}

.countdown .unit span {
  display: block;
}

.countdown .value {
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
}

.countdown .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 2px;
}

.event-date-label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-deep) 100%);
  color: #1a1400;
  text-decoration: none;
  box-shadow: 0 8px 24px var(--glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--glow);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Benefits */
.benefits {
  padding: 90px 0;
}

.benefits h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  margin-bottom: 48px;
}

.benefits h2 .accent {
  color: var(--yellow);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.benefit-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--yellow);
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Form section */
.form-section {
  padding: 90px 0 110px;
}

.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-card h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card .form-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.field input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder {
  color: #6b6b6b;
}

.field input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 61, 0.15);
}

.field input.invalid {
  border-color: var(--danger);
}

.field .error-msg {
  display: none;
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
}

.field.has-error .error-msg {
  display: block;
}

.form-card .btn {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  color: var(--success);
}

.form-status.error {
  display: block;
  color: var(--danger);
}

/* Footer */
.site-footer {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.dev-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.dev-credit img {
  height: 20px;
  width: auto;
}

@media (max-width: 480px) {
  .site-footer {
    justify-content: center;
    text-align: center;
  }

  .dev-credit {
    margin-left: 0;
  }

  .countdown .unit {
    min-width: 62px;
    padding: 10px 12px;
  }
  .countdown .value {
    font-size: 20px;
  }
  .form-card {
    padding: 32px 22px;
  }
}
