@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Syne:wght@600;700&display=swap");

:root {
  --bg: #160815;
  --bg-alt: #2c0b2a;
  --ink: #fff1f6;
  --muted: #e3b4cc;
  --accent: #ff5fa2;
  --accent-2: #ff94c2;
  --card: rgba(36, 12, 36, 0.82);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px rgba(20, 5, 17, 0.5);
  --radius: 22px;
  --font: "Manrope", "Gill Sans", "Optima", sans-serif;
  --display: "Syne", "Impact", "Trebuchet MS", sans-serif;
  --mono: "Consolas", "Courier New", monospace;
  --bg-image: none;
}

body[data-theme="rose"] {
  --bg: #160815;
  --bg-alt: #2c0b2a;
  --ink: #fff1f6;
  --muted: #e3b4cc;
  --accent: #ff5fa2;
  --accent-2: #ff94c2;
  --card: rgba(36, 12, 36, 0.82);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px rgba(20, 5, 17, 0.5);
}

body[data-theme="sunset"] {
  --bg: #241013;
  --bg-alt: #3a1414;
  --ink: #fff0e6;
  --muted: #f0b7a1;
  --accent: #ff7a45;
  --accent-2: #ffd166;
  --card: rgba(42, 16, 18, 0.86);
  --stroke: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 60px rgba(26, 10, 10, 0.5);
}

body[data-theme="mint"] {
  --bg: #0c1513;
  --bg-alt: #0f2620;
  --ink: #e9fff7;
  --muted: #a8ddcc;
  --accent: #2fd7b0;
  --accent-2: #7dffe1;
  --card: rgba(10, 28, 22, 0.86);
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: 0 26px 60px rgba(6, 20, 16, 0.45);
}

body[data-theme="noir"] {
  --bg: #0b0b0f;
  --bg-alt: #15151d;
  --ink: #f6f6f9;
  --muted: #b8b8c7;
  --accent: #6e7cff;
  --accent-2: #9ea7ff;
  --card: rgba(13, 13, 20, 0.88);
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 55px rgba(6, 6, 12, 0.5);
}

body[data-theme="transparent"] {
  --bg: #0a0a10;
  --bg-alt: rgba(8, 10, 16, 0.08);
  --ink: #eef2fb;
  --muted: #b8c0d1;
  --accent: #8ecbff;
  --accent-2: #b9deff;
  --card: rgba(10, 12, 18, 0.35);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 40px rgba(6, 8, 12, 0.22);
}

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

body {
  font-family: var(--font);
  background-image: var(--bg-image),
    radial-gradient(120% 140% at 15% 10%, var(--bg-alt) 0%, var(--bg) 55%, transparent 85%),
    radial-gradient(120% 140% at 85% 20%, rgba(255, 94, 164, 0.16) 0%, transparent 70%),
    radial-gradient(120% 140% at 50% 80%, rgba(0, 0, 0, 0.35) 0%, transparent 75%);
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 164, 0.25), transparent 65%);
  filter: blur(12px);
  z-index: 0;
  opacity: 0.85;
}


body[data-theme="transparent"]::before,
body[data-theme="transparent"]::after {
  opacity: 0;
}body::before {
  top: -120px;
  right: -80px;
  animation: float 10s ease-in-out infinite;
}

body::after {
  bottom: -140px;
  left: -100px;
  animation: float 12s ease-in-out infinite reverse;
}


body[data-theme="transparent"]::before,
body[data-theme="transparent"]::after {
  opacity: 0;
}.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.bg-video.is-visible {
  opacity: 0.35;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.bg-smooth {
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(120% 60% at 50% 20%, rgba(0, 0, 0, 0.35), transparent 70%),
    radial-gradient(140% 80% at 50% 60%, rgba(0, 0, 0, 0.18), transparent 75%),
    radial-gradient(140% 80% at 50% 90%, rgba(0, 0, 0, 0.4), transparent 80%);
  filter: blur(18px);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}

body[data-theme="transparent"] .bg-smooth {
  opacity: 0.45;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  padding: 80px clamp(24px, 8vw, 120px) 60px;
  align-items: center;
  z-index: 2;
  isolation: isolate;
}

.donate-bubble {
  position: absolute;
  right: 6%;
  top: 78%;
  transform: translateY(-50%);
  background: rgba(10, 12, 18, 0.55);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 10px;
  width: 340px;
  max-width: 340px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.donate-bubble--footer {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  margin: 24px auto 0;
}

.bmc-bubble {
  top: 78%;
}

.donate-title {
  font-weight: 700;
}

.donate-qr {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #0c0f16;
  image-rendering: crisp-edges;
  object-fit: contain;
}

.donate-address {
  font-size: 0.75rem;
  word-break: break-all;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 102, 173, 0.18),
    transparent 60%
  );
  filter: blur(24px);
  opacity: 0.7;
  z-index: -1;
}


body[data-theme="transparent"] .hero::after {
  opacity: 0;
}.hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}


