:root {
  --bg: #08090d;
  --text: #f4f0e8;
  --muted: #b8c1cd;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #d4a24c;
  --accent-soft: rgba(212, 162, 76, 0.12);
  --wine: #8f3e28;
  --wine-soft: rgba(143, 62, 40, 0.14);
  --panel: rgba(17, 21, 29, 0.82);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --ok: #58c493;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(212, 162, 76, 0.08), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(143, 62, 40, 0.14), transparent 48%),
    linear-gradient(180deg, #07080c 0%, #0b1018 45%, #0f1722 100%);
  overflow-x: hidden;
  position: relative;
}

#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.bg-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite;
}

.bg-glow-a {
  top: -13rem;
  right: -10rem;
  background: rgba(212, 162, 76, 0.36);
}

.bg-glow-b {
  bottom: -15rem;
  left: -10rem;
  background: rgba(143, 62, 40, 0.45);
  animation-delay: -5s;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 76, 0.35);
  background: rgba(212, 162, 76, 0.08);
  color: var(--accent);
}

.brand-eyebrow,
.brand-name {
  margin: 0;
  line-height: 1;
}

.brand-eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.top-link {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.top-link:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 162, 76, 0.28);
}

.top-link-accent {
  border-color: rgba(212, 162, 76, 0.28);
  background: rgba(212, 162, 76, 0.08);
}

main {
  padding: 0.8rem 0 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.poster-card,
.info-strip,
.events-section,
.tourism-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  border-radius: 1.3rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.05rem, 4vw, 3.7rem);
  line-height: 0.95;
  max-width: 13ch;
}

.hero-text {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.countdown-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
}

.countdown-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.countdown {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.count-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.65rem 0.45rem;
  text-align: center;
}

.count-item span {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  color: #f6d79b;
}

.count-item small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn {
  border-radius: 999px;
  padding: 0.82rem 1rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #11151c;
  background: linear-gradient(135deg, #f0c678, #c48a39);
  box-shadow: 0 10px 22px rgba(195, 138, 56, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.btn-small {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}

.hero-notes {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

.hero-notes p {
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.45;
}

.note-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(88, 196, 147, 0.9);
  flex: 0 0 auto;
}

.poster-card {
  margin: 0;
  border-radius: 1.3rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(22, 28, 39, 0.92), rgba(16, 20, 28, 0.86));
}

.poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 38rem;
  object-fit: cover;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.poster-card figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.info-strip {
  margin-top: 1rem;
  border-radius: 1.1rem;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.info-pill {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
  display: grid;
  gap: 0.25rem;
}

.info-pill span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.info-pill strong {
  font-size: 1rem;
}

.events-section {
  margin-top: 1rem;
  border-radius: 1.15rem;
  padding: 1rem;
}

.tourism-section {
  margin-top: 1rem;
  border-radius: 1.15rem;
  padding: 1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.section-text {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.events-meta {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.events-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.event-card,
.events-empty {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.event-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.event-card.is-past {
  opacity: 0.62;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  filter: grayscale(0.35);
}

.event-card.is-past .event-title {
  color: rgba(244, 240, 232, 0.78);
}

.event-card.is-past .event-when,
.event-card.is-past .event-where {
  color: rgba(184, 193, 205, 0.72);
}

.event-card.is-past .event-type {
  color: rgba(241, 202, 130, 0.7);
  border-color: rgba(212, 162, 76, 0.12);
  background: rgba(212, 162, 76, 0.04);
}

.event-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.event-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #f1ca82;
  border: 1px solid rgba(212, 162, 76, 0.2);
  background: rgba(212, 162, 76, 0.07);
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.event-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.event-when,
.event-where {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.event-where {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.event-where::before {
  content: '•';
  color: var(--accent);
  line-height: 1;
  margin-top: 0.15rem;
}

.events-empty {
  padding: 1rem;
  color: var(--muted);
  line-height: 1.55;
  grid-column: 1 / -1;
}

.events-empty strong {
  color: var(--text);
}

.tourism-card {
  margin-top: 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}

.tourism-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tourism-copy-secondary {
  margin-top: 0.7rem;
}

.tourism-block {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.tourism-block h3 {
  margin: 0;
  font-size: 1rem;
}

.tourism-block p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.tourism-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.tourism-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
  color: var(--muted);
}

.tourism-label {
  color: var(--text);
  font-weight: 600;
}

.tourism-list a {
  color: #f1ca82;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 162, 76, 0.28);
}

.tourism-list a:hover {
  border-bottom-color: rgba(212, 162, 76, 0.6);
}

.footer {
  padding: 1rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.footer p {
  margin: 0.2rem 0;
}

.footer-left {
  text-align: left;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  text-align: right;
  font-size: 0.9rem;
}

.footer-right a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.footer-right a:hover {
  border-color: rgba(212, 162, 76, 0.25);
  transform: translateY(-1px);
}

.footer-right img {
  display: block;
  height: 18px;
  width: auto;
  opacity: 0.95;
}

.footer-muted {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.2rem, -0.9rem, 0) scale(1.04);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .poster-card img {
    max-height: 30rem;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .top-actions {
    width: 100%;
  }

  .top-link {
    text-align: center;
    flex: 1 1 auto;
  }

  .hero-copy,
  .poster-card,
  .events-section,
  .info-strip,
  .tourism-section {
    border-radius: 1rem;
  }

  .hero-copy,
  .events-section {
    padding: 0.95rem;
  }

  .info-strip {
    padding: 0.7rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
