:root {
  --bg: #0a0e14;
  --bg-card: #111820;
  --surface: #161f2a;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #22d3ee;
  --accent-warm: #f59e0b;
  --accent-hover: #67e8f9;
  --road: #243041;
  --font: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.logo-mascot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--road);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.82) 0%, rgba(10, 14, 20, 0.55) 45%, var(--bg) 100%),
    url("assets/images/welcome.jpg") no-repeat center center;
  background-size: 100% 100%, cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 48px 24px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 55%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-summary {
  margin: 0 0 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.65;
}

.hero-subtitle {
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0891b2 100%);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--road);
}

.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 32px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about {
  background: var(--bg-card);
}

.about-content p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.about-content p:last-of-type {
  margin-bottom: 1.5em;
}

.faq {
  background: var(--bg-card);
}

.faq-list {
  margin: 0;
  max-width: 780px;
}

.faq-list dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 18px;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq-list dd {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.faq-list a {
  color: var(--accent);
  text-decoration: none;
}

.faq-list a:hover {
  text-decoration: underline;
}

.gallery-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.gallery-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.gallery-track {
  display: flex;
  transition: transform 0.35s ease-out;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 70vh;
  background: var(--surface);
}

.gallery-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  object-fit: contain;
  object-position: center;
}

.gallery-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--road);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.gallery-btn:hover {
  color: var(--accent);
  background: var(--bg-card);
  border-color: var(--accent);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery-dots .dot:hover {
  background: var(--text-muted);
}

.gallery-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.play {
  background: var(--bg);
  border-top: 1px solid var(--surface);
}

.play-lead {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.play-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.play-card {
  display: block;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--road);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.play-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.12);
  transform: translateY(-2px);
}

.play-card-icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.play-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.play-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.play-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.official {
  padding: 48px 0 40px;
  background: var(--bg-card);
}

.official .section-title {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.official-links {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
}

.official-links li {
  margin: 0;
}

.official-links a {
  color: var(--accent);
  text-decoration: none;
}

.official-links a:hover {
  text-decoration: underline;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--surface);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 24px;
    top: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px 16px;
    background: rgba(10, 14, 20, 0.98);
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--surface);
    border-top: none;
    display: none;
  }

  .nav.nav-open {
    display: flex;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .official-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .official {
    padding: 40px 0 32px;
  }

  .official-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