.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  align-self: flex-start;
}

.brand img {
  width: 340px;
  max-width: 75vw;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(255, 94, 164, 0.4));
}.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
}


.disclaimer {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 520px;
}h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.1;
  background: linear-gradient(120deg, #ffd4e5, var(--accent) 60%, #ff9cc8);
  -webkit-background-clip: text;
  color: transparent;
}


body[data-theme="transparent"] h1 {
  background: none;
  color: var(--ink);
}.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn--solid {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #280519;
  box-shadow: 0 18px 35px rgba(255, 94, 164, 0.4);
}

.btn--ghost {
  border: 1px solid var(--stroke);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme="transparent"] .btn--solid {
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  border: 1px solid var(--stroke);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body[data-theme="transparent"] .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
}

.stat__value {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__art {
  position: static;
  display: grid;
  place-items: center;
}

.orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #ffd4e5,
    var(--accent) 55%,
    #c5166a
  );
  filter: blur(0);
  box-shadow: 0 25px 60px rgba(255, 94, 164, 0.45);
  animation: float 6s ease-in-out infinite;
}

.card {
  position: absolute;
  bottom: -40px;
  right: 6%;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  width: 340px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: fadeUp 0.8s ease forwards;
}

body[data-theme="transparent"] .card {
  background: rgba(10, 12, 18, 0.4);
  backdrop-filter: blur(16px);
}

.card__title {
  font-weight: 700;
  margin-bottom: 6px;
}

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

.card__chips {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.card__chips span {
  border: 1px solid var(--stroke);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.section {
  padding: 60px clamp(24px, 8vw, 120px);
  position: relative;
  z-index: 2;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section__title {
  display: grid;
  gap: 6px;
}

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

.section__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tag-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-btn {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tag-btn.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #280519;
  border-color: transparent;
}

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

.theme {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.theme select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font);
  outline: none;
}

.theme select option {
  color: #0e0a12;
  background: #f7e9f1;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
}

body[data-theme="transparent"] .search,
body[data-theme="transparent"] .theme select {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.search input {
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  min-width: 320px;
}

.count {
  background: var(--accent-2);
  color: #29051b;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.game {
  background-image: var(--card-bg);
  background-size: var(--card-size, cover);
  background-position: var(--card-pos, center);
  background-repeat: no-repeat;
  position: relative;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 44px;
  min-height: 210px;
  animation: fadeUp 0.6s ease forwards;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    130deg,
    rgba(10, 6, 12, 0.6),
    rgba(10, 6, 12, 0.35)
  );
  z-index: 0;
}

.game.is-clicked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

body[data-theme="transparent"] .game::before {
  background: linear-gradient(
    130deg,
    rgba(6, 8, 12, 0.45),
    rgba(6, 8, 12, 0.2)
  );
}

.game > * {
  position: relative;
  z-index: 2;
}

.game:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(255, 94, 164, 0.18);
}

.game__title {
  font-weight: 700;
  font-size: 1.1rem;
}

.game__meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.game__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game__label {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid var(--stroke);
  z-index: 2;
}

.game__label--new {
  background: linear-gradient(120deg, #ff5fa2, #ff94c2);
  color: #2b051a;
  box-shadow: 0 10px 25px rgba(255, 94, 164, 0.25);
}

.game__label--update {
  background: linear-gradient(120deg, #7dffe1, #2fd7b0);
  color: #032019;
  box-shadow: 0 10px 25px rgba(47, 215, 176, 0.25);
}

.game__actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.game__actions a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--stroke);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.game__actions a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  background: rgba(20, 6, 20, 0.7);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

body[data-theme="transparent"] .section--split {
  background: rgba(10, 12, 18, 0.35);
  backdrop-filter: blur(12px);
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-left: 18px;
}

.steps li {
  color: var(--muted);
}

.tips {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--stroke);
  display: grid;
  gap: 12px;
}

body[data-theme="transparent"] .tips {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.request-card {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(12, 8, 14, 0.75);
  padding: 20px;
  display: grid;
  gap: 12px;
}

body[data-theme="transparent"] .request-card {
  background: rgba(10, 12, 18, 0.35);
  backdrop-filter: blur(12px);
}

.request-form {
  display: grid;
  gap: 12px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.request-form input,
.request-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font);
}

.request-status,
.request-login {
  color: var(--muted);
  font-size: 0.85rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #ffd4e5;
}

.footer {
  padding: 30px 24px 50px;
  text-align: center;
  color: var(--muted);
}

.donate {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 0.9rem;
}

.auth-bar {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.lang-switch select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font);
  outline: none;
}

.lang-switch select option {
  color: #0e0a12;
  background: #f7e9f1;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  object-fit: cover;
}

.user-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.user-float {
  position: fixed;
  top: 18px;
  right: 24px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(12, 8, 14, 0.75);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  z-index: 20;
  justify-content: flex-end;
}

