/* ==========================================================================
   SnapgramFinds — Minimalist Dark Neon Theme
   Telegram Neon Blue · Neon Purple · Neon Pink (Zero Red)
   ========================================================================== */

:root {
  --bg: #080912;
  --surface: #111322;
  --surface-hover: #171a2f;
  --brand: #00c6ff;
  --brand-hover: #38d6ff;
  --brand-grad: linear-gradient(135deg, #00c6ff 0%, #2aa8f2 45%, #8b5cf6 100%);
  --brand-grad-hover: linear-gradient(135deg, #2bd4ff 0%, #44b8ff 45%, #a855f7 100%);
  --gold: #f5c451;
  --green: #34d399;
  --rose: #ff3ea5;
  --sky: #00c6ff;
  --violet: #b55cff;

  /* Platform accents */
  --ig: #ff3ea5;
  --sc: #ffe600;
  --tg: #00c6ff;
  --zg: #2ee6a6;

  --text: #f3f5ff;
  --text-secondary: #9ba3c2;
  --text-muted: #687091;

  --border: rgba(130, 160, 255, 0.11);
  --border-hover: rgba(0, 198, 255, 0.34);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --pill: 999px;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 75% 40% at 50% -10%, rgba(0, 198, 255, 0.13), transparent 65%),
    radial-gradient(ellipse 50% 35% at 88% 8%, rgba(181, 92, 255, 0.1), transparent 62%),
    radial-gradient(ellipse 45% 30% at 12% 14%, rgba(255, 62, 165, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease, opacity 0.16s ease;
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.34);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-grad-hover);
  box-shadow: 0 0 26px rgba(0, 198, 255, 0.52), 0 0 14px rgba(181, 92, 255, 0.32);
}

.btn-gold {
  background: rgba(245, 196, 81, 0.14);
  border-color: rgba(245, 196, 81, 0.48);
  color: var(--gold);
}

.btn-gold:hover:not(:disabled) {
  background: rgba(245, 196, 81, 0.22);
  border-color: rgba(245, 196, 81, 0.78);
}

.btn-outline {
  background: rgba(17, 19, 34, 0.6);
  border-color: rgba(0, 198, 255, 0.28);
  color: var(--text);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(0, 198, 255, 0.1);
  border-color: rgba(0, 198, 255, 0.62);
  box-shadow: 0 0 16px rgba(0, 198, 255, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text);
}

.btn-danger-ghost {
  background: transparent;
  color: #ff6ec7;
  border-color: rgba(255, 62, 165, 0.35);
}

.btn-danger-ghost:hover:not(:disabled) {
  background: rgba(255, 62, 165, 0.14);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Minimal Header
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  background: rgba(8, 9, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand .sg {
  color: var(--brand);
  text-shadow: 0 0 14px rgba(0, 198, 255, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(15, 17, 24, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  z-index: 55;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Clean Centered Hero
   ========================================================================== */
.hero {
  padding: 50px 0 36px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(90deg, #00d2ff 0%, #b55cff 56%, #ff3ea5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 198, 255, 0.34));
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 24px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Platform Filter Bar + Minimal Directory Toolbar
   ========================================================================== */
.directory {
  padding-bottom: 72px;
}

.platform-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
}

.plat-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.plat-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.plat-btn.active {
  color: var(--text);
  border-color: rgba(0, 198, 255, 0.65);
  background: rgba(0, 198, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 198, 255, 0.22);
}

.plat-btn[data-platform="instagram"].active { border-color: rgba(255, 62, 165, 0.78); background: rgba(255, 62, 165, 0.16); color: #ff7ad1; box-shadow: 0 0 16px rgba(255, 62, 165, 0.26); }
.plat-btn[data-platform="snapchat"].active  { border-color: rgba(255, 230, 0, 0.68);   background: rgba(255, 230, 0, 0.13);  color: #fff066; box-shadow: 0 0 16px rgba(255, 230, 0, 0.18); }
.plat-btn[data-platform="telegram"].active  { border-color: rgba(0, 198, 255, 0.78);   background: rgba(0, 198, 255, 0.16);  color: #5ce1ff; box-shadow: 0 0 16px rgba(0, 198, 255, 0.28); }
.plat-btn[data-platform="zangi"].active     { border-color: rgba(181, 92, 255, 0.78);  background: rgba(181, 92, 255, 0.16); color: #d5a6ff; box-shadow: 0 0 16px rgba(181, 92, 255, 0.26); }

.plat-ico {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plat-ico-ig { color: var(--ig); }
.plat-ico-sc { color: var(--sc); }
.plat-ico-tg { color: var(--tg); }
.plat-ico-zg { color: var(--zg); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0 22px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.toolbar-heading {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.gender-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--surface);
  border-color: var(--border-hover);
  color: var(--text);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-female { background: var(--rose); }
.dot-male { background: var(--sky); }
.dot-other { background: var(--violet); }
.dot-online { background: var(--green); }

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  width: 215px;
}

.search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 33px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  border-color: var(--border-hover);
}

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

.select-wrap select {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
}

.select-wrap select:focus {
  border-color: var(--border-hover);
  color: var(--text);
}

.select-wrap select option {
  background: #14161f;
  color: var(--text);
}

.count-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   5x5 Minimal Profile Grid (25 Users per Page)
   ========================================================================== */
.grid-25 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 18px;
}

.user-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.user-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.user-card:hover .user-thumb {
  transform: translateY(-2px);
}

/* Gender-colored neon frames (Neon Pink · Telegram Neon Blue · Neon Purple) */
.user-card.gender-female .user-thumb {
  border-color: rgba(255, 62, 165, 0.68);
  box-shadow: 0 4px 20px rgba(255, 62, 165, 0.18);
}

.user-card.gender-female:hover .user-thumb {
  border-color: rgba(255, 62, 165, 0.98);
  box-shadow: 0 8px 28px rgba(255, 62, 165, 0.34);
}

.user-card.gender-male .user-thumb {
  border-color: rgba(0, 198, 255, 0.68);
  box-shadow: 0 4px 20px rgba(0, 198, 255, 0.18);
}

.user-card.gender-male:hover .user-thumb {
  border-color: rgba(0, 198, 255, 0.98);
  box-shadow: 0 8px 28px rgba(0, 198, 255, 0.34);
}

.user-card.gender-other .user-thumb {
  border-color: rgba(181, 92, 255, 0.68);
  box-shadow: 0 4px 20px rgba(181, 92, 255, 0.18);
}

.user-card.gender-other:hover .user-thumb {
  border-color: rgba(181, 92, 255, 0.98);
  box-shadow: 0 8px 28px rgba(181, 92, 255, 0.34);
}

/* Boosted gold frame overrides standard gender frame */
.user-card.boosted .user-thumb {
  border-color: rgba(245, 196, 81, 0.78);
  box-shadow: 0 4px 22px rgba(245, 196, 81, 0.2);
}

.user-card.boosted:hover .user-thumb {
  border-color: rgba(245, 196, 81, 1);
  box-shadow: 0 8px 28px rgba(245, 196, 81, 0.34);
}

.user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.user-card:hover .user-thumb img {
  transform: scale(1.035);
}

/* Minimal corner indicators */
.boost-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 12, 22, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 196, 81, 0.62);
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1;
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.35);
}

.online-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2.5px rgba(11, 12, 16, 0.85);
}

/* Frosted multi-platform mini pill in bottom-left of card thumbnail */
.card-platforms {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--pill);
  background: rgba(11, 12, 16, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-platforms svg {
  width: 12px;
  height: 12px;
  display: block;
}

.user-meta {
  padding: 0 2px;
}

.user-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.user-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-bio {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.42;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 56px 20px;
  color: var(--text-secondary);
}

.empty-state.visible {
  display: block;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pagination-info {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}

.grid-footer {
  margin-top: 32px;
  text-align: center;
}

.grid-footer p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.seo-links a {
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.seo-links a:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.seo-links a.active-seo {
  color: var(--brand);
  border-color: rgba(0, 198, 255, 0.65);
  background: rgba(0, 198, 255, 0.14);
  box-shadow: 0 0 14px rgba(0, 198, 255, 0.2);
}

/* Minimal FAQ */
.faq-section {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.55;
}

/* ==========================================================================
   Calm Minimal About Strip
   ========================================================================== */
.about-section {
  border-top: 1px solid var(--border);
  padding: 64px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.about-item svg {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.about-item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a,
.footer-links button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

.footer-legal {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-disclaimer {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(17, 19, 34, 0.72);
  border: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: var(--text);
}

/* ==========================================================================
   Minimal Modals & Toast
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 7, 10, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  background: #111322;
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(0, 198, 255, 0.08);
}

.modal-sm {
  max-width: 460px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

/* Profile Quick-View */
.qv-grid {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 22px;
  align-items: start;
}

.qv-photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.qv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-right: 28px;
}

.qv-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 4px 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.qv-bio {
  font-size: 0.89rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.55;
}

.handles-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.handle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.handle-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.handle-meta {
  min-width: 0;
}

.handle-plat {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  line-height: 1.1;
}

.handle-bar code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.handle-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qv-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 6px;
}

.link-muted {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.78rem;
}

.link-muted:hover {
  color: var(--text-secondary);
}

/* Forms */
.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  padding-right: 28px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-divider {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--border-hover);
}

.field textarea {
  resize: vertical;
  min-height: 68px;
}

/* Real Avatar Upload Box */
.upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px dashed var(--border-hover);
}

.upload-preview {
  width: 54px;
  height: 68px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-info {
  flex: 1;
  min-width: 0;
}

.upload-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.upload-input {
  display: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.81rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.profile-toolbar-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.boost-banner {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(232, 185, 73, 0.08);
  border: 1px solid rgba(232, 185, 73, 0.35);
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}

.boost-banner strong {
  color: var(--gold);
}

.form-error {
  display: none;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 62, 165, 0.14);
  border: 1px solid rgba(255, 62, 165, 0.42);
  color: #ff8cd4;
  font-size: 0.82rem;
}

.form-error.visible {
  display: block;
}

.modal-switch {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.modal-switch button {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #14172b;
  border: 1px solid rgba(0, 198, 255, 0.35);
  color: var(--text);
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 198, 255, 0.16);
}

.toast.toast-error {
  border-color: rgba(255, 62, 165, 0.58);
  color: #ff99d6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-25 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 36px 0 26px;
  }

  .grid-25 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .about-grid,
  .faq-list,
  .form-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .qv-photo {
    max-width: 210px;
    margin: 0 auto;
  }

  .search-box {
    width: 100%;
  }
}


/* ==========================================================================
   Standalone Public Profile Page (snapgramfinds.com/username)
   ========================================================================== */
.profile-page {
  padding: 40px 0 72px;
}

.profile-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(17, 19, 34, 0.88);
  border: 1px solid rgba(0, 198, 255, 0.22);
  border-radius: 22px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 36px rgba(0, 198, 255, 0.08);
  text-align: center;
}

.profile-avatar-wrap {
  position: relative;
  width: 176px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 18px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
}

.profile-avatar-wrap.gender-female {
  border-color: rgba(255, 62, 165, 0.85);
  box-shadow: 0 0 28px rgba(255, 62, 165, 0.28);
}

.profile-avatar-wrap.gender-male {
  border-color: rgba(0, 198, 255, 0.85);
  box-shadow: 0 0 28px rgba(0, 198, 255, 0.28);
}

.profile-avatar-wrap.gender-other {
  border-color: rgba(181, 92, 255, 0.85);
  box-shadow: 0 0 28px rgba(181, 92, 255, 0.28);
}

.profile-avatar-wrap.boosted {
  border-color: rgba(245, 196, 81, 0.95);
  box-shadow: 0 0 30px rgba(245, 196, 81, 0.3);
}

.profile-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.profile-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px 13px;
  border-radius: var(--pill);
  background: rgba(8, 9, 18, 0.85);
  border: 1px solid rgba(0, 198, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 14px;
  max-width: 100%;
}

.profile-url-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.profile-bio-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.58;
  max-width: 440px;
  margin: 0 auto 22px;
}

.profile-links-stack {
  display: grid;
  gap: 10px;
  text-align: left;
  margin-bottom: 18px;
}

.profile-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 9, 18, 0.82);
  border: 1px solid var(--border);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.profile-link-row:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: 0 6px 20px rgba(0, 198, 255, 0.12);
}

.profile-link-row.plat-instagram:hover { border-color: rgba(255, 62, 165, 0.65); box-shadow: 0 6px 20px rgba(255, 62, 165, 0.16); }
.profile-link-row.plat-snapchat:hover  { border-color: rgba(255, 230, 0, 0.55);   box-shadow: 0 6px 20px rgba(255, 230, 0, 0.12); }
.profile-link-row.plat-telegram:hover  { border-color: rgba(0, 198, 255, 0.68);   box-shadow: 0 6px 20px rgba(0, 198, 255, 0.18); }
.profile-link-row.plat-zangi:hover     { border-color: rgba(181, 92, 255, 0.68);  box-shadow: 0 6px 20px rgba(181, 92, 255, 0.18); }

.profile-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.profile-link-icon svg {
  width: 18px;
  height: 18px;
}

.profile-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-related {
  margin-top: 52px;
}

.profile-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-related-head h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .profile-card {
    padding: 22px 16px 20px;
    border-radius: 18px;
  }
  .profile-link-row {
    flex-wrap: wrap;
  }
}


/* ==========================================================================
   3-Photo Gallery Uploader, Quick-View Thumbs & Profile Lightbox
   ========================================================================== */
.upload-gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.upload-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upload-slot-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 11px;
  overflow: hidden;
  background: var(--bg);
  border: 1px dashed var(--border-hover);
}

.upload-slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-slot-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: var(--pill);
  background: rgba(8, 9, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.upload-slot-clear {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 62, 165, 0.55);
  background: rgba(8, 9, 18, 0.85);
  color: #ff8cd4;
  font-size: 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.upload-hint {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Quick-View Photo Switcher Thumbs */
.qv-photo-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qv-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.qv-thumb-btn {
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.qv-thumb-btn:hover { opacity: 0.95; }

.qv-thumb-btn.active {
  opacity: 1;
  border-color: var(--brand);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.35);
}

.qv-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile Page 3-Photo Gallery Grid */
.profile-gallery-section {
  margin: 0 0 20px;
  text-align: left;
}

.profile-gallery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-gallery-item {
  position: relative;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.profile-gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 198, 255, 0.7);
  box-shadow: 0 6px 22px rgba(0, 198, 255, 0.22);
}

.profile-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Fullscreen Viewer */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 5, 12, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-backdrop.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 198, 255, 0.45);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 36px rgba(0, 198, 255, 0.18);
  background: var(--surface);
}

.lightbox-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.lightbox-counter {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   VIP Exclusive Link (Linktree / OnlyFans)
   ========================================================================== */
.vip-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14) 0%, rgba(17, 19, 34, 0.92) 70%);
  border: 1px solid rgba(245, 196, 81, 0.55);
  box-shadow: 0 4px 20px rgba(245, 196, 81, 0.14);
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.vip-link-row:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 196, 81, 0.9);
  box-shadow: 0 6px 24px rgba(245, 196, 81, 0.25);
}

