:root {
  color-scheme: dark;
  --bg: #0d0906;
  --surface: rgba(3, 2, 1, .22);
  --text: #fff3dc;
  --muted: rgba(255, 246, 232, .88);
  --accent: #d8b878;
  --border: rgba(218, 171, 88, .32);
  --shadow: rgba(0, 0, 0, .45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(255, 241, 205, .08), transparent 18%), var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

body.no-js .enter-btn {
  transition: none;
}

main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.intro {
  position: relative;
  width: min(1100px, 100%);
  max-width: 1100px;
  min-height: min(850px, calc(100vh - 48px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(12, 7, 4, .44), rgba(12, 7, 4, .88)),
    url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  box-shadow: 0 32px 120px var(--shadow);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(218, 171, 88, .18), transparent 42%),
              radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .09), transparent 28%);
  pointer-events: none;
  animation: warmGlow 10s ease-in-out infinite alternate;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--border);
  border-radius: 28px;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  text-align: center;
  padding: 48px;
  animation: fadeUp 1.6s ease forwards;
  backdrop-filter: blur(12px);
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid rgba(218, 171, 88, .14);
}

.small-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 7px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards .4s;
}

.brand-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 400;
  line-height: .9;
  color: var(--text);
  text-shadow: 0 0 18px rgba(218, 171, 88, .35), 0 18px 40px rgba(0, 0, 0, .65);
  opacity: 0;
  animation: logoReveal 1.7s ease forwards .7s;
}

.subtitle {
  margin-top: 20px;
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 2vw, 22px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1.35s;
}

.line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 28px auto 0;
  animation: lineGrow 1.4s ease forwards 1.7s;
}

.welcome {
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: .5px;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 2s;
}

.ornament {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(218, 171, 88, .18);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.ornament.one { top: 12%; left: 10%; }
.ornament.two { right: 10%; bottom: 12%; animation-direction: reverse; }

.enter-btn {
  display: inline-flex;
  margin-top: 36px;
  padding: 14px 30px;
  border: 1px solid rgba(218, 171, 88, .65);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 2.25s;
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.enter-btn:hover,
.enter-btn:focus-visible {
  background: var(--accent);
  color: #140d08;
  transform: translateY(-3px);
  outline: none;
  box-shadow: 0 0 0 4px rgba(216, 184, 120, .18);
}

.enter-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .22);
  outline-offset: 5px;
}

@keyframes fadeUp {
  from { transform: translateY(24px); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(.92);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes lineGrow {
  to { width: min(460px, 80vw); }
}

@keyframes warmGlow {
  from { opacity: .45; }
  to { opacity: .95; }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  main { padding: 16px; }
  .intro { min-height: 760px; }
  .content { padding: 32px; }
  .small-title { letter-spacing: 5px; font-size: 11px; }
  .subtitle { letter-spacing: 3px; }
  .brand-name { font-size: clamp(54px, 18vw, 110px); }
  .ornament { display: none; }
}

@media (max-width: 480px) {
  .content { padding: 24px; }
  .welcome { font-size: 15px; }
  .enter-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
