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

:root {
  --orange: #FF5500;
  --amber:  #FFB300;
  --white:  #FFFFFF;
  --muted:  rgba(255,255,255,0.70);
  --overlay: rgba(22, 22, 26, 0.72);
}

html, body {
  height: 100%;
  font-family: 'Nunito', sans-serif;
  overflow: hidden;
}

/* ── BACKGROUND PHOTO ── */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url('backgrounda3.jpg')
    center center / cover no-repeat;
}

/* ── DARK OVERLAY ── */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--overlay);
}

/* ── BLUEPRINT GRID ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(200,60,60,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,60,60,0.18) 1px, transparent 1px),
    linear-gradient(rgba(200,60,60,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,60,60,0.07) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 25px 25px, 25px 25px;
  pointer-events: none;
}

/* ── MAIN LAYOUT ── */
.page {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  color: var(--white);
  gap: 0;
}

/* ── LOGO ── */
.logo {
  margin-top: 80px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeDown 0.7s ease 0.1s forwards;
}
.logo img {
  height: 128px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── HEADLINE ── */
.headline {
  opacity: 0;
  animation: fadeDown 0.8s ease 0.25s forwards;
}
h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 4.75vw, 6.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.01em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

/* ── COUNTDOWN ── */
.countdown-wrap {
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cd-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.cd-num {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--amber);
  line-height: 1;
  transition: color 0.15s;
  text-shadow: 0 0 30px rgba(255,179,0,0.35);
}
.cd-num.tick { color: var(--orange); }
.cd-lbl {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── DESCRIPTION ── */
.desc {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}

/* ── BUTTONS ── */
.actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.68s forwards;
}
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.22s, background 0.22s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-solid {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-solid:hover {
  background: #e84d00;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,85,0,0.45);
}
.btn:active { transform: translateY(0); }

/* ── SOCIAL ── */
.social {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.82s forwards;
}
.soc-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
}
.soc-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255,85,0,0.25);
}
.soc-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ── MODAL ── */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,10,12,0.82);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-bg.open { display: flex; animation: fadeIn 0.25s ease; }

.modal {
  background: #18181c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 44px 40px 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: scaleIn 0.28s ease;
}
@media (max-width: 480px) { .modal { padding: 36px 24px 28px; } }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.40);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }

.modal h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}
.modal h2 span { color: var(--orange); }
.modal p.modal-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.modal form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .form-row { grid-template-columns: 1fr; } }

input, textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  outline: none;
  resize: none;
  width: 100%;
  transition: border-color 0.22s, box-shadow 0.22s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.30); }
input:focus, textarea:focus {
  border-color: rgba(255,85,0,0.55);
  box-shadow: 0 0 0 3px rgba(255,85,0,0.10);
}
textarea { min-height: 90px; }

.btn-submit {
  background: var(--orange);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  cursor: pointer;
  margin-top: 4px;
  align-self: center;
  transition: background 0.22s, transform 0.15s, box-shadow 0.22s;
}
.btn-submit:hover {
  background: #e84d00;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,85,0,0.40);
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,179,0,0.20);
  border-radius: 8px;
  background: rgba(255,179,0,0.06);
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
