/* ============================================
   Bar Louie WiFi Capture Page — Dark Theme
   Colors: #1a1a1a bg, #222222 card, #8b1a1a burgundy accent
   Fonts: Space Grotesk (display), Inter (body)
   ============================================ */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #1a1a1a;
  color: #f5f5f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Burgundy radial glow background */
.bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(139, 26, 26, 0.12) 0%, transparent 60%);
}

/* Content container */
.content-wrapper {
  width: 100%;
  max-width: 28rem; /* ~448px, matches max-w-md */
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.3s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Logo Section ---- */
.logo-section {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  height: 3.5rem;
  margin: 0 auto;
  display: block;
}

.location-tag {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #f5f5f0;
  opacity: 0.4;
}

/* ---- Form Card ---- */
.form-card {
  background-color: #222222;
  border-left: 4px solid #8b1a1a;
}

.form-header {
  padding: 1.25rem 1.25rem 0.25rem;
}

.heading-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.wifi-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f5f5f0;
}

.subheading {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #f5f5f0;
  opacity: 0.45;
}

/* ---- GHL Form Embed ---- */
.form-embed {
  padding: 0.25rem 0.25rem 0.5rem;
}

/* ---- Footer ---- */
.footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  text-align: center;
  border-top: 1px solid rgba(139, 26, 26, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #f5f5f0;
  opacity: 0.35;
}

.footer-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .page-wrapper {
    padding: 3rem 1rem;
  }

  .logo-section {
    margin-bottom: 2.5rem;
  }

  .logo {
    height: 5rem;
  }

  .location-tag {
    font-size: 0.875rem;
  }

  .form-header {
    padding: 1.75rem 2rem 0.25rem;
  }

  .heading {
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 0.875rem;
  }

  .form-embed {
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .footer-item {
    font-size: 0.875rem;
  }
}
