:root {
  --accent: #e94560;
  --accent-soft: #ff6b6b;
  --bg-deep: #07070a;
  --bg-surface: #0c0c12;
  --bg-card: #16161f;
  --text: #eeeef0;
  --text-secondary: #88889a;
  --border: rgba(255, 255, 255, 0.06);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.nav-brand img { border-radius: 6px; }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a { position: relative; transition: color .2s ease; }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: background .2s ease, transform .15s ease;
}

.nav-cta:hover { background: var(--accent-soft); transform: translateY(-1px); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.lang-toggle:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 32px 80px;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(233, 69, 96, 0.12), transparent 60%),
    var(--bg-deep);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(233, 69, 96, 0.16), transparent 65%);
  filter: blur(20px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.hero-diamond {
  position: absolute;
  border: 1px solid rgba(233, 69, 96, 0.35);
  transform: rotate(45deg);
  opacity: 0;
  animation: float-in 2s ease forwards;
}

.hero-diamond--1 {
  width: 260px; height: 260px;
  right: 8%; top: 16%;
  animation-delay: .4s;
}

.hero-diamond--2 {
  width: 150px; height: 150px;
  left: 10%; top: 24%;
  border-color: rgba(255, 255, 255, 0.1);
  animation-delay: .7s;
}

.hero-diamond--3 {
  width: 90px; height: 90px;
  left: 24%; bottom: 14%;
  animation-delay: 1s;
}

@keyframes float-in {
  0% { opacity: 0; transform: rotate(45deg) scale(0.6); }
  100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.hero-inner { position: relative; z-index: 2; max-width: 900px; will-change: transform; }

.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-title-accent {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.35);
}

.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 10px 36px rgba(233, 69, 96, 0.45);
}

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

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }

.btn-block { width: 100%; }

.hero-meta {
  margin-top: 26px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  will-change: transform;
}

.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.scroll-hint-line i {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px;
  position: relative;
}

.section-head { margin-bottom: 64px; }

.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.section-index {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

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

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  font-weight: 300;
}

/* ---------- Server status ---------- */

.server {
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(233, 69, 96, 0.08), transparent 60%),
    radial-gradient(800px 400px at 85% 90%, rgba(233, 69, 96, 0.05), transparent 60%);
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.server-card {
  background: rgba(22, 22, 31, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform .25s ease, border-color .25s ease;
}

.server-card:hover { transform: translateY(-4px); border-color: rgba(233, 69, 96, 0.35); }

.server-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.server-card-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-card-sub { font-size: 13px; color: var(--text-secondary); margin-top: 10px; }

.server-season { color: var(--text-secondary); font-size: 18px; font-weight: 600; }

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}

.status-dot--online { background: #22c55e; box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); animation: pulse 2s infinite; }
.status-dot--offline { background: #ef4444; box-shadow: 0 0 16px rgba(239, 68, 68, 0.8); }
.status-dot--loading { background: var(--text-secondary); animation: pulse 1.2s infinite; }

.status-text--online { color: #22c55e; }
.status-text--offline { color: #ef4444; }

/* ---------- Highlights carousel ---------- */

.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  background: #000;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
}

.carousel-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(7, 7, 10, 0.6);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}

.carousel-btn:hover { background: var(--accent); color: #fff; }

.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

.carousel-btn:active { transform: translateY(-50%) scale(0.92); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.carousel-dot.active { background: var(--accent); transform: scale(1.3); }

/* ---------- Season theme grid ---------- */

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

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.35);
  background: #1a1a25;
}

.theme-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(233, 69, 96, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.theme-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.theme-card p { font-size: 14px; color: var(--text-secondary); font-weight: 300; }

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.35);
  background: #1a1a25;
}

.feature-card:hover::before { opacity: 1; }

.feature-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 69, 96, 0.12);
  color: var(--accent);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ---------- Download ---------- */

.download {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(233, 69, 96, 0.07), transparent 65%),
    var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.download-inner { max-width: 720px; margin: 0 auto; }

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.download-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.download-card-top img { border-radius: 12px; }

.download-name {
  font-size: 22px;
  font-weight: 700;
}

.download-desc { font-size: 14px; color: var(--text-secondary); }

.download-mirrors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mirrors-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-right: 6px;
}

.mirror-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease;
}

.mirror-tag:hover { border-color: rgba(233, 69, 96, 0.4); color: var(--text); }

.download-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- News ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}

.news-card:hover { transform: translateY(-4px); border-color: rgba(233, 69, 96, 0.35); }

.news-tags { display: flex; gap: 8px; margin-bottom: 16px; }

.news-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(233, 69, 96, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
}

.news-tag--version { color: var(--text-secondary); background: rgba(255, 255, 255, 0.06); }

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  flex: 1;
}

.news-skeleton {
  background: var(--bg-card);
  border-radius: 16px;
  height: 180px;
  border: 1px solid var(--border);
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand img { border-radius: 6px; }

.footer-note { font-size: 13px; color: var(--text-secondary); }

/* ---------- Reveal on scroll ---------- */

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

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

/* ---------- Launcher showcase ---------- */

.launcher-preview {
  max-width: 920px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.launcher-window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-deep);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(233, 69, 96, 0.06);
}