.vip-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.48);
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.vip-link-row .handle-plat {
  color: var(--gold);
  font-weight: 700;
}

.vip-field-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.06);
  border: 1px solid rgba(245, 196, 81, 0.3);
}

.vip-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vip-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: var(--gold);
}


/* ==========================================================================
   Guest 25-User Limit — "Sign Up to See More" Gate
   ========================================================================== */
.signup-gate {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.09) 0%, rgba(181, 92, 255, 0.09) 55%, rgba(255, 62, 165, 0.08) 100%);
  border: 1px solid rgba(0, 198, 255, 0.34);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 26px rgba(0, 198, 255, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.signup-gate-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.signup-gate-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.signup-gate-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}


/* ==========================================================================
   Hot + Verified Real Voting System & Top Ranking Leaderboard (Neon SVG, Zero Red)
   ========================================================================== */
.ico-svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -2px;
}

.ico-svg-sm {
  width: 13px;
  height: 13px;
}

.ico-svg-lg {
  width: 18px;
  height: 18px;
}

.ico-hot {
  color: #ff3ea5;
  filter: drop-shadow(0 0 6px rgba(255, 62, 165, 0.7));
}

.ico-verified {
  color: #00c6ff;
  filter: drop-shadow(0 0 6px rgba(0, 198, 255, 0.72));
}

