.neon-effect {
  color: #e0aaff;
  text-shadow: 0 0 8px #e0aaff, 0 0 24px #a259ff, 0 0 48px #5f9dff;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s, text-shadow 0.2s;
}
.neon-effect.username {
  color: #a259ff;
  text-shadow: 0 0 12px #a259ff, 0 0 32px #e0aaff;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #03010a;
  --space-bg: url('/assets/cosmic-bg.svg');
  --space-overlay: radial-gradient(65% 95% at 20% 20%, rgba(154, 65, 255, 0.45), transparent 60%),
    radial-gradient(80% 120% at 80% 70%, rgba(24, 163, 255, 0.35), transparent 65%),
    linear-gradient(130deg, rgba(5, 2, 15, 0.6), rgba(2, 0, 18, 0.9));
  --bg-elevated: rgba(15, 10, 32, 0.92);
  --border: rgba(130, 90, 255, 0.45);
  --text: #f6f6ff;
  --muted: rgba(210, 218, 245, 0.78);
  --accent: linear-gradient(135deg, #bd5bff, #5f9dff);
  --accent-solid: #bd5bff;
  --accent-hover: linear-gradient(135deg, #d08bff, #8ac4ff);
  --accent-soft: rgba(130, 90, 255, 0.22);
  --danger: #fb7185;
  --success: #4ade80;
  --card-shadow: 0 28px 70px rgba(12, 0, 30, 0.7);
  --radius: 18px;
  --transition: 0.22s ease-in-out;
  font-family: 'Playfair Display', serif;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--space-overlay), var(--space-bg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  font-family: 'Playfair Display', serif;
}

body.is-intro-playing {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 120% at 15% 10%, rgba(255, 255, 255, 0.1), transparent 45%),
    radial-gradient(100% 100% at 85% 80%, rgba(20, 40, 120, 0.2), transparent 50%);
  z-index: -1;
}

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

.hidden {
  display: none !important;
}

#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 20% 20%, rgba(146, 104, 255, 0.35), rgba(4, 0, 15, 0.8) 60%),
    linear-gradient(145deg, rgba(5, 0, 18, 0.95), rgba(14, 0, 34, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

#intro-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

#intro-overlay.intro-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.08) brightness(0.98) drop-shadow(0 0 55px rgba(141, 87, 255, 0.45));
  transform: scale(1.03);
}

.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, rgba(189, 91, 255, 0.95), rgba(95, 157, 255, 0.95));
  color: #0b0018;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(49, 7, 87, 0.55);
  font-family: 'Playfair Display', serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 25px 60px rgba(49, 7, 87, 0.65);
}