body[data-theme="transparent"] .user-float {
  background: rgba(10, 12, 18, 0.4);
}

.auth-badge {
  border: 1px solid var(--stroke);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.is-hidden {
  display: none;
}

.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.admin-locked {
  opacity: 0;
  pointer-events: none;
}

.admin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  background: rgba(12, 8, 14, 0.75);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 24px;
}

body[data-theme="transparent"] .admin {
  background: rgba(10, 12, 18, 0.35);
  backdrop-filter: blur(14px);
}

.admin__form {
  display: grid;
  gap: 14px;
}

.admin__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin__form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin__form input,
.admin__form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font);
}

.admin__status {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin__list {
  display: grid;
  gap: 12px;
}

.admin__section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}

.admin__section--wide {
  grid-column: 1 / -1;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.admin__table {
  display: grid;
  gap: 8px;
}

.admin__table-head,
.admin__table-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.1fr) minmax(160px, 1fr) minmax(120px, 0.8fr) minmax(180px, 1.2fr) minmax(80px, 0.4fr);
  gap: 12px;
  align-items: center;
}

.admin__table-head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
}

.admin__table-body {
  display: grid;
  gap: 8px;
}

.admin__table-row {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: var(--muted);
}

.admin__table-row span {
  color: var(--ink);
  word-break: break-word;
}

.avatar-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  object-fit: cover;
  display: none;
}

.avatar-form {
  display: grid;
  gap: 8px;
}

.admin__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.admin__stats--grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin__stat {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

.admin__stat small {
  color: var(--muted);
  font-size: 0.75rem;
}

.admin__stat--hero {
  background: linear-gradient(120deg, rgba(255, 94, 164, 0.25), rgba(124, 214, 255, 0.18));
  border-color: rgba(255, 255, 255, 0.2);
}

.admin__stat strong {
  font-size: 1.35rem;
  color: var(--ink);
}

.admin__chart-wrap {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.admin__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  font-size: 0.75rem;
  margin-left: 8px;
}

.admin__chart {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="transparent"] .admin__section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.admin__bg {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin__bg-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin__bg-option {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font);
  cursor: pointer;
}

.admin__bg-option.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #2b051a;
  border-color: transparent;
}

.admin__items {
  display: grid;
  gap: 10px;
}

.admin__item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin__item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 10, 0.7);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  width: min(900px, 92vw);
  background: rgba(14, 8, 18, 0.9);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

body[data-theme="transparent"] .modal__panel {
  background: rgba(10, 12, 18, 0.45);
  backdrop-filter: blur(16px);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font);
  cursor: pointer;
}

.modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
}

.modal__info h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.modal__meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.modal__desc {
  color: var(--muted);
  font-size: 0.98rem;
}

.modal__links {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal__links a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--stroke);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.modal__comments {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.modal__comments h4 {
  font-size: 1.05rem;
  margin: 0;
}

.comment-list {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.comment-card {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
}

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

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

.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--stroke);
}

.comment-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.comment-rating {
  font-size: 0.8rem;
  color: var(--accent);
}

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

.comment-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.comment-form textarea,
.comment-form select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--ink);
  font-family: var(--font);
}

.comment-form select option {
  color: #1a1a1a;
  background: #ffffff;
}

.comment-status {
  color: var(--muted);
  font-size: 0.85rem;
}

.comment-login {
  color: var(--muted);
  font-size: 0.85rem;
}

.modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.modal__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }

  .hero__art {
    min-height: 240px;
  }

  .card {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: -40px;
  }

  .donate-bubble {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    margin-top: 20px;
    max-width: 100%;
  }

  .bmc-bubble {
    top: 0;
    right: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 18px 36px;
  }

  .brand-wrap {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand img {
    height: 36px;
  }

  .search input {
    min-width: 0;
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .disclaimer,
  .lead {
    max-width: 100%;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    flex: 1 1 140px;
    justify-content: center;
  }

  .section__controls {
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search {
    width: 100%;
  }

  .tag-filter,
  .theme,
  .search {
    width: 100%;
  }

  .tag-list {
    flex-wrap: wrap;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .admin {
    grid-template-columns: 1fr;
  }

  .user-float {
    position: fixed;
    top: 10px;
    left: 12px;
    right: 12px;
    margin: 0;
    width: auto;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
    justify-content: space-between;
  }

  .user-float .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .auth-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .lang-switch {
    width: 100%;
  }

  .lang-switch select {
    width: 100%;
  }

  .donate-bubble--footer {
    width: min(340px, 90vw);
  }

  .bmc-bubble {
    width: min(340px, 90vw);
    margin: 16px auto 0;
  }

  .modal__panel {
    width: 94vw;
    padding: 18px;
  }

  .modal__content {
    gap: 16px;
  }

  .modal__video {
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.1rem;
  }

  .user-float {
    right: 12px;
    top: 10px;
  }

  .donate-qr {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 900px) {
  .bg-video.is-visible {
    opacity: 0.5;
  }
}