.ico-crown {
  color: var(--gold);
  filter: drop-shadow(0 0 7px rgba(245, 196, 81, 0.65));
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00c6ff;
  filter: drop-shadow(0 0 7px rgba(0, 198, 255, 0.75));
  flex-shrink: 0;
  vertical-align: middle;
}

.verified-badge svg {
  width: 15px;
  height: 15px;
  display: block;
}

.verified-badge-lg svg {
  width: 20px;
  height: 20px;
}

/* Pic-2 Inspired Minimal Neon Vote Strip on Directory Cards */
.card-votes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s ease, color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.card-vote-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.card-vote-btn.vote-hot .ico-svg {
  color: #ff4fb0;
  filter: drop-shadow(0 0 5px rgba(255, 62, 165, 0.55));
}

.card-vote-btn.vote-hot:hover,
.card-vote-btn.vote-hot.voted {
  color: #ff99d6;
  background: rgba(255, 62, 165, 0.12);
  border-color: rgba(255, 62, 165, 0.42);
  box-shadow: 0 0 14px rgba(255, 62, 165, 0.22);
}

.card-vote-btn.vote-hot.voted .ico-svg {
  color: #ff3ea5;
  filter: drop-shadow(0 0 8px rgba(255, 62, 165, 0.9));
}

.card-vote-btn.vote-verified .ico-svg {
  color: #00c6ff;
  filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.55));
}