@media (max-width: 768px) {
  .intro-skip {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro-overlay {
    display: none !important;
  }
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  backdrop-filter: blur(18px);
  background: rgba(6, 0, 18, 0.85);
  border-bottom: 1px solid rgba(130, 90, 255, 0.35);
  box-shadow: 0 10px 35px rgba(24, 7, 65, 0.45);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 1.35rem;
  text-transform: lowercase;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(90deg, #ff89c6, #b983ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(168, 120, 255, 0.35);
}

.nav-right {
  display: flex;
  gap: 0.75rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
  border: 1px solid rgba(168, 85, 247, 0.26);
  transition: all var(--transition);
}

.nav-btn[data-gothic] {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.12);
  color: #f4e7ff;
  text-shadow: 0 0 12px rgba(168, 120, 255, 0.35);
}

.nav-btn[data-gothic]:hover,
.nav-btn[data-gothic]:focus {
  color: #fff5ff;
  border-color: rgba(168, 85, 247, 0.6);
}

.nav-btn.primary {
  background: var(--accent);
  color: #070016;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(130, 90, 255, 0.45);
}

.nav-btn:hover,
.nav-btn:focus {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-btn.primary:hover,
.nav-btn.primary:focus {
  background: var(--accent-hover);
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.85rem;
}

.link-button {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--transition);
}

.link-button:hover,
.link-button:focus {
  color: var(--text);
}

.landing {
  min-height: calc(100dvh - 96px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1.75rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.read-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
  display: grid;
  gap: 2rem;
}

.read-hero {
  background: linear-gradient(145deg, rgba(11, 6, 30, 0.9), rgba(43, 12, 70, 0.65));
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 28px 75px rgba(12, 6, 32, 0.6);
  padding: 2.8rem 2.6rem;
}

.read-header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: 0.05em;
}

.read-tagline {
  margin: 0.75rem 0 2.2rem;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.7;
  max-width: 620px;
}

.read-controls {
  display: grid;
  grid-template-columns: minmax(220px, 320px) repeat(2, minmax(160px, 1fr));
  gap: 1rem;
  align-items: start;
}

.read-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (max-width: 960px) {
  .read-controls {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

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

.read-select {
  appearance: none;
  background: rgba(9, 12, 18, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: border var(--transition), box-shadow var(--transition);
  width: 100%;
}

.read-select:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

/* Wrapper for category dropdown + "Whisper Yours" button */
.read-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.read-filter-group .read-select {
  margin: 0;
}

.random-area {
  margin-top: 2rem;
}

.read-list-section {
  background: rgba(13, 10, 22, 0.82);
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.4rem 2.2rem;
  box-shadow: 0 22px 60px rgba(9, 5, 20, 0.55);
}

.read-list-section h2 {
  margin-top: 0;
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
}

.secret-card {
  background: rgba(9, 10, 18, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 16px 40px rgba(17, 12, 32, 0.45);
}

.secret-card + .secret-card {
  margin-top: 1.1rem;
}

.secret-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
  color: rgba(224, 231, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.secret-user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.secret-category {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  background: rgba(168, 85, 247, 0.15);
  color: rgba(221, 214, 254, 0.9);
}

.secret-content {
  line-height: 1.7;
  white-space: pre-wrap;
  color: rgba(229, 231, 235, 0.94);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.auth-page {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.1), transparent 42%);
}

.share-page {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  background: radial-gradient(circle at 18% 30%, rgba(139, 92, 246, 0.18), transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(30, 64, 175, 0.22), transparent 48%);
}

.admin-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  display: grid;
  gap: 2rem;
}

.admin-card {
  background: linear-gradient(155deg, rgba(15, 5, 40, 0.95), rgba(60, 18, 105, 0.7));
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid rgba(139, 92, 246, 0.28);
  box-shadow: 0 38px 95px rgba(10, 4, 32, 0.65);
  padding: 2.4rem 2rem;
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-card-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.admin-subtitle {
  margin: 0.4rem 0 0;
  color: rgba(221, 214, 254, 0.75);
  font-size: 0.95rem;
}

.admin-status {
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: rgba(221, 214, 254, 0.8);
  margin-bottom: 1rem;
}

.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.admin-table th {
  font-weight: 600;
  color: rgba(237, 233, 254, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-muted {
  color: rgba(226, 220, 255, 0.45);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(150, 82, 255, 0.18);
  color: #f5f3ff;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.admin-btn:hover,
.admin-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(126, 85, 255, 0.45);
  background: rgba(150, 82, 255, 0.32);
}

.admin-btn.danger {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.18);
  color: #fee2e2;
}

.admin-btn.danger:hover,
.admin-btn.danger:focus {
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.35);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 2.8vw, 1.8rem);
  text-align: center;
  width: min(100%, 640px);
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.6rem) clamp(1.6rem, 5vw, 3rem);
  min-height: clamp(420px, 70vh, 600px);
  background: linear-gradient(150deg, rgba(15, 5, 41, 0.92), rgba(65, 21, 123, 0.7));
  border: 1px solid rgba(130, 90, 255, 0.45);
  border-radius: calc(var(--radius) + 12px);
  box-shadow: 0 38px 90px rgba(20, 10, 60, 0.6);
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  text-align: center;
  max-width: 90%;
  margin: 0 auto 0.6rem;
  line-height: 1.05;
}

.hero-logo span {
  display: block;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #ff89c6, #b983ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out both, glowPulse 3.5s ease-in-out infinite;
  opacity: 0;
}

.hero-logo span:nth-child(1) {
  animation-delay: 0.1s, 0s;
}

.hero-logo span:nth-child(2) {
  animation-delay: 0.35s, 0.35s;
}

.hero-logo span:nth-child(3) {
  animation-delay: 0.7s, 0.7s;
}

.hero-logo span:first-child,
.hero-logo span:last-child {
  font-size: clamp(1.45rem, 3.6vw, 2.6rem);
}

.hero-logo-middle {
  font-size: clamp(1.1rem, 3.2vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(188, 130, 255, 0.45), 0 0 32px rgba(255, 140, 210, 0.35);
  margin: 0.15em 0;
}

.hero-logo span:last-child {
  margin-top: 0.1em;
}

.truth-meter-block {
  margin-top: 1.2rem;
}

.truth-meter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 126, 255, 0.45);
  background: rgba(18, 14, 32, 0.85);
  color: rgba(235, 230, 255, 0.9);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.truth-meter-toggle:hover,
.truth-meter-toggle:focus-visible {
  border-color: rgba(180, 162, 255, 0.85);
  box-shadow: 0 0 15px rgba(111, 131, 255, 0.3);
  transform: translateY(-1px);
  outline: none;
}

.truth-meter-toggle__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.truth-meter-block.is-open .truth-meter-toggle__chevron {
  transform: rotate(225deg);
}

.truth-meter {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem 1rem;
  border-radius: 1rem;
  background: rgba(12, 9, 26, 0.8);
  border: 1px solid rgba(140, 110, 255, 0.15);
  box-shadow: 0 0 25px rgba(115, 95, 255, 0.15);
}

.truth-meter-block.is-open .truth-meter {
  display: block;
}

.truth-meter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(214, 208, 255, 0.8);
}

.truth-meter__total {
  font-size: 0.7rem;
  color: rgba(202, 196, 255, 0.6);
}

.truth-meter__bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.truth-meter__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0%;
  transition: width 0.4s ease;
}

.truth-meter__fill.truth {
  left: 0;
  background: linear-gradient(90deg, rgba(104, 129, 255, 0.95), rgba(93, 217, 255, 0.8));
  box-shadow: 0 0 18px rgba(90, 141, 255, 0.45);
}

.truth-meter__fill.lie {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 105, 196, 0.9), rgba(255, 146, 109, 0.85));
  box-shadow: 0 0 18px rgba(255, 124, 198, 0.4);
}

