/* ══════════════════════════════════════
   United Humanists — Main Stylesheet
   ══════════════════════════════════════ */

:root {
  --orange: #F05A00;
  --orange-dark: #c44800;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--orange);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Radial depth shading */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,130,40,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(160,40,0,0.35) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Peace symbol watermark */
body::after {
  content: '☮';
  position: fixed;
  bottom: -100px;
  right: -80px;
  font-size: 500px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
}

/* ── LOGO ── */
.logo-wrap {
  opacity: 0;
  transform: translateY(-24px);
  animation: fadeDown 1s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
  margin-bottom: 44px;
}

.logo-wrap img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  display: block;
  background: var(--orange);
}

/* ── HEADLINE ── */
.headline {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
  text-align: center;
  margin-bottom: 18px;
  max-width: 700px;
}

.headline h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
}

.headline h1 .nothing {
  font-style: italic;
  position: relative;
  display: inline-block;
}

.headline h1 .nothing::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.7s ease 1.3s forwards;
}

@keyframes underlineIn { to { transform: scaleX(1); } }

/* ── DIVIDER ── */
.divider {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.45);
  border-radius: 2px;
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.7s forwards;
}

/* ── SUBTEXT ── */
.subtext {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s forwards;
  text-align: center;
  max-width: 500px;
  margin-bottom: 48px;
}

.subtext p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.78;
  font-weight: 400;
}

/* ── NEWSLETTER FORM ── */
.form-wrap {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.72s forwards;
  width: 100%;
  max-width: 480px;
  margin-bottom: 52px;
}

.form-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.form-row {
  display: flex;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-row:focus-within {
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

.form-row input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: none;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
}

.form-row input::placeholder { color: rgba(255,255,255,0.4); }

.form-row button {
  padding: 16px 28px;
  background: var(--white);
  color: var(--orange);
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.form-row button:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 18px 28px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

/* ── SOCIAL BUTTONS ── */
.socials-wrap {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.9s forwards;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
}

.social-btn:hover {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.social-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
  opacity: 0;
  animation: fadeIn 0.8s ease 1.1s forwards;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .logo-wrap img { width: 240px; height: 240px; }
  .form-row { flex-direction: column; }
  .form-row button { padding: 14px; width: 100%; }
  .socials-wrap { gap: 8px; }
  .social-btn { padding: 10px 16px; font-size: 0.8rem; }
}