.launcher-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.win-dots span:first-child { background: #ff5f57; }
.win-dots span:nth-child(2) { background: #febc2e; }
.win-dots span:nth-child(3) { background: #28c840; }

.launcher-titlebar-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.win-icon { width: 16px; height: 16px; border-radius: 4px; }

.launcher-preview-body {
  position: relative;
  height: 430px;
  background:
    radial-gradient(700px 300px at 70% -20%, rgba(233, 69, 96, 0.08), transparent 60%),
    var(--bg-deep);
}

.preview-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}

.preview-scene.is-active {
  opacity: 1;
  transform: none;
}

/* --- login scene --- */

.scene-login { display: flex; align-items: center; justify-content: center; }

.scene-login-inner {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.pv-brand { display: flex; justify-content: center; }

.pv-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 6px;
}

.pv-field { display: flex; flex-direction: column; gap: 6px; }
.pv-field label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

.pv-input {
  height: 38px;
  background: var(--bg-inset);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
}

.pv-btn {
  margin-top: 6px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* --- packs scene --- */

.scene-packs { display: flex; }

.pv-sidebar {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  background: var(--bg-surface);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-sb-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.pv-sb-brand svg { border-radius: 5px; }
.pv-sb-brand em { display: block; font-style: normal; font-weight: 500; font-size: 10px; color: var(--text-muted); }

.pv-sb-nav { display: flex; flex-direction: column; gap: 2px; }

.pv-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.pv-nav-item.is-active { color: var(--accent); background: var(--accent-soft); border-color: rgba(233, 69, 96, 0.2); }

.pv-sb-section { display: flex; flex-direction: column; gap: 5px; }

.pv-sb-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pv-pack-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--bg-inset);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-pack-item.is-active { border-color: rgba(233, 69, 96, 0.45); box-shadow: 0 0 0 1px rgba(233, 69, 96, 0.25) inset; }

.pv-pack-name { font-size: 12px; font-weight: 600; }
.pv-pack-meta { font-size: 10px; color: var(--text-muted); }

.pv-sb-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pv-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
}

.pv-user-meta { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.pv-user-meta em { font-style: normal; font-size: 11px; font-weight: 600; }

.pv-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  width: fit-content;
}

.pv-sb-action { color: var(--text-muted); flex-shrink: 0; }

.pv-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  gap: 16px;
  min-width: 0;
}

.pv-main-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pv-main-head h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.pv-tags { display: flex; gap: 6px; }

.pv-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.pv-tag-mc { background: rgba(233, 69, 96, 0.12); border-color: rgba(233, 69, 96, 0.3); color: var(--accent); }

.pv-stats { display: flex; gap: 18px; padding-top: 4px; }
.pv-stats span { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.pv-stats b { font-size: 15px; font-weight: 700; }
.pv-stats i { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); }

.pv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1; }

.pv-gallery-item {
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(233, 69, 96, 0.15), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 120px;
}

.pv-gallery-item--2 { background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.15)); }
.pv-gallery-item--3 { background: linear-gradient(200deg, rgba(233, 69, 96, 0.22), rgba(233, 69, 96, 0.04)); }

.pv-playbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--text-secondary);
}
.pv-playbar em { font-style: normal; color: var(--text); }

.pv-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.pv-play i { font-style: normal; }

/* --- news scene --- */

.scene-news { display: flex; align-items: center; justify-content: center; }

.pv-panel {
  width: 520px;
  max-width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.pv-view-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }

.pv-news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: var(--bg-inset);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pv-news-item b { font-size: 13px; }
.pv-news-item p { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }

.pv-news-tag {
  width: fit-content;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 8px;
  border-radius: 4px;
}

.pv-tag-update { background: rgba(233, 69, 96, 0.14); color: var(--accent); }
.pv-tag-event { background: rgba(255, 255, 255, 0.08); color: var(--text-secondary); }

/* --- settings scene --- */

.scene-settings { display: flex; align-items: center; justify-content: center; }

.pv-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pv-setting-row:last-of-type { border-bottom: none; }

.pv-setting-label { font-size: 13px; font-weight: 600; }

.pv-setting-control { display: flex; align-items: center; gap: 10px; }

.pv-range {
  position: relative;
  width: 150px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-card);
}

.pv-range-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  border-radius: 999px;
  background: var(--accent);
}

.pv-range-knob {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(233, 69, 96, 0.6);
}

.pv-range-value { font-size: 12px; font-weight: 600; min-width: 38px; }

.pv-chip {
  min-width: 54px;
  padding: 6px 10px;
  text-align: center;
  border-radius: 6px;
  background: var(--bg-inset);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
  font-weight: 600;
}

.pv-chip--wide { min-width: 96px; }
.pv-times { color: var(--text-muted); font-size: 11px; }

.pv-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.pv-badge-online i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* --- install scene --- */

.scene-install { display: flex; align-items: center; justify-content: center; }

.scene-install-inner {
  width: 400px;
  max-width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.pv-progress { height: 8px; border-radius: 999px; background: var(--bg-card); overflow: hidden; }

.pv-progress-fill {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 14px rgba(233, 69, 96, 0.5);
}

.pv-stage { text-align: center; font-size: 12px; color: var(--text-secondary); }

/* preview dots + caption */

.preview-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background .3s ease, width .3s ease;
}

.preview-dot.active { background: var(--accent); width: 22px; }

.preview-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .features-grid, .news-grid, .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .server-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .section { padding: 90px 20px; }
  .features-grid, .news-grid, .theme-grid { grid-template-columns: 1fr; }
  .server-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-diamond--1 { right: -10%; }
  .download-card { padding: 26px; }
  .carousel-btn { width: 42px; height: 42px; font-size: 22px; }
  .launcher-preview-body { height: 360px; }
  .pv-sidebar { width: 58px; }
  .pv-sidebar > .pv-sb-section,
  .pv-sb-brand span,
  .pv-nav-item span,
  .pv-user-meta,
  .pv-sb-action { display: none; }
  .pv-sidebar { align-items: center; }
  .pv-nav-item { justify-content: center; padding: 8px; }
  .pv-sb-section { margin-top: 6px; }
}

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