/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ---------- tokens ---------- */
:root {
  --bg:      #08080a;
  --bg-2:    #0c0c0f;
  --panel:   #0e0e11;
  --line:    #1a1a1f;
  --line-2:  #232329;
  --txt:     #e4e4ea;
  --txt-2:   #c8c8ce;
  --muted:   #7a7a84;
  --dim:     #4a4a52;
  --red:     #e5273b;
  --red-2:   #ff4557;
  --green:   #4ade80;
  --discord: #5865F2;
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max:     1280px;
  --gutter:  32px;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

/* ============ MASTHEAD ============ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,10,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mh-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.mh-brand { display: flex; align-items: center; gap: 10px; }
.mh-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 4px;
}
.mh-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.mh-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.mh-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.mh-nav a { transition: color .15s; }
.mh-nav a:hover { color: var(--txt); }

.mh-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 6px;
  background: rgba(74,222,128,0.05);
  transition: background .15s, border-color .15s;
}
.mh-cta:hover {
  background: rgba(74,222,128,0.10);
  border-color: rgba(74,222,128,0.4);
}
.led {
  width: 6px; height: 6px;
  background: var(--green);
  display: inline-block;
  border-radius: 50%;
  animation: ledpulse 2s ease-in-out infinite;
}
@keyframes ledpulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ============ CONTAINER ============ */
.hero-inner,
.sec,
.foot-inner,
.foot-base {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ HERO ============ */
.hero {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.issue {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ VIDEO SECTION ============ */
.video-section {
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, rgba(229,39,59,0.1) 0%, rgba(88,166,255,0.05) 100%);
  pointer-events: none;
}
.video-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 48px auto;
  padding: 0 var(--gutter);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(229, 39, 59, 0.15), 0 0 1px 1px rgba(229, 39, 59, 0.1);
  transition: box-shadow .3s ease;
}
.video-container:hover {
  box-shadow: 0 25px 70px rgba(229, 39, 59, 0.25), 0 0 1px 1px rgba(229, 39, 59, 0.2);
}

/* CUSTOM VIDEO PLAYER */
.custom-video-player {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  group: "player" / contents;
}
.custom-video-player:hover .player-controls {
  opacity: 1;
}
.video-player {
  width: 100%;
  flex: 1;
  display: block;
  background: #000;
}
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px 12px 12px;
  opacity: 0;
  transition: opacity .2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.custom-video-player:hover .player-controls,
.custom-video-player:focus-within .player-controls {
  opacity: 1;
}

/* PROGRESS BAR */
.progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  group: "progress";
}
.progress-bar:hover {
  height: 6px;
}
.progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  width: 0%;
  transition: width .1s linear;
}
.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 8px rgba(229,39,59,0.6);
  transition: opacity .2s ease;
}
.progress-bar:hover .progress-handle {
  opacity: 1;
}

/* CONTROLS BOTTOM */
.controls-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.left-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.right-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BUTTONS */
.play-btn, .volume-btn, .fullscreen-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all .2s ease;
  opacity: 0.8;
}
.play-btn:hover, .volume-btn:hover, .fullscreen-btn:hover {
  background: rgba(229,39,59,0.3);
  opacity: 1;
}

/* TIME DISPLAY */
.time-display {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.separator {
  opacity: 0.6;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  transition: background .15s, border-color .15s, color .15s;
}
.btn-solid {
  background: var(--discord);
  border-color: var(--discord);
  color: #fff;
}
.btn-solid:hover { filter: brightness(1.15); }
.btn-ghost { color: var(--txt-2); }
.btn-ghost:hover { border-color: var(--txt-2); color: var(--txt); }

.discord-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

/* ============ SECTION SHELL ============ */
.sec {
  padding-top: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--line);
}
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}
.sh-left { display: flex; flex-direction: column; gap: 10px; }
.sec-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 600;
}
.sec-head h2 {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.sec-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
  justify-self: end;
}

/* ============ MANIFEST ============ */
.manifest-table { border-top: 1px solid var(--line-2); }

.mt-head, .mt-row {
  display: grid;
  grid-template-columns: 60px 1.8fr 2.5fr 160px 120px;
  gap: 24px;
  align-items: center;
  padding: 18px 8px;
  font-size: 13px;
}
.mt-head {
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 8px;
}
.mt-item {
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .15s;
}
.mt-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .15s;
}
.mt-item:hover::before { background: var(--red); }
.mt-item:hover { background: rgba(255,255,255,0.012); }

