:root {
  --bg: #05070d;
  --panel: rgba(7, 10, 18, 0.5);
  --panel-strong: rgba(11, 15, 26, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #9aa5ba;
  --red: #e83d3d;
  --blue: #2f79ff;
  --green: #4df2a3;
  --gold: #ffce63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.background-video,
.page-overlay,
.intro-overlay {
  position: fixed;
  inset: 0;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.36);
}

.page-overlay {
  background:
    radial-gradient(circle at top left, rgba(232, 61, 61, 0.18), transparent 24%),
    radial-gradient(circle at right center, rgba(47, 121, 255, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.28), rgba(3, 6, 14, 0.78));
  pointer-events: none;
}

.intro-overlay {
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  transition: opacity 1.3s ease, visibility 1.3s ease;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-card {
  text-align: center;
  padding: 2rem;
  width: min(92vw, 560px);
}

.intro-image {
  width: min(280px, 60vw);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
}

.intro-primary,
.intro-secondary {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
}

.intro-primary {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.intro-secondary {
  min-height: 2.2rem;
  color: var(--gold);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.site-header,
.content-shell {
  position: relative;
  z-index: 2;
}

.theme-mode-screen {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.theme-mode-screen.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.theme-mode-panel {
  width: min(760px, 100%);
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem);
  background: rgba(7, 10, 18, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.theme-mode-eyebrow,
.theme-mode-panel h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
}

.theme-mode-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.theme-mode-panel h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.brand-block {
  display: block;
}

.brand-title,
h1,
.eyebrow,
.section-title,
.theme-toggle,
.download-button,
.discord-button,
.mogged-button {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
}

.brand-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.theme-toggle,
.download-button,
.discord-button,
.mogged-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  padding: 0.8rem 1.3rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover,
.download-button:hover,
.discord-button:hover,
.mogged-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.content-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5vh 0 5rem;
}

.hero,
.modules-section,
.status-section,
.ascend-section,
.discord-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero {
  padding: clamp(2rem, 6vw, 4rem);
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 1.2rem;
}

h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(3.8rem, 10vw, 8rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  margin: 1.5rem 0 2rem;
}

.download-button {
  background: linear-gradient(135deg, #f84949, #a90d0d);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 520px;
}

.detail-box,
.module-group,
.status-row {
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.detail-box {
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.detail-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.modules-section,
.status-section,
.ascend-section,
.discord-section {
  margin-top: 1.4rem;
  padding: 1.6rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modules-list {
  display: grid;
  gap: 0.9rem;
}

.module-group {
  border-radius: 22px;
  overflow: hidden;
}

.module-group summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-group summary::-webkit-details-marker {
  display: none;
}

.module-group summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
}

.module-group[open] summary::after {
  content: "-";
}

.module-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  padding: 0 1.1rem 1.1rem;
}

.module-items span {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe3f2;
}

.status-list {
  display: grid;
  gap: 0.9rem;
}

.status-row {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.detected {
  background: rgba(255, 206, 99, 0.16);
  color: var(--gold);
}

.blatant {
  background: rgba(232, 61, 61, 0.16);
  color: #ff8a8a;
}

.banned {
  background: rgba(232, 61, 61, 0.2);
  color: #ff6464;
}

.clown {
  background: rgba(154, 165, 186, 0.15);
  color: #d4dced;
}

.mogged-button {
  background: linear-gradient(135deg, #ef3f3f, #6f0909);
}

.undetected-text {
  margin-top: 0.9rem;
  color: var(--green);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.undetected-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.discord-button {
  display: inline-flex;
  background: linear-gradient(135deg, #4385ff, #1546d8);
}

body.theme-mode .content-shell,
body.theme-mode .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-toggle {
    align-self: flex-start;
  }

  .brand-block {
    display: block;
  }

  .status-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
