:root {
  color-scheme: dark;
  --ivory: #f7f3ec;
  --muted: rgba(247, 243, 236, .68);
  --champagne: #d8bd84;
  --champagne-light: #f0ddb2;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  background: #070707;
  color: var(--ivory);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  overflow: hidden;
}

.presell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  place-items: center;
  position: relative;
  isolation: isolate;
}

.presell__background,
.presell__veil,
.presell__glow { inset: 0; pointer-events: none; position: absolute; }

.presell__background {
  background: #0a0909 url("../images/hero-priveza.jpg") 31% center / cover no-repeat;
  filter: saturate(.72) contrast(1.08);
  z-index: -4;
}

.presell__veil {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .70), rgba(5, 5, 5, .30) 46%, rgba(5, 5, 5, .78)),
    radial-gradient(circle at 50% 46%, rgba(12, 10, 8, .16), rgba(3, 3, 3, .72) 76%);
  z-index: -3;
}

.presell__glow { border-radius: 50%; filter: blur(70px); z-index: -2; }
.presell__glow--one { background: rgba(211, 168, 91, .10); height: 30vw; left: 4%; top: 8%; width: 30vw; }
.presell__glow--two { background: rgba(154, 89, 53, .09); height: 42vw; left: auto; right: -12%; top: 52%; width: 42vw; }

.presell__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 920px;
  min-width: 0;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.presell__brand {
  left: 0;
  position: absolute;
  right: 0;
  top: max(30px, env(safe-area-inset-top));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .52em;
  margin: 0;
  padding-left: .52em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
}

.presell h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 11.2vw, 46px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .96;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
  width: 100%;
}

.presell h1 em {
  color: var(--champagne-light);
  font-style: italic;
  text-shadow: 0 0 34px rgba(216, 189, 132, .18);
}

.presell__subtitle {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 5vw, 23px);
  letter-spacing: .01em;
  line-height: 1.35;
  margin: 22px auto 0;
  max-width: 100%;
  text-wrap: balance;
  width: 100%;
}

.presell__action { margin-top: clamp(32px, 6vh, 50px); width: min(100%, 352px); }

.presell__cta {
  align-items: center;
  background: rgba(11, 11, 11, .7);
  border: 1px solid rgba(216, 189, 132, .72);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .025);
  color: var(--ivory);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: .17em;
  min-height: 58px;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow .35s ease, filter .35s ease, transform .35s ease;
}

.presell__cta:hover,
.presell__cta:focus-visible {
  box-shadow: 0 18px 54px rgba(0, 0, 0, .46), 0 0 30px rgba(216, 189, 132, .14), inset 0 1px rgba(255, 255, 255, .42);
  background: rgba(216, 189, 132, .12);
  transform: translateY(-2px);
}

.presell__cta:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
.presell__cta:active { transform: translateY(0) scale(.99); }
.presell__arrow { color: var(--champagne-light); display: block; font-size: 18px; line-height: 1; margin-top: 9px; }

.presell__age { color: rgba(247, 243, 236, .48); font-size: 10px; line-height: 1.5; margin: 15px 0 0; }
.presell__age strong, .presell__age span { display: block; }
.presell__age strong { color: rgba(247, 243, 236, .68); font-weight: 500; }

.reveal { animation: reveal .9s cubic-bezier(.22, 1, .36, 1) both; }
.reveal--brand { animation-delay: .08s; }
.reveal--title { animation-delay: .28s; }
.reveal--subtitle { animation-delay: .48s; }
.reveal--action { animation-delay: .68s; }

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

@media (min-width: 768px) {
  .presell { padding: 44px; }
  .presell__background { background-position: center; }
  .presell__brand { font-size: 13px; }
  .presell h1 { font-size: clamp(64px, 6vw, 80px); }
  .presell__action { width: 360px; }
  .presell__cta { min-height: 62px; }
}

@media (max-height: 700px) {
  .presell__subtitle { margin-top: 14px; }
  .presell__action { margin-top: 24px; }
}

@media (max-height: 560px) {
  .presell__brand { top: max(18px, env(safe-area-inset-top)); }
  .presell h1 { font-size: clamp(34px, 9vh, 48px); }
  .presell__subtitle { font-size: 17px; }
  .presell__action { margin-top: 18px; }
  .presell__cta { min-height: 52px; }
  .presell__age { margin-top: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
