:root {
  --primary: #ec4899;
  --primary-dark: #db2777;
  --ink: #17091f;
  --ink-2: #3a0f3d;
  --lime: #d7ff3f;
  --bg: #fff7fb;
  --card-light: #ffffff;
  --text: #221019;
  --muted: #8a6478;
  --border: #f5d3e6;
  --radius: 20px;
  --gooey-color-1: var(--primary);
  --gooey-color-2: var(--primary-dark);
  --gooey-color-3: #ff6fb0;
  --gooey-color-4: var(--lime);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3, .brand, .hero-bold-title, .spotlight-info h2 {
  font-family: 'Space Grotesk', 'Sora', sans-serif;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 640px; margin: 0 auto; padding: 24px 20px 60px; }
.muted { color: var(--muted); }
.muted.small { font-size: 0.85rem; }

/* Topbar */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { font-weight: 700; font-size: 1.35rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { border-radius: 8px; display: block; }
.brand span { color: var(--primary); }
.brand-lg { font-size: 2rem; }
/* Gooey nav (react-bits.dev port) */
.gooey-nav-container {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: 999px;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.gooey-nav-container nav { position: relative; }
.gooey-nav-container nav ul {
  display: flex; list-style: none; margin: 0; padding: 0;
  position: relative; z-index: 3;
}
.gooey-nav-container nav ul li { position: relative; border-radius: 999px; }
.gooey-nav-container nav ul li a {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  color: rgba(255, 255, 255, 0.75); font-weight: 700; font-size: 0.9rem;
  transition: color 0.25s ease;
}
.gooey-nav-container nav ul li a:hover { color: #fff; text-decoration: none; }
.gooey-nav-container nav ul li::after {
  content: '';
  position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: linear-gradient(125deg, var(--primary) 0%, #ff6fb0 60%, var(--primary-dark) 100%);
  box-shadow: 0 8px 18px -6px rgba(236, 72, 153, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gooey-nav-container nav ul li.active::after { opacity: 1; transform: scale(1); }
.gooey-nav-container nav ul li.active a { color: #fff; }

.gooey-nav-container .gooey-effect {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  opacity: 1; pointer-events: none; display: grid; place-items: center; z-index: 1;
}
.gooey-nav-container .gooey-text { color: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap; transition: opacity 0.2s ease; opacity: 0; }
.gooey-nav-container .gooey-text.gooey-text-active { opacity: 1; }
.gooey-nav-container .gooey-filter { filter: blur(7px) contrast(100) blur(0); mix-blend-mode: lighten; }
.gooey-nav-container .gooey-filter::before {
  content: ''; position: absolute; inset: -16px; z-index: -2; background: var(--ink);
}
.gooey-nav-container .gooey-filter::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform: scale(0); opacity: 0; z-index: -1; border-radius: 999px;
}
.gooey-nav-container .gooey-filter.gooey-active::after { animation: gooeyPill 0.3s ease both; }
@keyframes gooeyPill { to { transform: scale(1); opacity: 1; } }

.gooey-particle, .gooey-point {
  display: block; opacity: 0; width: 20px; height: 20px; border-radius: 100%; transform-origin: center;
}
.gooey-particle {
  --time: 5s; position: absolute; top: calc(50% - 10px); left: calc(50% - 10px);
  animation: gooeyParticleMove var(--time) ease 1 -350ms;
}
.gooey-point { background: var(--color); opacity: 1; animation: gooeyPointScale var(--time) ease 1 -350ms; }
@keyframes gooeyParticleMove {
  0% { transform: rotate(0deg) translate(var(--start-x), var(--start-y)); opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  70% { transform: rotate(calc(var(--rotate) * 0.5)) translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2)); opacity: 1; animation-timing-function: ease; }
  85% { transform: rotate(calc(var(--rotate) * 0.66)) translate(var(--end-x), var(--end-y)); opacity: 1; }
  100% { transform: rotate(calc(var(--rotate) * 1.2)) translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5)); opacity: 1; }
}
@keyframes gooeyPointScale {
  0% { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  25% { transform: scale(calc(var(--scale) * 0.25)); }
  38% { opacity: 1; }
  65% { transform: scale(var(--scale)); opacity: 1; animation-timing-function: ease; }
  85% { transform: scale(var(--scale)); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-bell, .nav-icon-btn {
  position: relative; font-size: 1.2rem; line-height: 1; text-decoration: none; display: flex;
  align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
}
.nav-bell:hover, .nav-icon-btn:hover { background: #fdf1f7; text-decoration: none; }
.nav-bell-badge {
  position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: 0.6rem;
  font-weight: 800; border-radius: 999px; min-width: 16px; height: 16px; display: flex;
  align-items: center; justify-content: center; padding: 0 3px; border: 2px solid #fff;
}
.nav-menu { position: relative; }
.nav-menu-panel {
  position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 12px 30px rgba(23,9,31,0.18); padding: 12px; min-width: 190px;
  display: flex; flex-direction: column; gap: 2px; z-index: 50;
}
.nav-menu-link {
  display: block; padding: 9px 10px; border-radius: 8px; color: var(--text); font-weight: 600;
  font-size: 0.9rem; text-align: left; background: none; border: none; cursor: pointer; width: 100%;
}
.nav-menu-link:hover { background: #fdf1f7; text-decoration: none; }
.nav-menu-link-danger { color: #c0243c; }
.nav-menu-link-danger:hover { background: #fce8ea; }
.lang-switch { display: flex; align-items: center; gap: 2px; background: #fdf1f7; border-radius: 999px; padding: 3px; }
.lang-pill {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; color: var(--muted);
  padding: 5px 9px; border-radius: 999px;
}
.lang-pill:hover { color: var(--primary); text-decoration: none; }
.lang-pill.active { background: var(--ink); color: #fff; }
.lang-pill.active:hover { color: #fff; }
.btn-outline {
  color: var(--text); font-weight: 700; font-size: 0.9rem; padding: 8px 16px;
  border-radius: 999px; border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.inline-form { display: inline; }
.link-btn {
  background: none; border: none; font: inherit; font-weight: 600;
  color: var(--text); cursor: pointer; padding: 0;
}
.link-btn:hover { color: var(--primary); }
.btn-small {
  background: var(--primary); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 700; font-size: 0.9rem;
}

/* Bold hero */
.hero-bold {
  background: radial-gradient(circle at 15% 20%, #4a1450 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, #ff2f92 0%, transparent 50%),
              linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 64px 0 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-plasma { position: absolute; inset: 0; z-index: 0; }
.hero-bold-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1;
  display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.hero-left { flex: 1 1 420px; min-width: 280px; }
.hero-announce {
  flex: 0 1 320px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); border-radius: 20px; padding: 22px;
}
.hero-announce-hello { font-weight: 800; font-size: 1.4rem; letter-spacing: 0.01em; margin: 0 0 16px; color: var(--lime); }
.hero-announce-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 10px; color: #fff; }
.hero-announce-text { font-size: 0.9rem; line-height: 1.55; color: #e6c9dd; margin: 0; }
.hero-announce-copy { display: flex; gap: 8px; margin-top: 16px; }
.hero-announce-copy input {
  flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08); color: #fff; font: inherit; font-size: 0.78rem;
}
.hero-announce-copy-btn {
  flex-shrink: 0; background: var(--lime); color: var(--ink); border: none; border-radius: 10px;
  padding: 9px 14px; font-weight: 700; font-size: 0.8rem; cursor: pointer; white-space: nowrap;
}
.hero-announce-copy-btn:hover { background: #c3ee1f; }
@media (max-width: 900px) {
  .hero-announce { flex-basis: 100%; }
}
.kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--lime); text-transform: uppercase; margin: 0 0 16px;
}
.hero-bold-title { font-size: 3rem; font-weight: 700; line-height: 1.08; margin: 0 0 18px; max-width: 720px; }
.hero-highlight { color: var(--primary); }
.hero-bold-sub { color: #e6c9dd; font-size: 1.1rem; max-width: 560px; margin: 0 0 28px; }
.hero-bold-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.btn-lime {
  display: inline-block; background: var(--lime); color: var(--ink) !important;
  padding: 13px 28px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-size: 1rem;
}
.btn-lime:hover { background: #c3ee1f; text-decoration: none; }
.btn-ghost-light {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700;
  color: #fff !important; border: 1.5px solid rgba(255,255,255,0.4); text-decoration: none;
}
.btn-ghost-light:hover { border-color: #fff; text-decoration: none; }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--lime); }
.stat-label { font-size: 0.8rem; color: #cba9c1; text-transform: uppercase; letter-spacing: 0.04em; }

/* Directory */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 16px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  color: var(--text); font-weight: 700; font-size: 0.88rem; background: #fff;
}
.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.chip-lg { padding: 14px 28px; font-size: 1.05rem; border-width: 2px; }
.chip-active { background: var(--primary); border-color: var(--primary); color: #fff !important; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.search-row input, .search-row select {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
}
.search-row input { flex: 2; min-width: 200px; }
.search-row select { flex: 1; min-width: 160px; }

.chip-select {
  padding: 9px 34px 9px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  color: var(--text); font-weight: 700; font-size: 0.88rem; background-color: #fff;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a6478' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.chip-select:hover { border-color: var(--primary); color: var(--primary); }
.chip-select:focus { outline: none; border-color: var(--primary); }

.spotlight-card {
  display: flex; align-items: center; gap: 20px; background: var(--ink); color: #fff;
  border-radius: 24px; padding: 22px 26px; margin-bottom: 32px; text-decoration: none;
  position: relative; overflow: hidden;
}
.spotlight-card:hover { text-decoration: none; }
.spotlight-badge {
  position: absolute; top: 18px; right: 22px; background: var(--lime); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px;
}
.spotlight-avatar {
  width: 84px; height: 84px; border-radius: 20px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 700; color: #fff;
  object-fit: cover;
}
.spotlight-info h2 { margin: 0 0 6px; font-size: 1.4rem; }
.spotlight-location { color: #cba9c1; margin: 4px 0; font-size: 0.9rem; }
.spotlight-bio { color: #e6c9dd; margin: 4px 0 0; }
.tag-lime { background: rgba(215,255,63,0.18); color: var(--lime); }
.tag-demo { background: #fef3c7; color: #92400e; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.03em; }
.spotlight-arrow { margin-left: auto; font-size: 1.6rem; color: var(--lime); flex-shrink: 0; }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 16px; flex-wrap: wrap; }
.section-heading h2 { margin: 0; font-size: 1.3rem; }

.empty-state { background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.empty-state p { margin: 0 0 14px; color: var(--muted); }

.discover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 8px; }
.discover-card, .pcard {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  color: var(--text); display: block;
}
.discover-card:hover, .pcard:hover { border-color: var(--primary); }
.discover-card .avatar-block, .pcard .avatar-block {
  height: 160px; width: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.4rem; font-weight: 700; object-fit: cover;
}
.discover-card .card-info, .pcard .card-info, .group-card .card-info { padding: 14px; }
.discover-card .card-info h3, .group-card .card-info h3 { margin: 0 0 4px; font-size: 1rem; }

/* Enriched profile card (pcard) */
.pcard-media-link { display: block; position: relative; }
.pcard-online {
  position: absolute; top: 10px; left: 10px; background: rgba(23,9,31,0.85); color: #4ade80;
  font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.02em;
}
.pcard-demo { background: #fffbeb; border: 1.5px dashed #d97706; }
.pcard-demo:hover { border-color: #d97706; }
.spotlight-demo { outline: 3px dashed #d97706; outline-offset: -3px; }
.pcard-demo-badge {
  position: absolute; top: 10px; right: 10px; background: #d97706; color: #fff;
  font-size: 0.68rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.04em;
}
.pcard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pcard-top h3 { margin: 0 0 4px; font-size: 1rem; }
.pcard-likes { font-size: 0.78rem; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.pcard-shared { font-size: 0.78rem; font-weight: 700; color: #16a34a; margin: 2px 0 0; }
.pcard-bio { font-size: 0.82rem; color: var(--text); margin: 4px 0 0; line-height: 1.4; }
.pcard-actions { display: flex; gap: 8px; margin-top: 12px; }
.pcard-like-btn {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pcard-like-btn:hover { border-color: var(--primary); }
.pcard-like-btn:disabled { opacity: 0.6; cursor: default; }
.pcard-view-btn { flex: 1; text-align: center; padding: 10px; font-size: 0.9rem; }

/* Community showcase illustration */
.community-showcase { padding: 48px 0 8px; }
.community-showcase-inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  background: #fdf1f7; border-radius: var(--radius); padding: 32px; overflow: hidden;
}
.community-showcase-img {
  flex: 1 1 320px; max-width: 420px; width: 100%; border-radius: 16px; display: block;
}
.community-showcase-text { flex: 1 1 320px; }
.community-showcase-text h2 { margin: 0 0 12px; font-size: 1.6rem; }
.community-showcase-text p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 480px; }

/* How it works */
.how-it-works { padding: 56px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.step-card h3 { margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); }
.promo-icon { display: block; font-size: 2rem; margin-bottom: 12px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, #ff6fb0 100%); padding: 48px 0; margin-bottom: 40px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-size: 1.6rem; }

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff !important;
  padding: 12px 28px; border-radius: 14px; font-weight: 700; border: none;
  cursor: pointer; font-size: 1rem; text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-primary.full { width: 100%; }

/* Forms */
.card-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 16px; margin: 20px 0;
}

.google-signin-btn { display: flex; justify-content: center; margin: 20px 0 0; min-height: 44px; }
.auth-divider {
  display: flex; align-items: center; text-align: center; color: var(--muted);
  font-size: 13px; margin: 16px 0;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.auth-divider span { padding: 0 12px; }

.completeness-card { gap: 6px; }
.completeness-header { display: flex; align-items: center; justify-content: space-between; }
.completeness-percent { font-weight: 800; font-size: 1.1rem; color: var(--primary-dark); }
.completeness-track { height: 10px; border-radius: 999px; background: #fdf1f7; overflow: hidden; }
.completeness-fill {
  height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--lime));
  transition: width 0.3s ease;
}
.completeness-checklist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.completeness-checklist li { font-size: 0.85rem; color: var(--muted); }
.completeness-checklist li.is-done { color: #16a34a; font-weight: 600; }
.card-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.card-form input, .card-form select, .card-form textarea {
  font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: #fffafd;
}
.checkbox-line { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500; }
.checkbox-line input { width: auto; margin-top: 4px; }
.alert { background: #ffe3e3; border: 1px solid #ffa8a8; color: #7a1c1c; padding: 12px 16px; border-radius: 10px; margin-bottom: 12px; }
.field-error { color: #c0243c; font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; }
.interest-grid.field-invalid { outline: 2px solid #c0243c; outline-offset: 6px; border-radius: 14px; }
.alert.success { background: #ebfbee; border-color: #b2f2bb; color: #1c7a2d; }
.auth-page h1 { margin-bottom: 4px; }

.avatar-upload-row { flex-direction: row; align-items: center; gap: 18px; }
.avatar-upload-form { display: flex; flex-direction: column; gap: 6px; }
.avatar-file-label { cursor: pointer; text-align: center; }

/* Cards / grid */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }

.story-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.story-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; color: var(--text); text-decoration: none;
}
.story-card:hover { border-color: var(--primary); text-decoration: none; }
.story-card h3 { margin: 0 0 6px; }
.story-card-excerpt { margin: 0 0 8px; color: var(--text); line-height: 1.5; font-size: 0.92rem; }
.story-card-cover { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.story-cover-full { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 16px 0; }
.story-body { white-space: pre-wrap; line-height: 1.7; margin: 20px 0; }

.notif-list { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.notif-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); color: var(--text); text-decoration: none;
}
.notif-item:hover { border-color: var(--primary); text-decoration: none; }
.notif-item.notif-unread { background: #fdf1f7; border-color: var(--primary); }
.notif-icon { font-size: 1.3rem; flex-shrink: 0; }
.notif-body { display: flex; flex-direction: column; gap: 2px; }
.notif-message { font-weight: 600; font-size: 0.92rem; }
.notif-time { font-size: 0.78rem; color: var(--muted); }

.welcome-modal {
  position: fixed; inset: 0; background: rgba(23,9,31,0.75); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.welcome-modal-card {
  background: #fff; border-radius: var(--radius); padding: 32px; max-width: 440px; width: 100%;
  text-align: center; box-shadow: 0 30px 60px -20px rgba(23,9,31,0.5);
}
.welcome-modal-card h2 { margin: 10px 0 6px; }
.welcome-steps { list-style: none; padding: 0; margin: 18px 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.welcome-steps li { font-size: 0.92rem; color: var(--text); }
.welcome-modal-card .btn-primary, .welcome-modal-card .btn-outline { flex: 1; text-align: center; }

/* Games hub — a "table" of face-up/face-down playing cards, matching the
   Verdad o Reto card design, instead of a generic icon+title+button grid. */
/* The whole Zona de juegos section sits on a near-black casino backdrop:
   a tiled wallpaper of faint card-suit glyphs (an inline SVG, no image
   asset needed) plus two soft gold/magenta glows standing in for floor
   spotlights. Set on <body> (not the inner .wrap) so it spans edge-to-edge
   behind the centered content, like a real page background. */
body.games-section-body {
  background-color: #0b0410;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Ctext%20x='8'%20y='50'%20font-size='40'%20fill='white'%20fill-opacity='0.09'%3E%E2%99%A0%3C/text%3E%3Ctext%20x='100'%20y='86'%20font-size='40'%20fill='%23ffb800'%20fill-opacity='0.11'%3E%E2%99%A6%3C/text%3E%3Ctext%20x='30'%20y='142'%20font-size='40'%20fill='white'%20fill-opacity='0.09'%3E%E2%99%A3%3C/text%3E%3Ctext%20x='118'%20y='168'%20font-size='40'%20fill='%23ff2f92'%20fill-opacity='0.11'%3E%E2%99%A5%3C/text%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 10%, rgba(255,184,0,0.14), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(255,47,146,0.14), transparent 45%);
  background-attachment: fixed;
}

.games-hero {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 28px 32px;
  margin-bottom: 28px; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 15% 20%, #4a1450 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, #ff2f92 0%, transparent 50%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.games-hero-inner { position: relative; z-index: 1; }
.games-hero-inner .kicker { justify-content: center; }
.games-hero-inner h1 { margin: 0 0 8px; }
.games-hero-sub { color: #e6c9dd; max-width: 480px; margin: 0 auto; }
.games-hero-sm { padding: 20px 24px; text-align: left; margin-bottom: 20px; }
.games-hero-sm .kicker, .games-hero-sm h1 { justify-content: flex-start; }
.games-hero-suit {
  position: absolute; font-size: 2.6rem; opacity: 0.1; color: #fff; z-index: 0; pointer-events: none; line-height: 1;
}

.game-deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.game-deck-card {
  position: relative; border-radius: 22px; padding: 40px 26px 30px; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-decoration: none;
  border: 3px solid var(--lime); overflow: hidden; box-shadow: 0 20px 40px -16px rgba(23,9,31,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background:
    radial-gradient(circle at 20% 0%, #4a1450 0%, transparent 55%),
    linear-gradient(165deg, #7c1fa0 0%, var(--ink-2) 100%);
}
a.game-deck-card:hover { transform: translateY(-5px); text-decoration: none; box-shadow: 0 26px 46px -16px rgba(23,9,31,0.6); }
.game-deck-corner { position: absolute; top: 18px; left: 20px; font-size: 1.6rem; opacity: 0.85; z-index: 1; }
.game-deck-corner-br { top: auto; left: auto; bottom: 18px; right: 20px; transform: rotate(180deg); }
.game-deck-body {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  flex: 1; justify-content: center; gap: 10px; padding-top: 10px;
}
.game-deck-body h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; }
.game-deck-body p { margin: 0; font-size: 0.85rem; color: #e6c9dd; line-height: 1.5; }
.game-deck-cta {
  display: inline-block; margin-top: 18px; background: var(--lime); color: var(--ink); font-weight: 800;
  padding: 11px 30px; border-radius: 999px; font-size: 0.85rem;
}

/* Truth-or-Dare setup wizard — same "playing card" language as the games hub */
.tod-stepper { display: flex; align-items: center; gap: 8px; margin: 8px 0 22px; }
.tod-stepper-seg { flex: 1; height: 6px; border-radius: 999px; background: var(--border); position: relative; overflow: hidden; }
.tod-stepper-seg::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary), var(--lime));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.tod-stepper-seg.is-done::after, .tod-stepper-seg.is-active::after { transform: scaleX(1); }
.tod-stepper-seg.is-active::after { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }

.tod-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.tod-option-grid-2col { grid-template-columns: 1fr 1fr; }
.tod-option-grid-3col { grid-template-columns: repeat(3, 1fr); }
.tod-option-card {
  position: relative; color: #fff; border-radius: 18px; border-top: 4px solid var(--primary);
  padding: 34px 14px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; text-align: center; overflow: hidden;
  background: radial-gradient(circle at 22% 0%, rgba(236,72,153,0.35) 0%, transparent 60%),
              linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 100%);
  box-shadow: 0 14px 28px -14px rgba(23,9,31,0.5);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.tod-option-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(23,9,31,0.6); }
.tod-option-corner { position: absolute; top: 10px; left: 12px; font-size: 0.85rem; opacity: 0.55; }
.tod-option-corner-br { top: auto; left: auto; bottom: 10px; right: 12px; transform: rotate(180deg); }
.tod-option-card[data-mode="grupal"] { border-top-color: #7c3aed; }
.tod-option-card[data-intensity="tranquilo"], .tod-option-card[data-level="tranquilo"] { border-top-color: var(--lime); }
.tod-option-card[data-intensity="caliente"], .tod-option-card[data-level="picante"], .tod-option-card[data-level="caliente"] { border-top-color: #dc2626; }
.tod-option-card[data-intensity="mezclado"] {
  border-top-color: transparent; background-image:
    linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 100%),
    linear-gradient(90deg, var(--lime), var(--primary), #ffb020, #dc2626);
  background-origin: border-box; background-clip: padding-box, border-box; border-top: 4px solid transparent;
}
.tod-option-icon {
  font-size: 1.7rem; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.tod-option-label { font-weight: 800; }
.tod-option-sub { font-size: 0.78rem; color: #cba9c1; }
.tod-step-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
#step-participants .tod-step-actions { justify-content: space-between; }

.tod-qty-row {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; font-weight: 700; color: #fff;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 100%); border-radius: 14px; padding: 12px 16px; width: fit-content;
}
.tod-qty-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--lime); color: var(--ink);
  font-size: 1.2rem; font-weight: 800; cursor: pointer; line-height: 1;
}
.tod-qty-btn:hover { filter: brightness(1.08); }
.tod-qty-value { min-width: 20px; text-align: center; font-size: 1.1rem; }
.tod-participant-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.tod-participant-row {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 6px 8px 6px 6px;
}
.tod-participant-badge {
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800;
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tod-participant-row input { flex: 1; padding: 8px 6px; border: none; background: transparent; font: inherit; }
.tod-participant-row input:focus { outline: none; }

.tod-turn-label { text-align: center; font-weight: 800; color: var(--primary-dark); margin: 4px 0 16px; }

/* The card itself — styled like a real playing card, front + back, brand colors */
.tod-playing-card { perspective: 1600px; width: 100%; max-width: 320px; margin: 0 auto 24px; aspect-ratio: 3/4.4; }
.tod-card-inner {
  position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}
.tod-card-inner.is-flipped { transform: rotateY(180deg); }
.tod-card-face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 18px; box-shadow: 0 20px 40px -12px rgba(23,9,31,0.5); border: 3px solid var(--lime);
}
.tod-card-back {
  background: radial-gradient(circle at 20% 15%, #4a1450 0%, transparent 50%),
              radial-gradient(circle at 85% 90%, #ff2f92 0%, transparent 55%),
              linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; gap: 10px;
}
.tod-card-back-fire {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 10rem; opacity: 0.14; pointer-events: none; line-height: 1; z-index: 0;
}
.tod-card-logo, .tod-card-back-title, .tod-card-back-hint { position: relative; z-index: 1; }
.tod-card-logo { width: 56px; height: 56px; }
.tod-card-back-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; margin: 0; }
.tod-card-back-hint { color: #e6c9dd; font-size: 0.85rem; margin: 0; }
.tod-card-front {
  transform: rotateY(180deg); color: #fff;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.tod-card-inner-truth .tod-card-front {
  background:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.2px) 0 0 / 18px 18px,
    radial-gradient(circle at 20% 10%, #0f5132 0%, transparent 55%),
    linear-gradient(160deg, #15803d 0%, var(--ink) 100%);
}
.tod-card-inner-dare .tod-card-front {
  background:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.2px) 0 0 / 18px 18px,
    radial-gradient(circle at 20% 10%, #7a1030 0%, transparent 55%),
    linear-gradient(160deg, #dc2626 0%, var(--ink) 100%);
}
.tod-card-kind {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.08em;
  color: var(--lime); margin: 0 0 14px; position: relative; z-index: 1;
}
.tod-card-prompt { font-size: 1.05rem; font-weight: 600; line-height: 1.5; margin: 0; position: relative; z-index: 1; }
.tod-card-corner { position: absolute; font-size: 1.1rem; opacity: 0.85; z-index: 1; }
.tod-card-corner-tl { top: 14px; left: 16px; }
.tod-card-corner-br { bottom: 14px; right: 16px; transform: rotate(180deg); }
.tod-card-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 9rem; opacity: 0.14; line-height: 1; z-index: 0; pointer-events: none;
}

.tod-choices { display: flex; gap: 12px; }
.tod-choice-btn { flex: 1; padding: 14px; border-radius: 999px; font-weight: 700; cursor: pointer; border: none; font-size: 1rem; }
.tod-dare-btn { background: #dc2626; color: #fff; }
.tod-dare-btn:hover { background: #b91c1c; }
.tod-restart { text-align: center; margin-top: 16px; }

/* Dados Sexuales */
.dice-stage { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 10px 0 20px; }
.dice-die-wrap { flex: 1; min-width: 110px; max-width: 170px; }
.dice-die-label {
  text-align: center; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 6px;
}
.dice-die {
  aspect-ratio: 1; border-radius: 20px; border: 3px solid var(--lime);
  background: radial-gradient(circle at 25% 15%, rgba(236,72,153,0.35) 0%, transparent 60%),
              linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px;
  font-weight: 800; font-size: 1.05rem; box-shadow: 0 16px 30px -14px rgba(23,9,31,0.5);
  perspective: 320px;
}
.dice-die-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* A real cube (6 positioned faces), shown only while a roll is in flight —
   this is what makes it read as an actual die being thrown instead of a
   flat card spinning in place. Each face shows one of the category's
   options instead of generic pips, so the toss itself hints at the game. */
.dice-cube-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
}
.dice-die.is-rolling .dice-cube-wrap { opacity: 1; }
.dice-cube { position: relative; width: 72px; height: 72px; transform-style: preserve-3d; }
.dice-die.is-rolling .dice-cube { animation: dice-tumble 2.2s cubic-bezier(0.3, 0.6, 0.25, 1) both; }
@keyframes dice-tumble {
  0%   { transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0); }
  15%  { transform: translateY(-28px) rotateX(230deg) rotateY(140deg) rotateZ(35deg); }
  32%  { transform: translateY(-42px) rotateX(430deg) rotateY(330deg) rotateZ(85deg); }
  50%  { transform: translateY(-12px) rotateX(630deg) rotateY(520deg) rotateZ(150deg); }
  66%  { transform: translateY(-24px) rotateX(770deg) rotateY(680deg) rotateZ(215deg); }
  80%  { transform: translateY(4px) rotateX(870deg) rotateY(800deg) rotateZ(270deg); }
  92%  { transform: translateY(-4px) rotateX(950deg) rotateY(880deg) rotateZ(330deg); }
  100% { transform: translateY(0) rotateX(1080deg) rotateY(1080deg) rotateZ(360deg); }
}
.dice-cube-face {
  position: absolute; inset: 0; width: 72px; height: 72px; background: #fff; border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(23,9,31,0.08);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 5px; box-sizing: border-box; overflow: hidden;
  font-size: 0.52rem; font-weight: 800; line-height: 1.15; color: var(--ink);
}
.face-front  { transform: translateZ(36px); }
.face-back   { transform: rotateY(180deg) translateZ(36px); }
.face-right  { transform: rotateY(90deg) translateZ(36px); }
.face-left   { transform: rotateY(-90deg) translateZ(36px); }
.face-top    { transform: rotateX(90deg) translateZ(36px); }
.face-bottom { transform: rotateX(-90deg) translateZ(36px); }

/* Plain opacity transitions toggled by the same class/reflow trick that
   restarts dice-tumble turned out unreliable (the browser doesn't always
   re-run the transition on rapid class removal+re-addition). Animations
   don't have that problem, so the result text's visibility uses one too. */
@keyframes dice-fade-out { from { opacity: 1; } to { opacity: 0; } }
.dice-die-text { opacity: 1; backface-visibility: hidden; position: relative; z-index: 1; }
.dice-die.is-rolling .dice-die-text { animation: dice-fade-out 0.15s ease forwards; }
.dice-result {
  text-align: center; font-weight: 800; font-size: 1.2rem; color: var(--primary-dark);
  background: #fdf1f7; border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin: 0 0 18px;
}
.dice-category-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.dice-category-field { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.dice-category-field select {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); font-size: 1rem; background: #fff;
}

/* Gira la Botella */
.bottle-stage {
  position: relative; width: min(300px, 82vw); aspect-ratio: 1; margin: 10px auto 18px;
}
.bottle-ring { position: absolute; inset: 0; border: 2px dashed var(--border); border-radius: 50%; }
.bottle-emoji {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 4.2rem; display: inline-block; transition: transform 2.1s cubic-bezier(0.17, 0.67, 0.16, 1.01);
}
.bottle-players { position: absolute; inset: 0; }
.bottle-player-chip {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: #fdf1f7; border: 1.5px solid var(--border);
  font-weight: 700; font-size: 0.85rem; color: var(--text);
}
.bottle-player-chip.is-turn { border-color: var(--primary); color: var(--primary-dark); }
.bottle-player-chip.is-chosen { background: var(--ink); border-color: var(--lime); color: #fff; }
.bottle-result {
  text-align: center;
  background: radial-gradient(circle at 25% 0%, rgba(236,72,153,0.35) 0%, transparent 60%),
              linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 3px solid var(--lime); border-radius: 18px; padding: 20px; margin-bottom: 18px; color: #fff;
}
.bottle-result-name { font-weight: 800; font-size: 1.1rem; color: var(--lime); margin: 0 0 8px; }
.bottle-result-challenge { margin: 0; font-size: 1.02rem; line-height: 1.5; }

/* Shared prompt-reveal card: Quién es más probable, Yo Nunca Nunca, Hazlo o Bebe */
.prompt-card {
  background: radial-gradient(circle at 25% 0%, rgba(236,72,153,0.35) 0%, transparent 60%),
              linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 3px solid var(--lime); border-radius: 20px; padding: 32px 22px; margin-bottom: 20px;
  color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.5; text-align: center; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
}

/* Papa Caliente Trivia */
.trivia-timer-track { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin: 10px 0 18px; }
.trivia-timer-fill { height: 100%; background: linear-gradient(90deg, var(--lime), var(--primary)); width: 100%; transition: width 0.1s linear; }
.trivia-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.trivia-option-btn {
  padding: 14px; border-radius: 14px; border: 2px solid var(--border); background: #fff; font-weight: 700;
  cursor: pointer; text-align: center; transition: border-color 0.15s ease, transform 0.1s ease;
}
.trivia-option-btn:hover:not(:disabled) { border-color: var(--primary); transform: translateY(-2px); }
.trivia-option-btn:disabled { opacity: 0.6; cursor: default; }
.trivia-feedback { text-align: center; font-weight: 800; padding: 12px; border-radius: 12px; margin-bottom: 14px; }
.trivia-feedback-ok { background: #ebfbee; color: #1c7a2d; border: 1px solid #b2f2bb; }
.trivia-feedback-bad { background: #ffe3e3; color: #7a1c1c; border: 1px solid #ffa8a8; }

.guide-map { width: 100%; height: 360px; border-radius: var(--radius); margin-top: 20px; z-index: 0; }
.guide-event-icon { font-size: 1.4rem; text-align: center; line-height: 1; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.place-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.place-card-top { display: flex; align-items: center; justify-content: space-between; }
.place-card-icon { font-size: 1.6rem; }
.place-card h3 { margin: 0; font-size: 1.05rem; }
.place-card-desc { font-size: 0.88rem; color: var(--text); line-height: 1.4; margin: 0; }
.profile-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 14px; align-items: center; color: var(--text);
}
.profile-card:hover { border-color: var(--primary); text-decoration: none; }

.group-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  display: block; color: var(--text);
}
.group-card:hover { border-color: var(--primary); text-decoration: none; }
.group-card-media {
  height: 90px; width: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; font-weight: 700; position: relative;
}
.group-lock-badge {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--lime);
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; border: 2px solid #fff;
}
.group-card-desc { font-size: 0.85rem; color: var(--text); margin: 4px 0; line-height: 1.4; }
.group-card-activity { font-size: 0.75rem; color: var(--primary-dark); font-weight: 600; margin: 6px 0 0; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
  object-fit: cover;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; }
.avatar-xl { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius); font-size: 4rem; }
.avatar-block svg, .spotlight-avatar svg, .match-card-media svg, .avatar svg { max-width: 78%; max-height: 78%; width: auto; height: auto; }

/* Profile view (v2): dark plasma hero + flowing editorial sections —
   deliberately not a white-card dashboard layout, so it doesn't read as a
   copy of other niche-site profile pages. */
.profile-fact { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text); }
.profile-fact-icon { font-size: 1rem; flex-shrink: 0; }

.pv-hero {
  background: radial-gradient(circle at 15% 20%, #4a1450 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, #ff2f92 0%, transparent 50%),
              linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: var(--radius); padding: 32px 28px; margin: 24px 0; color: #fff;
  position: relative; overflow: hidden;
}
.pv-hero-inner { position: relative; z-index: 1; }
.pv-hero-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pv-hero-avatar .avatar { width: 92px; height: 92px; font-size: 2.1rem; flex-shrink: 0; }
.pv-hero-main { flex: 1; min-width: 200px; }
.pv-hero-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; margin: 0 0 8px; color: #fff; }
.pv-hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.pv-hero-location { color: #e6c9dd; font-size: 0.9rem; margin: 0; }
.hero-name-input {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff;
  background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.3);
  padding: 4px 0; width: 100%; max-width: 320px;
}
.hero-name-input:focus { outline: none; border-bottom-color: var(--lime); }
.pv-hero-cta { flex-shrink: 0; }
.pv-hero-cta .btn-lime, .pv-hero-cta .btn-ghost-light { white-space: nowrap; }
.pv-hero-stats { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); }
@media (max-width: 640px) {
  .pv-hero-row { flex-direction: column; align-items: flex-start; }
  .pv-hero-cta { width: 100%; }
  .pv-hero-cta .btn-lime, .pv-hero-cta .btn-ghost-light { display: block; text-align: center; width: 100%; }
  .pv-hero-stats { gap: 22px; }
  .tod-option-grid-3col { grid-template-columns: 1fr; }
}

.pv-section { margin: 32px 0; }
.pv-section-title {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; padding-left: 13px;
  border-left: 4px solid var(--primary); line-height: 1.2;
}
.pv-about-text { line-height: 1.6; max-width: 640px; }

.pv-gallery-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.pv-gallery-item {
  flex: 0 0 auto; width: 200px; aspect-ratio: 3/4; border-radius: 16px; object-fit: cover;
  scroll-snap-align: start; background: #17091f;
}

.pv-chip-row { display: flex; flex-wrap: wrap; gap: 18px; }
.pv-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; width: 68px; }
.pv-chip-icon {
  width: 54px; height: 54px; border-radius: 50%; background: #fdf1f7; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--primary-dark);
}
.pv-chip-icon svg { width: 26px; height: 26px; }
.pv-chip span { font-size: 0.72rem; font-weight: 600; color: var(--text); }

/* Profile edit: photo gallery grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 10px; }
.photo-thumb { position: relative; aspect-ratio: 1; }
.photo-thumb img, .photo-thumb video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.photo-thumb form { position: absolute; top: 4px; right: 4px; margin: 0; }
.photo-delete-btn {
  width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(23,9,31,0.75);
  color: #fff; font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.photo-add-form { aspect-ratio: 1; margin: 0; }
.photo-add-btn {
  width: 100%; height: 100%; border: 1.5px dashed var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--muted);
  cursor: pointer; background: #fdf1f7;
}
.photo-add-btn:hover { border-color: var(--primary); color: var(--primary); }

.invite-link-row { display: flex; gap: 8px; margin-top: 10px; }
.invite-link-row input {
  flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); font: inherit; font-size: 0.85rem; color: var(--muted);
}
.invite-link-row .btn-outline { white-space: nowrap; }
.profile-card-body h3 { margin: 0 0 2px; }
.tag {
  display: inline-block; background: #fce7f3; color: var(--primary-dark); font-size: 0.75rem;
  font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 2px 0;
}
.tag-dark-outline { background: none; border: 1.5px solid var(--border); color: var(--muted); }
.tag-icon { display: inline-flex; align-items: center; gap: 4px; }
.tag-icon svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Profile view */
.profile-header { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.profile-section { margin-bottom: 20px; }
.profile-section h3 { margin-bottom: 6px; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.interest-tags .tag { text-transform: none; }

/* Interests picker */
.interest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 14px 8px;
  margin-top: 10px; font-weight: 400;
}
.interest-check {
  display: flex !important; flex-direction: column !important; align-items: center; gap: 8px !important;
  font-weight: 600 !important; font-size: 0.78rem; color: var(--text); text-align: center;
  background: none; border: none; border-radius: 14px; padding: 4px 2px; cursor: pointer;
  transition: transform 0.15s ease;
}
.interest-check:hover { transform: translateY(-2px); }
.interest-check:hover .interest-icon { border-color: var(--primary); }
.interest-check .interest-icon {
  width: 60px; height: 60px; min-width: 60px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  background: #fdf1f7; border: 2px solid var(--border); position: relative; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.interest-check .interest-icon svg { width: 28px; height: 28px; }
.interest-check.is-selected {
  color: var(--primary-dark);
}
.interest-check.is-selected .interest-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-dark); transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(236, 72, 153, 0.6);
  color: #fff;
}
.interest-check.is-selected .interest-icon::after {
  content: '✓'; position: absolute; bottom: -3px; right: -3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.interest-check input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Match / swipe deck */
.match-page .section-heading { margin-bottom: 22px; }
.match-page .chip-row { margin: 28px 0; }
.match-page #deck { display: flex; justify-content: center; }
.match-page .empty-state { max-width: 860px; margin: 0 auto; }
.match-card {
  background: var(--ink); border-radius: 28px; overflow: hidden; color: #fff;
  width: 100%; max-width: 860px; margin: 0 auto; box-shadow: 0 30px 60px -20px rgba(23,9,31,0.45);
  display: flex; flex-wrap: wrap; position: relative;
  touch-action: none; cursor: grab; user-select: none;
}
.match-card:active { cursor: grabbing; }
.swipe-stamp {
  position: absolute; top: 28px; z-index: 5; padding: 8px 18px; border-radius: 12px;
  border: 4px solid; font-weight: 800; font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: 0.04em; opacity: 0; pointer-events: none;
}
.swipe-stamp-like { left: 28px; color: var(--lime); border-color: var(--lime); transform: rotate(-14deg); }
.swipe-stamp-pass { right: 28px; color: #ff6b8b; border-color: #ff6b8b; transform: rotate(14deg); }
.match-card-demo { outline: 3px dashed #d97706; outline-offset: -3px; }
.match-card-demo-badge { top: 28px; right: 28px; z-index: 5; }
.match-card-media {
  flex: 1 1 340px; height: 420px; min-height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 700; color: #fff; object-fit: cover; -webkit-user-drag: none;
}
.match-card-body {
  flex: 1 1 360px; padding: 44px 40px; display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
}
.match-card-body h2 { margin: 0 0 8px; font-size: 1.7rem; }
.match-card-body .tag { margin-bottom: 6px; }
.match-card-body p { margin: 6px 0; color: #e6c9dd; }
.match-card-bio { font-size: 1.05rem; line-height: 1.6; margin: 14px 0 !important; }
.match-shared-count {
  display: inline-block; color: var(--lime) !important; font-weight: 700; font-size: 0.9rem;
  margin: 4px 0 10px !important;
}
.match-card-body .interest-tags { margin-top: 10px; gap: 8px; }
.match-card-body .interest-tags .tag { background: rgba(255,255,255,0.14); color: #fff; }

.swipe-actions { display: flex; justify-content: center; gap: 28px; margin-top: 32px; }
.swipe-btn {
  width: 72px; height: 72px; border-radius: 50%; border: none; font-size: 1.8rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.25);
}
.swipe-pass { background: #fff; color: #b91c5c; border: 2px solid var(--border); }
.swipe-pass:hover { border-color: var(--primary); }
.swipe-like { background: var(--primary); color: #fff; }
.swipe-like:hover { background: var(--primary-dark); }

.match-overlay {
  position: fixed; inset: 0; background: rgba(23,9,31,0.82); display: flex;
  align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.match-overlay[hidden] { display: none; }
.match-overlay-card {
  background: var(--ink); color: #fff; border-radius: 24px; padding: 40px 32px;
  max-width: 380px; width: 100%; text-align: center;
}
.match-overlay-card h2 { margin: 4px 0 10px; font-size: 1.8rem; }
.match-overlay-card .muted { color: #cba9c1; }
.match-overlay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.btn-ghost-dark {
  background: none; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; padding: 12px 20px;
  border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 0.95rem;
}
.btn-ghost-dark:hover { border-color: #fff; }

/* Forum */
.cat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; color: var(--text); }
.cat-card:hover { border-color: var(--primary); text-decoration: none; }
.thread-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.thread-row {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px;
  display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.thread-row:hover { border-color: var(--primary); text-decoration: none; }
.row-flex { display: flex; align-items: center; gap: 12px; }

.convo-row {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; color: var(--text);
}
.convo-row:hover { border-color: var(--primary); text-decoration: none; }
.convo-row.convo-unread { border-color: var(--primary); background: #fff7fb; }
.convo-avatar-wrap { position: relative; flex-shrink: 0; }
.convo-online-dot {
  position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e; border: 2px solid #fff;
}
.convo-body { flex: 1; min-width: 0; }
.convo-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.convo-top h3 { margin: 0; font-size: 1rem; }
.convo-unread .convo-top h3 { font-weight: 800; }
.convo-time { font-size: 0.75rem; color: var(--muted); flex-shrink: 0; }
.convo-preview {
  margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.convo-unread .convo-preview { color: var(--text); font-weight: 600; }
.convo-unread-badge {
  flex-shrink: 0; background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
.back-link { display: inline-block; margin-bottom: 12px; font-weight: 600; }
.post-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.post-item { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.post-author { font-weight: 700; margin: 0 0 4px; }
.post-body p { margin: 0; }

/* Chat */
.chat-bg {
  position: fixed; inset: 0; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #4a1450 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, #ff2f92 0%, transparent 50%),
              linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.chat-bg-plasma { position: absolute; inset: 0; }
.chat-page { display: flex; flex-direction: column; position: relative; }
.chat-page-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: 0 20px 50px rgba(23,9,31,0.35); margin-top: 20px;
}
.messages-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;
}
.msg { max-width: 75%; padding: 10px 14px; border-radius: 14px; font-size: 0.95rem; }
.msg.theirs { background: #fce7f3; align-self: flex-start; }
.msg.mine { background: var(--primary); color: #fff; align-self: flex-end; }
.msg .msg-media { display: block; max-width: 220px; max-height: 220px; border-radius: 10px; }
.msg:has(.msg-media) { padding: 6px; background: transparent; }
.msg-form { display: flex; gap: 10px; margin-top: 14px; }
.msg-form input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); font: inherit; }
.emoji-picker-wrap { position: relative; }
.emoji-btn {
  height: 100%; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.emoji-btn:hover { background: #fdf1f7; }
.emoji-picker {
  position: absolute; bottom: calc(100% + 8px); left: 0; width: 260px; max-height: 220px; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(23,9,31,0.15);
  padding: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; z-index: 50;
}
.emoji-option {
  border: none; background: none; font-size: 1.3rem; line-height: 1; padding: 6px; border-radius: 8px; cursor: pointer;
}
.emoji-option:hover { background: #fdf1f7; }
.icebreakers { margin-top: 14px; }
.icebreakers-label { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.icebreakers-row { display: flex; flex-wrap: wrap; gap: 8px; }
.icebreaker-chip {
  font: inherit; font-size: 0.85rem; font-weight: 600; background: #fdf1f7; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  text-align: left;
}
.icebreaker-chip:hover { border-color: var(--primary); color: var(--primary); }

.chat-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-header-row h1 { margin: 0; }

.call-overlay {
  position: fixed; inset: 0; background: rgba(23,9,31,0.92); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.call-panel { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.call-status { color: #fff; font-weight: 700; margin: 0; text-align: center; }
.call-videos { position: relative; width: 100%; aspect-ratio: 4/3; background: #000; border-radius: var(--radius); overflow: hidden; }
.call-video-remote { width: 100%; height: 100%; object-fit: cover; }
.call-video-local {
  position: absolute; bottom: 12px; right: 12px; width: 30%; max-width: 140px; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,0.7);
}
.call-controls { display: flex; gap: 16px; }
.call-ctrl-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15);
  color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.call-ctrl-btn:hover { background: rgba(255,255,255,0.25); }
.call-hangup { background: #dc2626; }
.call-hangup:hover { background: #b91c1c; }
.call-incoming-actions { display: flex; gap: 12px; }

/* "Jugar a la distancia" — session status bar + inline chat */
.rg-panel {
  background: #fdf1f7; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 20px;
}
.rg-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rg-code { font-weight: 800; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.05em; }
.rg-connection { font-size: 0.85rem; color: var(--muted); flex: 1 1 auto; }
.rg-chat { margin-top: 14px; }
.rg-messages { height: 200px; }

.rg-hub-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background:
    radial-gradient(circle at 15% 20%, #4a1450 0%, transparent 45%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 2px solid var(--lime); border-radius: 18px; padding: 22px 26px; margin-bottom: 20px;
  color: #fff; text-decoration: none;
}
.rg-hub-banner:hover { text-decoration: none; border-color: #fff; }
.rg-hub-banner-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; }
.rg-hub-banner-text { margin: 0; color: #e6c9dd; font-size: 0.88rem; max-width: 46ch; }
.rg-hub-banner-dice { font-size: 3rem; flex-shrink: 0; transform: rotate(-12deg); line-height: 1; }

.rg-hub-banner-lg { padding: 34px 40px; margin-bottom: 28px; }
.rg-hub-banner-lg .rg-hub-banner-dice { font-size: 4.6rem; }
.rg-hub-banner-lg .rg-hub-banner-title { font-size: 1.5rem; }
.rg-hub-banner-lg .rg-hub-banner-text { font-size: 0.95rem; max-width: 52ch; }
.rg-hub-banner-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rg-hub-banner-icons span {
  font-size: 1.5rem; background: rgba(255,255,255,0.1); border-radius: 12px;
  padding: 6px 11px; line-height: 1;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0 40px; margin-top: 40px; text-align: center; }
.site-footer-full { padding-top: 48px; text-align: left; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 36px; margin-bottom: 28px; border-bottom: 1px solid var(--border);
}
.footer-brand { color: var(--text); font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-brand span { color: var(--primary); }
.footer-blurb { color: var(--muted); font-size: 0.88rem; line-height: 1.5; max-width: 30ch; }
.footer-col h4 { font-size: 0.85rem; margin: 0 0 12px; color: var(--text); }
.footer-col a, .footer-static-link {
  display: block; color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; text-decoration: none;
}
.footer-col a:hover { color: var(--primary); text-decoration: none; }
.footer-social { display: flex; gap: 12px; }
a.footer-social-icon {
  width: 42px; height: 42px; border-radius: 50%; background: #fdf1f7; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--primary-dark); cursor: pointer;
  text-decoration: none !important; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.footer-social-icon svg { width: 20px; height: 20px; }
a.footer-social-icon:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: translateY(-3px); box-shadow: 0 8px 16px -6px rgba(236,72,153,0.5);
}
.footer-bottom { text-align: center; }
.footer-bottom .fine-print { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.fine-print { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 720px) {
  .hero-bold-title { font-size: 2.2rem; }
  .spotlight-card { flex-direction: column; align-items: flex-start; }
  .spotlight-arrow { display: none; }
  .cta-band-inner { flex-direction: column; text-align: center; }

  .topbar-inner { flex-wrap: wrap; row-gap: 10px; }
  .gooey-nav-container { order: 3; width: 100%; }
  .gooey-nav-container nav ul { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .gooey-nav-container nav ul li a { padding: 8px 12px; font-size: 0.82rem; }
  .nav-actions { order: 2; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

  .match-card-media { height: 280px; min-height: 0; flex-basis: 100%; }
  .match-card-body { padding: 24px 20px; }
}

/* MagicBento-style interactive card effects (applied via magic-bento.js) */
.bento-card {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 300px;
  --glow-color: 132, 0, 255;
  position: relative;
  will-change: transform;
}
.bento-card--glow::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 6px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(var(--glow-color), calc(var(--glow-intensity) * 0.8)) 0%,
    rgba(var(--glow-color), calc(var(--glow-intensity) * 0.4)) 30%,
    transparent 60%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}
.bento-particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; z-index: 6;
  background: rgba(var(--glow-color), 1); box-shadow: 0 0 6px rgba(var(--glow-color), 0.6);
  transform: scale(0); opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.bento-particle.is-in { transform: scale(1); opacity: 1; }
.bento-particle.is-out { transform: scale(0); opacity: 0; }
.bento-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 7;
  background: radial-gradient(circle, rgba(var(--glow-color), 0.4) 0%, rgba(var(--glow-color), 0.2) 30%, transparent 70%);
  transform: scale(0); opacity: 1;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.bento-spotlight {
  position: fixed; width: 800px; height: 800px; border-radius: 50%; pointer-events: none; z-index: 300;
  opacity: 0; transform: translate(-50%, -50%); mix-blend-mode: multiply;
  transition: opacity 0.3s ease-out;
}
.text-clamp-1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.text-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Admin dashboard */
.admin-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 28px; }
.admin-stat-card {
  flex: 1 1 140px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.admin-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.admin-stat-label { font-size: 0.8rem; color: var(--muted); }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.admin-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px;
}
.admin-panel h3 { margin: 0 0 14px; font-size: 1rem; }
.admin-row-flex { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-row-flex:last-child { border-bottom: none; }

.admin-bars { display: flex; flex-direction: column; gap: 8px; }
.admin-bar-row { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.admin-bar-track { background: var(--bg); border-radius: 999px; height: 8px; overflow: hidden; }
.admin-bar-fill { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); height: 100%; border-radius: 999px; min-width: 3px; }
.admin-bar-count { text-align: right; color: var(--text); font-weight: 700; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table tbody tr:hover { background: var(--bg); }