.mt-id { color: var(--dim); font-size: 13px; font-weight: 500; }
.mt-name { display: flex; flex-direction: column; gap: 2px; }
.mt-name strong {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--txt);
  line-height: 1.2;
}
.mt-name em {
  font-style: normal;
  font-size: 11px;
  color: var(--dim);
}
.mt-mods { color: var(--muted); font-size: 13px; }

.mt-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}
.ta-c { text-align: center; justify-self: center; }

.mt-action { display: flex; justify-content: center; }
.btn-row {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--txt-2);
  transition: all .15s;
  white-space: nowrap;
}
.btn-row:hover {
  background: var(--discord);
  border-color: var(--discord);
  color: #fff;
}

/* ============ PRICING ============ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.plan {
  background: var(--bg-2);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.plan-hot { background: rgba(229,39,59,0.04); }
.plan-hot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.plan-name {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-name .tag {
  font-size: 10px;
  padding: 2px 7px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.1em;
  border-radius: 4px;
}
.plan-price {
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price span {
  font-size: 13px;
  color: var(--dim);
  font-weight: 500;
  margin-left: 4px;
}
.plan ul { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 4px; }
.plan li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.btn-plan {
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--txt-2);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all .15s;
}
.btn-plan:hover { border-color: var(--discord); color: var(--discord); }
.btn-plan-solid {
  background: var(--discord);
  border-color: var(--discord);
  color: #fff;
}
.btn-plan-solid:hover { filter: brightness(1.15); color: #fff; }

/* ============ FAQ ============ */
.faq { border-top: 1px solid var(--line-2); }
.q-item {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: background .15s;
}
.q-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .15s;
}
.q-item:hover::before,
.q-item.open::before { background: var(--red); }
.q-item:hover { background: rgba(255,255,255,0.012); }
.q-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
}
.q-num { font-size: 13px; color: var(--dim); font-weight: 500; }
.q-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.q-toggle {
  font-size: 22px;
  color: var(--red);
  font-weight: 300;
  line-height: 1;
  transition: transform .25s;
  text-align: center;
}
.q-item.open .q-toggle { transform: rotate(45deg); }
.q-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 8px;
}
.q-item.open .q-body { max-height: 400px; padding: 0 8px 24px; }
.q-body p {
  margin: 0;
  padding-left: 84px;
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ============ FOOTER ============ */
.foot {
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
  background: var(--bg-2);
}
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.fg-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border-radius: 6px;
}
.fg-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.fg-name {
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 4px;
}
.fg-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 400px;
}
.fg-right { display: flex; gap: 24px; font-size: 13px; }
.fg-right a {
  color: var(--muted);
  transition: color .15s;
}
.fg-right a:hover { color: var(--red); }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ============ REVEAL ============ */
.sec {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.9,.3,1), transform .7s cubic-bezier(.2,.9,.3,1);
}
.sec.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .mh-nav { display: none; }
  .hero { padding: 64px 0 72px; }
  .video-section { padding: 48px 0; }
  .video-container { margin: 32px auto; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .sec-desc { justify-self: start; }

  .mt-head { display: none; }
  .mt-row {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas:
      "id name action"
      "id mods action"
      "id status action";
    gap: 4px 12px;
    padding: 18px 8px;
  }
  .mt-id { grid-area: id; align-self: start; padding-top: 4px; }
  .mt-name { grid-area: name; }
  .mt-mods { grid-area: mods; }
  .mt-status { grid-area: status; margin-top: 4px; }
  .mt-action { grid-area: action; align-self: center; }

  .plans { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .fg-right { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .mt-name strong { font-size: 14px; }
  .btn-row { padding: 5px 10px; font-size: 11px; }
  .video-container { margin: 24px auto; }
  .player-controls { padding: 16px 8px 8px; }
  .play-btn, .volume-btn, .fullscreen-btn { padding: 4px; }
  .play-btn svg, .volume-btn svg, .fullscreen-btn svg { width: 18px; height: 18px; }
  .time-display { font-size: 11px; }
  .q-row { grid-template-columns: 40px 1fr 30px; gap: 12px; padding: 18px 8px; }
  .q-title { font-size: 15px; }
  .q-body p { padding-left: 0; padding-top: 8px; }
  .foot-base { flex-direction: column; gap: 8px; }
  .plan-price { font-size: 36px; }
}