:root {
  color-scheme: dark;
  --bg: #0a0d16;
  --surface: #121827;
  --surface-2: #192236;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f6fc;
  --muted: #98a6c3;
  --pink: #ff4e88;
  --cyan: #00e5ff;
  --amber: #ffb84d;
  --green: #38e59a;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-color: #090b13;
  background-image:
    linear-gradient(180deg, rgba(9, 11, 19, 0.28) 0%, rgba(10, 13, 22, 0.62) 42%, rgba(10, 13, 22, 0.92) 80%, #0a0d16 100%),
    radial-gradient(640px 360px at 14% 4%, rgba(255, 78, 136, 0.16), transparent 65%),
    radial-gradient(580px 360px at 86% 10%, rgba(0, 229, 255, 0.14), transparent 65%),
    url("./assets/vice-bg.png"),
    url("./assets/vice-bg.jpg"),
    url("./assets/vice-bg.svg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

/* Progressive top-to-bottom atmospheric blur */
.bg-glow::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: linear-gradient(180deg, rgba(9, 11, 19, 0.06) 0%, rgba(10, 13, 22, 0.28) 38%, rgba(10, 13, 22, 0.58) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 36%, #000000 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 36%, #000000 72%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.3;
}

.container {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 22, 0.82);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  color: #0b0e17;
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-text em {
  font-style: normal;
  color: var(--cyan);
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.platform-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.platform-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.platform-btn.is-active {
  background: linear-gradient(135deg, var(--pink), #ff7657);
  color: #fff;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 56px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.hero h1 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

.hero-title-main {
  display: inline-block;
  width: fit-content;
  font-size: clamp(2.85rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  background: linear-gradient(105deg, #fff5fa 0%, #ff6da8 48%, #ffb25c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-sub {
  font-size: clamp(1.3rem, 2.25vw, 1.92rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #f4f7ff;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-title-sub {
    white-space: normal;
  }
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -28px -36px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at 36% 54%, rgba(9, 12, 22, 0.58) 0%, rgba(9, 12, 22, 0.22) 52%, transparent 74%);
  filter: blur(18px);
  pointer-events: none;
}

.subtitle {
  margin: 0;
  color: #edf2fc;
  font-size: 0.98rem;
  max-width: 60ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.progress-panel {
  background: rgba(16, 22, 36, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 130, 178, 0.28);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.progress-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.progress-count {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.progress-pct {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--cyan));
  transition: width 0.25s ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.progress-actions {
  display: flex;
  gap: 10px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.text-btn:hover {
  text-decoration: underline;
}

.text-btn.danger {
  color: #ff7a90;
}

/* Activation Banner */
.activation-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.activation-step {
  display: flex;
  gap: 12px;
  background: rgba(16, 22, 36, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
}

.activation-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.activation-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--text);
}

/* Controls */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

#search-input {
  width: 100%;
  padding: 13px 40px 13px 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 22, 36, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.clear-btn {
  position: absolute;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.search-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -6px;
}

.hints-label {
  font-size: 0.76rem;
  color: var(--muted);
  margin-right: 2px;
}

.hint-chip {
  border: 1px solid var(--border);
  background: rgba(16, 22, 36, 0.56);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hint-chip:hover {
  color: var(--text);
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.1);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: rgba(16, 22, 36, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tab:hover {
  border-color: rgba(255, 78, 136, 0.42);
  color: var(--text);
}

.tab.is-active {
  background: linear-gradient(135deg, var(--pink), #ff7657);
  color: #ffffff;
  border-color: rgba(255, 130, 178, 0.65);
  box-shadow: 0 4px 18px rgba(255, 78, 136, 0.32);
}

.tab-count {
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.tab.is-active .tab-count {
  background: rgba(11, 14, 23, 0.26);
  color: #ffffff;
}

.quick-toggles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--muted);
  background: rgba(16, 22, 36, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.toggle-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.toggle-chip:has(input:checked) {
  border-color: rgba(255, 78, 136, 0.55);
  background: rgba(255, 78, 136, 0.12);
  color: var(--text);
}

.toggle-chip input,
.unlock-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.toggle-chip input::after,
.unlock-check input::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.14s ease;
}

.toggle-chip input:checked {
  background: linear-gradient(135deg, var(--pink), #ff7657);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(255, 78, 136, 0.4);
}

.toggle-chip input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.result-summary {
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Grid & Cards */
.cheats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}

.cheat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(16, 22, 36, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cheat-card:hover {
  border-color: rgba(255, 78, 136, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), 0 0 22px rgba(255, 78, 136, 0.14);
  transform: translateY(-2px);
}

.cheat-card.is-unlocked {
  border-color: rgba(56, 229, 154, 0.45);
  background: linear-gradient(180deg, rgba(56, 229, 154, 0.1), rgba(16, 22, 36, 0.8));
}

.cheat-card.is-highlighted {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.25);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 6px;
}

.cat-player { background: rgba(0, 229, 255, 0.14); color: var(--cyan); }
.cat-combat { background: rgba(255, 78, 136, 0.16); color: #ff7ba6; }
.cat-vehicle { background: rgba(255, 184, 77, 0.16); color: var(--amber); }
.cat-environment { background: rgba(56, 229, 154, 0.16); color: var(--green); }
.cat-filter { background: rgba(168, 130, 255, 0.18); color: #c4a8ff; }

.card-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.unlock-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.unlock-check:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.unlock-check input:checked {
  background: var(--green);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(56, 229, 154, 0.4);
}

.unlock-check input:checked::after {
  border-left-color: #0b0e17;
  border-bottom-color: #0b0e17;
  transform: rotate(-45deg) scale(1);
}

.cheat-card.is-unlocked .unlock-check {
  color: var(--green);
  border-color: rgba(56, 229, 154, 0.4);
  background: rgba(56, 229, 154, 0.1);
}

.card-effect {
  margin: 0;
  font-size: 0.88rem;
  color: #d6dff0;
}

.card-challenge {
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--amber);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
}

.card-challenge strong {
  color: var(--text);
}

/* D-Pad Combo */
.code-box {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dpad-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dpad-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.dpad-up { border-color: rgba(0, 229, 255, 0.45); color: var(--cyan); }
.dpad-down { border-color: rgba(255, 78, 136, 0.45); color: #ff8ab0; }
.dpad-left { border-color: rgba(255, 184, 77, 0.45); color: var(--amber); }
.dpad-right { border-color: rgba(56, 229, 154, 0.45); color: var(--green); }

.pending-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-strong);
  border-radius: 7px;
  padding: 6px 10px;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mini-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mini-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
}

/* FAQ */
.faq-section {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-list p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Player Comments */
.comments-section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.comments-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.comments-count {
  font-size: 0.84rem;
  color: var(--muted);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(16, 22, 36, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.comment-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  background: rgba(10, 14, 24, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.comment-form textarea {
  resize: vertical;
  min-height: 76px;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.comment-submit-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), #ff7657);
  box-shadow: 0 4px 16px rgba(255, 78, 136, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.comment-submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-item {
  background: rgba(16, 22, 36, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0b0e17;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.comment-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.comment-date {
  font-size: 0.76rem;
  color: var(--muted);
}

.comment-text {
  margin: 0;
  font-size: 0.9rem;
  color: #d6dff0;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-del-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}

.comment-del-btn:hover {
  color: #ff7a90;
  background: rgba(255, 122, 144, 0.1);
}

/* Footer */
.footer {
  margin-top: 48px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a {
  color: var(--cyan);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Floating Vice Radio Mini-Player */
.radio-player {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(14, 19, 34, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 78, 136, 0.42);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 78, 136, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.radio-player.is-playing {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 229, 255, 0.22);
}

.radio-play-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  color: #0b0e17;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.radio-play-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.radio-play-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

#radio-icon-play {
  display: block;
}

#radio-icon-pause {
  display: none;
}

.radio-player.is-playing #radio-icon-play {
  display: none;
}

.radio-player.is-playing #radio-icon-pause {
  display: block;
}

.radio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 152px;
}

.radio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.radio-station {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.radio-time {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.radio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.radio-eq i {
  display: block;
  width: 2.5px;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
  transition: height 0.2s ease;
}

.radio-player.is-playing .radio-eq i {
  background: var(--cyan);
  animation: eqBounce 0.75s ease-in-out infinite alternate;
}

.radio-player.is-playing .radio-eq i:nth-child(2) { animation-delay: 0.2s; }
.radio-player.is-playing .radio-eq i:nth-child(3) { animation-delay: 0.42s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 10px; }
}

.radio-track {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 2px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--cyan) var(--prog, 0%), rgba(255, 255, 255, 0.14) var(--prog, 0%));
  outline: none;
  cursor: pointer;
}

.radio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.75);
  cursor: pointer;
}

.radio-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.75);
  cursor: pointer;
}

.radio-vol-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

.radio-mute-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.radio-mute-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  color: #ffffff;
}

.radio-mute-btn svg {
  width: 14px;
  height: 14px;
}

.radio-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 68px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) var(--vol, 60%), rgba(255, 255, 255, 0.28) var(--vol, 60%));
  outline: none;
  cursor: pointer;
}

.radio-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.75);
  cursor: pointer;
}

.radio-vol::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.75);
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 84px;
  right: 20px;
  background: #1c273f;
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .activation-banner {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .result-summary {
    margin-left: 0;
    width: 100%;
  }
  .radio-player {
    right: 12px;
    bottom: 12px;
  }
  .radio-vol {
    display: none;
  }
}