.truth-meter__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(230, 227, 255, 0.95);
}

.truth-meter__divider {
  color: rgba(230, 227, 255, 0.55);
}

.truth-meter__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.truth-button {
  flex: 1;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(153, 130, 255, 0.6);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(244, 240, 255, 0.95);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.truth-button.truth {
  border-color: rgba(105, 174, 255, 0.65);
  box-shadow: inset 0 0 8px rgba(105, 174, 255, 0.15);
}

.truth-button.lie {
  border-color: rgba(255, 136, 196, 0.65);
  box-shadow: inset 0 0 8px rgba(255, 136, 196, 0.15);
}

.truth-button:hover:not(:disabled),
.truth-button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(103, 123, 255, 0.25);
  outline: none;
}

.truth-button:focus-visible:not(:disabled) {
  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.truth-button.is-selected {
  color: #0b0b14;
  background: linear-gradient(120deg, #9fb0ff, #77f0ff);
  box-shadow: 0 8px 20px rgba(126, 171, 255, 0.35);
}

.truth-button.lie.is-selected {
  background: linear-gradient(120deg, #ff9dde, #ffd082);
  box-shadow: 0 8px 20px rgba(255, 160, 210, 0.35);
}

.truth-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.truth-meter__hint {
  margin: 0.6rem 0 0;
  font-size: 0.72rem;
  color: rgba(207, 202, 255, 0.75);
  letter-spacing: 0.04em;
}

.hero-welcome {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: rgba(210, 202, 255, 0.95);
}

.hero-subtitle {
  margin: 0;
  max-width: 520px;
  padding-inline: clamp(0.75rem, 5vw, 2rem);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.04em;
  color: rgba(240, 220, 255, 0.85);
  line-height: 1.7;
  text-shadow: 0 0 15px rgba(200, 150, 255, 0.25);
  animation: fadeInUp 1.5s 2s ease-out forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.hero .btn {
  padding: 0.78rem 2rem;
  font-size: 0.95rem;
}

.hero .btn.outline {
  border-color: transparent;
  background: var(--accent);
  color: #060215;
  box-shadow: 0 18px 45px rgba(105, 82, 255, 0.5);
}

.hero .btn.outline:hover,
.hero .btn.outline:focus {
  background: var(--accent-hover);
}

.hero .btn {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card h1,
.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.auth-card {
  width: min(520px, 100%);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  background: linear-gradient(155deg, rgba(12, 3, 32, 0.95), rgba(68, 20, 90, 0.6));
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(130, 90, 255, 0.45);
  box-shadow: 0 40px 95px rgba(18, 4, 40, 0.65);
}

.share-card {
  width: min(640px, 100%);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: linear-gradient(155deg, rgba(10, 5, 20, 0.92), rgba(38, 10, 60, 0.62));
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 32px 80px rgba(51, 26, 92, 0.65);
}

.share-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.share-headline h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
}

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

.share-headline p span + span {
  margin-left: 0.35rem;
}

.share-subtitle {
  margin: 0.65rem 0 2.4rem;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.6;
}

.share-card textarea {
  min-height: 220px;
}

.auth-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  letter-spacing: 0.04em;
}

.auth-subtitle {
  margin: 0 0 2.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.35rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  text-align: center;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 25px 55px rgba(94, 76, 255, 0.4);
}

.btn.neon {
  background: var(--accent);
  color: #060215;
  box-shadow: 0 18px 45px rgba(105, 82, 255, 0.5);
}

.btn.neon:hover,
.btn.neon:focus {
  background: var(--accent-hover);
}

.btn.outline {
  background: rgba(6, 3, 18, 0.65);
  color: var(--text);
  border-color: rgba(126, 85, 246, 0.45);
  box-shadow: inset 0 0 0 1px rgba(126, 85, 246, 0.45);
}

.btn.outline:hover,
.btn.outline:focus {
  background: rgba(35, 18, 80, 0.85);
}

.btn-secondary {
  background: rgba(125, 78, 255, 0.18);
  color: var(--text);
  border: 1px solid rgba(125, 78, 255, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(125, 78, 255, 0.35);
}

.read-drop-cta {
  display: flex;
  justify-content: center;
  padding: 0 1rem 3.5rem;
  text-align: center;
}

.drop-btn {
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
  background: linear-gradient(115deg, rgba(52, 31, 120, 0.98), rgba(88, 46, 177, 0.96), rgba(165, 118, 255, 0.92));
  color: #f8f4ff;
  border: 1px solid rgba(180, 136, 255, 0.5);
  box-shadow: 0 10px 30px rgba(102, 61, 204, 0.45), 0 0 40px rgba(138, 113, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  isolation: isolate;
}

.drop-btn::after {
  content: '';
  position: absolute;
  inset: -12px -18px;
  background: radial-gradient(circle at 30% 30%, rgba(99, 64, 255, 0.4), transparent 60%),
    radial-gradient(circle at 70% 20%, rgba(43, 172, 255, 0.3), transparent 55%);
  filter: blur(18px);
  z-index: -1;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.drop-btn:hover,
.drop-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(138, 113, 255, 0.6), 0 0 50px rgba(93, 63, 211, 0.55);
}

.drop-btn:hover::after,
.drop-btn:focus::after {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Drop Yours CTA */
.read-drop-cta {
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.drop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3.2rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #060215;
  background: linear-gradient(120deg, #b671ff, #5f8bff);
  border: 1px solid rgba(185, 130, 255, 0.55);
  box-shadow: 0 18px 45px rgba(98, 80, 255, 0.45), 0 0 35px rgba(82, 181, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drop-btn:hover,
.drop-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(98, 80, 255, 0.6), 0 0 55px rgba(82, 181, 255, 0.55);
  outline: none;
}

form {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: grid;
  gap: 0.6rem;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.96rem;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 85, 246, 0.28);
  background: rgba(8, 8, 18, 0.85);
  color: var(--text);
  font-size: 0.98rem;
  transition: border var(--transition), box-shadow var(--transition), filter var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(170, 102, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(125, 78, 255, 0.22);
  filter: brightness(1.03);
}

textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.form-error {
  color: var(--danger);
  font-size: 0.9rem;
}

.form-success {
  color: var(--success);
  font-size: 0.95rem;
}

.auth-minor {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.auth-link {
  color: var(--accent-hover);
  text-decoration: underline;
}

.auth-link:hover,
.auth-link:focus {
  color: #e9d5ff;
}

.secrets-list {
  display: grid;
  gap: 1rem;
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}

.filter-controls select {
  width: auto;
  min-width: 200px;
}

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

@media (max-width: 720px) {
  .top-bar {
    padding: 1rem 1.5rem;
  }

  .nav-right {
    gap: 0.6rem;
  }

  .nav-btn {
    padding: 0.4rem 0.85rem;
  }

  .landing {
    padding: 2.5rem 1rem 3rem;
  }

  .container {
    padding: 2.5rem 1rem 3rem;
  }

  .auth-page {
    padding: 2.5rem 1rem 3rem;
  }

  .share-page {
    padding: 2.5rem 1rem 3rem;
  }

  .hero {
    padding: 2.1rem 1.4rem;
    min-height: clamp(360px, 68vh, 520px);
  }

  .admin-page {
    padding: 2.5rem 1rem 3rem;
  }

  .admin-card {
    padding: 2rem 1.4rem;
  }

  .admin-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-table {
    font-size: 0.85rem;
  }

  .admin-table-wrapper {
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }

  .auth-card {
    padding: 2.5rem 1.8rem;
  }

  .share-card {
    padding: 2.5rem 1.8rem;
  }

  .share-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
/* ================================
   HERO ANIMATIONS
================================== */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 0 15px rgba(185, 130, 255, 0.4), 0 0 35px rgba(255, 100, 180, 0.3);
  }
  50% {
    text-shadow: 0 0 35px rgba(255, 150, 230, 0.9), 0 0 70px rgba(185, 130, 255, 0.7);
  }
}

.access-status-card {
  width: 260px;
  padding: 1.4rem 1.6rem;
  margin-left: 1.2rem;
  background: rgba(20, 10, 30, 0.45);
  border: 1px solid rgba(180, 120, 255, 0.3);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(185,130,255,0.35);
  color: #eadcff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.access-status-card.locked {
  border-color: #ff4d8d !important;
  box-shadow: 0 0 25px #ff4d8d !important;
  filter: saturate(0.3) brightness(0.6);
}
.asc-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
  color: #f3e2ff;
}
.asc-stats {
  margin-bottom: 0.6rem;
}
.asc-line {
  font-size: 0.95rem;
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.asc-icon {
  font-size: 1.1rem;
}
.asc-message {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  opacity: 0.8;
  font-style: italic;
}
/* ===== TRUTH METER NEON FX ===== */

.truth-meter {
    margin-top: 1rem;
    padding: 1rem 1.4rem;
    background: rgba(20, 10, 40, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 22px rgba(150, 90, 255, 0.35);
    transition: 0.25s ease;
}

.truth-meter:hover {
    box-shadow: 0 0 32px rgba(180, 90, 255, 0.55),
                0 0 60px rgba(255, 120, 180, 0.45);
    transform: translateY(-2px);
}

/* Progress bar */
.truth-progress {
    height: 6px;
    width: 100%;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    margin-top: 6px;
    overflow: hidden;
}

.truth-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff7af5, #b983ff, #7af2ff);
    border-radius: 6px;
    transition: width 0.4s ease-out;
}

/* Glow pulse when user votes */
@keyframes votePulse {
  0% { box-shadow: 0 0 0px rgba(255,120,180,0.0); }
  50% { box-shadow: 0 0 18px rgba(255,120,180,0.7); }
  100% { box-shadow: 0 0 0px rgba(255,120,180,0.0); }
}

.truth-voted {
    animation: votePulse 0.9s ease-out;
}

/* Floating particles */
.truth-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff9cf5;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: particleFloat 1.3s ease-out forwards;
}

@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateY(-20px) scale(0.4); opacity: 0; }
}

/* --- Emoji Blast Animation --- */
.emoji-blast {
  position: fixed;
  font-size: 20px;
  pointer-events: none;
  animation: floatUp 1.2s ease-out forwards;
  z-index: 99999;
}
@keyframes floatUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-60px) scale(1.6); }
}