.card-vote-btn.vote-verified:hover,
.card-vote-btn.vote-verified.voted {
  color: #8ee8ff;
  background: rgba(0, 198, 255, 0.12);
  border-color: rgba(0, 198, 255, 0.42);
  box-shadow: 0 0 14px rgba(0, 198, 255, 0.22);
}

.card-vote-btn.vote-verified.voted .ico-svg {
  color: #00d9ff;
  filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.9));
}

/* Quick-View & Standalone Profile Voting Row (Clean Pic-2 Aesthetic) */
.vote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  margin: 10px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vote-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.vote-pill-btn:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.vote-pill-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.vote-pill-num {
  color: var(--text);
  font-weight: 700;
}

.vote-pill-btn.vote-hot:hover,
.vote-pill-btn.vote-hot.voted {
  color: #ffb0e0;
  background: rgba(255, 62, 165, 0.13);
  border-color: rgba(255, 62, 165, 0.48);
  box-shadow: 0 0 18px rgba(255, 62, 165, 0.24);
}

.vote-pill-btn.vote-hot.voted .vote-pill-num {
  color: #ff8cd4;
}

.vote-pill-btn.vote-verified:hover,
.vote-pill-btn.vote-verified.voted {
  color: #9beeff;
  background: rgba(0, 198, 255, 0.13);
  border-color: rgba(0, 198, 255, 0.48);
  box-shadow: 0 0 18px rgba(0, 198, 255, 0.24);
}

