:root {
  --bg: #02040a;
  --card: #0a1222;
  --card-border: rgba(140, 170, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(190, 205, 235, 0.45);
  --btn: #0c1220;
  --btn-border: rgba(140, 170, 255, 0.12);
  --font: "DM Sans", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(50, 90, 180, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2.5rem));
  margin: auto;
  padding: 4.5rem 0 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  text-align: center;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow span {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.brand h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.discord-section {
  margin-top: 2.75rem;
}

.discord-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(10, 18, 34, 0.9) 55%),
    #0a1222;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.discord-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.discord-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1220;
}

.discord-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(170, 180, 255, 0.75);
}

.discord-card-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.discord-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.discord-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.15rem 0 1rem;
}

.discord-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.discord-stat strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.discord-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.discord-dot.online {
  background: #23a559;
  box-shadow: 0 0 10px rgba(35, 165, 89, 0.7);
}

.discord-dot.members {
  background: #80848e;
}

.discord-join {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.28);
  border: 1px solid rgba(88, 101, 242, 0.55);
  color: #e8ebff;
  font-size: 0.88rem;
  font-weight: 600;
}

.discord-join svg {
  width: 18px;
  height: 18px;
}

.discord-card:hover .discord-join {
  background: rgba(88, 101, 242, 0.4);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.card {
  background: linear-gradient(180deg, #101a2e 0%, #0a1222 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.95rem 1.65rem 1.65rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  box-shadow: 0 0 0 1px rgba(100, 140, 255, 0.05) inset;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #f2f2f2;
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.card-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
}

.card:hover .card-icon {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(255, 255, 255, 0.06);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.card-icon--img {
  overflow: hidden;
  padding: 0;
}

.card-icon--img img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.card-icon--img img[src*="fortnite-f"] {
  mix-blend-mode: screen;
  filter: brightness(1.15);
}

.card-icon--img img[src*="fivem"] {
  mix-blend-mode: lighten;
  width: 28px;
  height: 28px;
}

.card-icon--img img[src*="minecraft"] {
  mix-blend-mode: lighten;
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}

.card-icon--img img[src*="roblox"] {
  mix-blend-mode: lighten;
  width: 26px;
  height: 26px;
}

.card-icon--img img[src*="spoofer"] {
  mix-blend-mode: lighten;
  width: 28px;
  height: 28px;
}

.card-icon--img img[src*="fortnite-og"] {
  mix-blend-mode: lighten;
  width: 40px;
  height: 40px;
  max-width: none;
  transform: none;
}

.card h2 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--btn-border);
  background: var(--btn);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:hover {
  background: #121a2c;
  border-color: rgba(140, 170, 255, 0.28);
}

.btn:active {
  transform: scale(0.98);
}

.footer {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2.5rem));
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #0c1220;
  border: 1px solid rgba(140, 170, 255, 0.18);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 8, 0.72);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #101a2e 0%, #0a1222 100%);
  border: 1px solid rgba(140, 170, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid rgba(140, 170, 255, 0.1);
}

.modal-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(140, 170, 255, 0.14);
  background: #0c1220;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-close:hover {
  background: #121a2c;
  border-color: rgba(140, 170, 255, 0.28);
}

.modal-body {
  padding: 1.15rem 1.25rem 1.4rem;
  overflow-y: auto;
  color: rgba(210, 220, 240, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.modal-body--virus {
  white-space: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-body--virus p {
  margin: 0;
}

.virus-shot {
  width: 100%;
  max-width: 420px;
  align-self: center;
  border-radius: 10px;
  border: 1px solid rgba(140, 170, 255, 0.12);
  background: #111;
}

.virus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.btn-carry {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.55);
}

.btn-carry:hover {
  background: rgba(88, 101, 242, 0.35);
  border-color: rgba(88, 101, 242, 0.8);
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 3rem;
  }
}
