:root {
  --bg-1: #1e0208;
  --bg-2: #3d0610;
  --bg-3: #5c0a16;
  --gold-1: #d4af37;
  --gold-2: #e8c36a;
  --gold-3: #f0d060;
  --ivory: #f7efdd;
  --text-soft: #f4e9d0;
  --muted: #c9bda3;
  --panel: rgba(247, 239, 221, 0.06);
  --border: rgba(240, 208, 96, 0.28);
  --ok: #2ecc71;
  --warn: #f39c12;
  --danger: #e74c3c;
  --radius: 18px;
  --container: 1180px;
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.2);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text-soft);
  background:
    radial-gradient(circle at 15% 0%, rgba(232, 195, 106, 0.18), transparent 38%),
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.16), transparent 40%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(255,255,255,0.06) 0,
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 12px
  );
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.top-ticker {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #7b1b2d, #521021, #7b1b2d);
  border-bottom: 1px solid rgba(240, 208, 96, 0.35);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2.2rem;
  white-space: nowrap;
  padding: 0.45rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: tickerScroll 28s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 32px;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(20, 2, 8, 0.82);
  border-bottom: 1px solid rgba(232, 195, 106, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--gold-1), var(--gold-3));
  color: #3d0610;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  box-shadow: var(--shadow-gold);
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--ivory);
  font-size: 0.95rem;
  opacity: 0.9;
}
.main-nav a:hover { color: var(--gold-3); }

.header-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.66rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  color: #3d0610;
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: rgba(247, 239, 221, 0.08);
  color: var(--ivory);
  border-color: rgba(240, 208, 96, 0.45);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 3.8s linear infinite;
}

@keyframes shine {
  0% { left: -120%; }
  100% { left: 150%; }
}

.pulse { animation: pulse 1.9s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
}

.hero {
  padding: 2.4rem 0 1.6rem;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
}

.hero-card,
.stage-card,
.card,
.section-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  color: var(--ivory);
}

h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 3.3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.7vw, 1.45rem); }

.lead {
  max-width: 62ch;
  color: #f4e7c7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stage-slider {
  position: relative;
  min-height: 260px;
}

.slide {
  display: none;
  min-height: 230px;
  border-radius: 14px;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 208, 96, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(61,6,16,0.65), rgba(30,2,8,0.9));
  border: 1px solid rgba(240, 208, 96, 0.34);
}
.slide.active { display: block; }
.slide small {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--gold-2);
  background: transparent;
  cursor: pointer;
}
.dot.active { background: var(--gold-2); }

.slider-arrow {
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--gold-2);
  border-radius: 8px;
  padding: 0.32rem 0.55rem;
  cursor: pointer;
}

.gold-marquee {
  margin: 1.8rem 0;
  border-block: 1px solid rgba(240, 208, 96, 0.5);
  background: linear-gradient(90deg, rgba(212,175,55,0.1), rgba(232,195,106,0.15), rgba(212,175,55,0.1));
  overflow: hidden;
}
.gold-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerScroll 24s linear infinite;
  padding: 0.6rem 0;
  color: #ffe7a6;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
}

section { padding: 1.6rem 0; }
.section-text { max-width: 74ch; }
.section-text p { margin: 0 0 1rem; }

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

.steps {
  counter-reset: adim;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}
.steps li::before {
  counter-increment: adim;
  content: counter(adim);
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  color: #3d0610;
  font-weight: 800;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}
.status-table th,
.status-table td {
  border: 1px solid rgba(240, 208, 96, 0.25);
  padding: 0.55rem 0.6rem;
  text-align: left;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  word-break: break-all;
  font-size: 0.92rem;
}
.copy-btn {
  margin-left: 0.6rem;
}

.cta-band {
  margin: 1.8rem 0;
  padding: 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(240, 208, 96, 0.45);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.ratings {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}
.score {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-3);
  margin-bottom: 0.2rem;
}
.note-mini {
  font-size: 0.82rem;
  color: var(--muted);
}

.bar-row {
  display: grid;
  grid-template-columns: 78px 1fr 48px;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(247, 239, 221, 0.15);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  width: 0;
  transition: width 1.1s ease;
}

.comments {
  display: grid;
  gap: 0.8rem;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.countdown {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.count-box {
  min-width: 58px;
  padding: 0.45rem;
  border-radius: 10px;
  text-align: center;
  background: rgba(247, 239, 221, 0.08);
  border: 1px solid rgba(240, 208, 96, 0.28);
}
.count-box strong { display: block; font-size: 1.1rem; color: var(--gold-3); }

.faq-item {
  border: 1px solid rgba(240, 208, 96, 0.26);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  text-align: left;
  background: rgba(247, 239, 221, 0.06);
  color: var(--ivory);
  border: 0;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  cursor: pointer;
}
.faq-content {
  display: none;
  padding: 0 0.9rem 0.85rem;
  color: #eedeb7;
}
.faq-item.open .faq-content { display: block; }

.lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lang-links a {
  border: 1px solid rgba(240, 208, 96, 0.35);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(240, 208, 96, 0.25);
  margin-top: 2rem;
  padding: 1.2rem 0 4.2rem;
  color: #d8c8a0;
}
.footer small { display: block; margin-top: 0.45rem; }

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  gap: 0.65rem;
  padding: 0.65rem;
  background: rgba(20, 2, 8, 0.95);
  border-top: 1px solid rgba(240, 208, 96, 0.35);
}
.mobile-dock .btn { flex: 1; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 990px) {
  .hero-grid, .ratings { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .site-header { top: 30px; }
  .header-cta .btn { padding: 0.58rem 0.8rem; font-size: 0.9rem; }
  .bento { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .mobile-dock { display: flex; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 1rem); }
  .brand-text { font-size: 1.08rem; }
  .main-nav { gap: 0.7rem; }
}

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