.vote-pill-btn.vote-verified.voted .vote-pill-num {
  color: #5ce1ff;
}

.vote-auth-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin: -8px 0 12px;
}

.vote-auth-note button,
.vote-auth-note a {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   Top Hot + Verified Leaderboard Section & Dedicated /ranking Page
   ========================================================================== */
.ranking-section {
  padding: 46px 0 38px;
  border-top: 1px solid var(--border);
  position: relative;
}

.ranking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.ranking-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-title span {
  background: linear-gradient(90deg, #ff3ea5 0%, #b55cff 50%, #00c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ranking-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.ranking-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ranking-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rank-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rank-tab-btn:hover {
  color: var(--text);
  border-color: rgba(0, 198, 255, 0.4);
}

.rank-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 62, 165, 0.2) 0%, rgba(0, 198, 255, 0.2) 100%);
  border-color: rgba(0, 198, 255, 0.65);
  color: var(--text);
  box-shadow: 0 0 18px rgba(0, 198, 255, 0.18);
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.podium-card {
  position: relative;
  border-radius: 18px;
  padding: 16px;
  background: rgba(17, 19, 34, 0.86);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.podium-card:hover {
  transform: translateY(-3px);
}

.podium-card.rank-1 {
  border-color: rgba(245, 196, 81, 0.72);
  background: linear-gradient(160deg, rgba(245, 196, 81, 0.14) 0%, rgba(17, 19, 34, 0.94) 55%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(245, 196, 81, 0.16);
}

.podium-card.rank-2 {
  border-color: rgba(0, 198, 255, 0.58);
  background: linear-gradient(160deg, rgba(0, 198, 255, 0.11) 0%, rgba(17, 19, 34, 0.94) 55%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 24px rgba(0, 198, 255, 0.12);
}

.podium-card.rank-3 {
  border-color: rgba(255, 62, 165, 0.58);
  background: linear-gradient(160deg, rgba(255, 62, 165, 0.11) 0%, rgba(17, 19, 34, 0.94) 55%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 62, 165, 0.12);
}

.podium-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.podium-avatar {
  position: relative;
  width: 66px;
  height: 82px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: var(--surface);
}

.podium-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-medal {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: var(--pill);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rank-1 .podium-medal {
  background: rgba(245, 196, 81, 0.22);
  border: 1px solid rgba(245, 196, 81, 0.65);
  color: var(--gold);
}

.rank-2 .podium-medal {
  background: rgba(0, 198, 255, 0.2);
  border: 1px solid rgba(0, 198, 255, 0.6);
  color: #7ee4ff;
}

.rank-3 .podium-medal {
  background: rgba(255, 62, 165, 0.2);
  border: 1px solid rgba(255, 62, 165, 0.6);
  color: #ff99d6;
}

.podium-info {
  min-width: 0;
  flex: 1;
  padding-right: 42px;
}

.podium-name {
  font-weight: 800;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-sub {
  font-size: 0.77rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.podium-score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding-top: 2px;
}

.podium-score-pill {
  font-weight: 800;
  color: var(--text);
  padding: 2px 9px;
  border-radius: var(--pill);
  background: rgba(181, 92, 255, 0.16);
  border: 1px solid rgba(181, 92, 255, 0.42);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(17, 19, 34, 0.72);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.14s ease;
}

.ranking-row:hover {
  border-color: rgba(0, 198, 255, 0.42);
  background: rgba(24, 27, 48, 0.86);
  transform: translateY(-1px);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ranking-row-avatar {
  width: 48px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
}

.ranking-row-main {
  min-width: 0;
}

.ranking-row-name {
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ranking-row-sub {
  font-size: 0.77rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.ranking-row-votes {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.ranking-row-votes .card-vote-btn {
  flex: 0 0 auto;
  padding: 6px 10px;
  font-size: 0.76rem;
}

.ranking-score-badge {
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(181, 92, 255, 0.14);
  border: 1px solid rgba(181, 92, 255, 0.35);
  color: #d9b0ff;
}

.ranking-empty {
  text-align: center;
  padding: 28px 16px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

@media (max-width: 640px) {
  .ranking-row {
    grid-template-columns: 32px 42px minmax(0, 1fr);
  }
  .ranking-row-votes {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 4px;
  }
  .vote-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .vote-pill-btn {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
}


/* ==========================================================================
   Nav Link Button Helper + Terms / Contact Legal Pages
   ========================================================================== */
.nav-links .nav-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s ease;
}

.nav-links .nav-link-btn:hover {
  color: var(--text);
}

.legal-page {
  padding: 46px 0 72px;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(17, 19, 34, 0.88);
  border: 1px solid rgba(0, 198, 255, 0.22);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 198, 255, 0.08);
}

.legal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 198, 255, 0.12);
  border: 1px solid rgba(0, 198, 255, 0.36);
  color: #7ee4ff;
  margin-bottom: 12px;
}

.legal-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.legal-h1 span {
  background: linear-gradient(90deg, #00c6ff 0%, #b55cff 60%, #ff3ea5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 20px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.legal-section p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.legal-section a {
  color: #7ee4ff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   Slim Partner Sub-Header Bar (More on KikFinds)
   ========================================================================== */
.partner-subbar {
  background: rgba(11, 13, 24, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 0;
}

.partner-subbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  text-align: center;
}

.partner-subbar-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-right: 2px;
}

.partner-subbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 198, 255, 0.18);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.partner-pill:hover {
  color: #ffffff;
  border-color: rgba(0, 198, 255, 0.62);
  background: rgba(0, 198, 255, 0.11);
  box-shadow: 0 0 14px rgba(0, 198, 255, 0.2);
  transform: translateY(-1px);
}


/* ==========================================================================
   Account / Profile Self-Deletion Box (Neon Pink, Zero Red)
   ========================================================================== */
.danger-zone-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 62, 165, 0.06);
  border: 1px solid rgba(255, 62, 165, 0.32);
}

.danger-zone-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ff99d6;
  margin-bottom: 4px;
}

.danger-zone-desc {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 11px;
}

.danger-zone-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
