:root {
  --bg: #07070c;
  --surface: #10101a;
  --surface-2: #171726;
  --text: #f2f3f8;
  --muted: #a4a8b9;
  --line: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(120deg, #ff2a2e 0%, #ff7a45 100%);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: radial-gradient(circle at 10% -20%, rgba(255, 60, 50, 0.15), transparent 45%), var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.72;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1rem; color: #d9dcec; }
h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-family: 'Unbounded', sans-serif;
  letter-spacing: 0.2px;
}
.container { width: min(1120px, 92vw); margin-inline: auto; }

.ticker {
  background: #0b0b12;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 1rem;
  padding: 0.55rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #ff8f6f;
  animation: marquee 26s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.logo-mark {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--grad);
  color: white;
  font-weight: 800;
  font-family: 'Unbounded', sans-serif;
  box-shadow: 0 0 0 2px rgba(255, 122, 69, 0.2), 0 0 20px rgba(255, 70, 56, 0.35);
}
.logo-text { font-family: 'Unbounded', sans-serif; font-size: 0.98rem; text-transform: lowercase; }
.main-nav { display: none; gap: 1rem; justify-content: center; font-weight: 600; color: #d4d7e6; }
.main-nav a:hover { color: #fff; }
.header-cta { display: inline-flex; gap: 0.5rem; }

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(255, 67, 52, 0.4);
}
.btn-secondary {
  color: #fff;
  background: linear-gradient(120deg, #f14526, #ff9d62);
  box-shadow: 0 8px 22px rgba(255, 118, 60, 0.35);
}
.btn-ghost {
  color: #ffd4c8;
  border-color: rgba(255, 122, 69, 0.46);
  background: rgba(255, 122, 69, 0.08);
}
.btn-small { padding: 0.5rem 0.86rem; font-size: 0.78rem; }

.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hero {
  padding: 3.2rem 0 1.4rem;
  position: relative;
  display: grid;
  gap: 1.3rem;
}
.hero-ghost {
  position: absolute;
  inset: 0 auto auto 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.6rem, 13vw, 9rem);
  font-weight: 800;
  text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 122, 69, 0.12);
  pointer-events: none;
  user-select: none;
}
.hero-content { position: relative; z-index: 2; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  color: #ff906f;
  letter-spacing: 1px;
  font-size: 0.78rem;
}
.hero h1 { font-size: clamp(1.5rem, 4.6vw, 3.2rem); max-width: 18ch; }
.lead { max-width: 70ch; }

.hero-slider,
.guide-slider,
.games-rail {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 75, 56, 0.09), rgba(255, 75, 56, 0.03));
  border: 1px solid rgba(255, 122, 69, 0.24);
  border-radius: var(--radius);
  padding: 1rem;
  overflow: hidden;
}
.hero-slider::before,
.guide-slider::before,
.games-rail::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 60deg, transparent 0%, rgba(255, 122, 69, 0.45), transparent 32%);
  z-index: -1;
  filter: blur(10px);
}
.slides, .guide-track, .games-track {
  display: flex;
  transition: transform 0.46s ease;
  width: 100%;
}
.slide,
.guide-step,
.game-card {
  min-width: 100%;
  background: rgba(8, 8, 14, 0.84);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  padding: 1rem;
}
.slide h2 { font-size: clamp(1.05rem, 2.8vw, 1.55rem); }
.slide-cta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.8rem; }
.slider-controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slider-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 69, 0.5);
  background: #12121d;
  color: #ffe3d9;
  cursor: pointer;
}
.slider-dots { display: inline-flex; gap: 0.35rem; }
.slider-dots button {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
}
.slider-dots button.is-active { background: #ff7a45; }

.address-console,
.address-cards,
.toc,
.article,
.event-banner,
.final-cta { margin-top: 1.5rem; }

.console-box {
  margin-top: 0.9rem;
  background: #0c0c14;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.console-box code {
  font-family: 'JetBrains Mono', monospace;
  color: #ffb49b;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.counter-strip {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 122, 69, 0.1), rgba(255, 122, 69, 0.03));
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.counter-item {
  background: rgba(10, 10, 17, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem;
  text-align: center;
}
.counter {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.address-cards {
  display: grid;
  gap: 0.9rem;
}
.address-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(13, 13, 22, 0.78);
}
.address-card.highlight { border-color: rgba(255, 122, 69, 0.65); box-shadow: var(--shadow); }
.address-text {
  font-family: 'JetBrains Mono', monospace;
  color: #ffba9f;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.note { font-size: 0.9rem; color: #b8bcce; }

.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: #ffd5c6; }

.article {
  background: rgba(14, 14, 23, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}
.article h2 {
  font-size: clamp(1.2rem, 3.8vw, 2rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.article h3 { font-size: 1.08rem; }
.inline-cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.rating-box {
  border: 1px solid rgba(255, 122, 69, 0.34);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 122, 69, 0.08), rgba(255, 122, 69, 0.02));
}
.rating-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.45rem; margin-bottom: 0.9rem; }
.bar-row { display: grid; grid-template-columns: 2rem 1fr 2.3rem; gap: 0.5rem; align-items: center; margin-bottom: 0.43rem; }
.bar {
  width: 100%;
  height: 0.53rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.bar i {
  display: block;
  width: var(--fill);
  height: 100%;
  background: var(--grad);
  transform-origin: left;
  animation: fillbar 1.5s ease;
}
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.plus-minus {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}
.plus-minus ul { margin: 0; padding-left: 1.2rem; }
.review-card {
  margin-top: 1rem;
  border: 1px solid rgba(255, 122, 69, 0.38);
  background: rgba(8, 8, 14, 0.88);
  border-radius: 12px;
  padding: 0.9rem;
}
.stars { color: #ffb141; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.2rem; }

.tips-list { padding-left: 1.2rem; margin: 0; }
.tips-list li { margin-bottom: 0.68rem; }

.accordion { display: grid; gap: 0.55rem; }
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 10, 18, 0.9);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.88rem;
  cursor: pointer;
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  padding: 0 0.88rem;
}
.accordion-item.is-open .accordion-panel { max-height: 230px; padding-bottom: 0.7rem; }

.event-banner {
  border: 1px solid rgba(255, 122, 69, 0.35);
  border-radius: 16px;
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 57, 46, 0.18), rgba(255, 122, 69, 0.09));
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.countdown div {
  text-align: center;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
}
.countdown strong { display: block; font-size: 1.14rem; font-family: 'Unbounded', sans-serif; }
.countdown span { font-size: 0.76rem; color: #ffd5c8; text-transform: uppercase; }

.final-cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  background: rgba(12, 12, 20, 0.86);
}
.final-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 5.8rem;
  background: #06060a;
}
.footer-grid { display: grid; gap: 0.3rem; color: #c7cbdb; }
.lang-links { display: inline-flex; flex-wrap: wrap; gap: 0.6rem; }
.lang-links a { border: 1px solid var(--line); padding: 0.2rem 0.5rem; border-radius: 99px; }

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem;
  background: rgba(9, 9, 15, 0.94);
  border-top: 1px solid var(--line);
}
.mobile-dock .btn { width: 100%; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.2rem;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: #151528;
  color: #ffe2d5;
  border: 1px solid rgba(255, 122, 69, 0.45);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  transition: 0.25s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(16px); transition: 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 760px) {
  .main-nav { display: inline-flex; }
  .counter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .address-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plus-minus { grid-template-columns: 1fr 1fr; }
  .article { padding: 1.4rem; }
}

@media (min-width: 1024px) {
  .mobile-dock { display: none; }
  .site-footer { padding-bottom: 1.6rem; }
  .btn { font-size: 0.9rem; }
}

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