@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gold: #f2b84b;
  --gold-light: #ffd98a;
  --orange: #ff6b18;
  --ink: #06090d;
  --glass: rgba(5, 9, 13, .72);
  --line: rgba(255, 201, 94, .28);
  --text: #f6f0e5;
  --muted: #c9c1b5;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__backdrop,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  z-index: -2;
  background:
    url("assets/Newbanner.jpg") center center / cover no-repeat;
  transform: scale(1.025);
}

/* Applies only to mobile phones (screens 768px wide or less) */
@media screen and (max-width: 768px) {
  .hero__backdrop {
    background:
        url("assets/Mobilebanner.jpg") center center / cover no-repeat; 
    background-size: cover; /* Or use 'contain' depending on your preference */
    height: 100vh;          /* Ensures it fills the full mobile viewport height */
  }
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(5, 8, 12, .08), rgba(3, 5, 8, .72) 82%),
    linear-gradient(180deg, rgba(2, 6, 10, .30) 0%, rgba(2, 5, 8, .10) 36%, rgba(2, 5, 8, .78) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 140px 45px rgba(0, 0, 0, .62);
}

.hero__content {
  width: min(980px, 92vw);
  text-align: center;
  padding: 7rem 0 5rem;
  animation: rise .9s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

h1 {
  margin: 1.25rem 0 .2rem;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: .96;
  letter-spacing: .015em;
  color: #ffd77d;
  text-shadow:
    0 2px 0 #5d2a08,
    0 5px 18px rgba(0,0,0,.95),
    0 0 34px rgba(255, 122, 22, .22);
}

.tagline {
  margin: .65rem 0 2rem;
  color: #f4e9d5;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  box-shadow: 0 25px 70px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}

.card__eyebrow {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.card__text {
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  color: #160b02;
  background: linear-gradient(135deg, #ffd77d, #f39a2d);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 125, 23, .22);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 38px rgba(255, 125, 23, .34);
}

.cta:focus-visible,
.cancel:focus-visible {
  outline: 3px solid #fff1bd;
  outline-offset: 3px;
}

.countdown {
  margin-top: 1rem;
  color: #bcb4a9;
  font-size: .85rem;
}

.countdown strong {
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.cancel {
  margin-top: .8rem;
  padding: .35rem .6rem;
  border: 0;
  background: transparent;
  color: #8e877e;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
}

.cancel:hover { color: #ddd4c8; }

.footer {
  position: absolute;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 980px);
  display: flex;
  justify-content: center;
  gap: .7rem;
  color: rgba(239,231,218,.65);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__dot { color: var(--orange); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .hero__content { padding: 5rem 0 5.5rem; }
  .badge { font-size: .62rem; letter-spacing: .12em; }
  .card { padding: 1.2rem; }
  .footer { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
  .cta { transition: none; }
}
