:root {
  --bg: #070614;
  --surface: rgba(17, 15, 38, 0.78);
  --surface-strong: rgba(24, 21, 52, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(236, 72, 153, 0.45);
  --text: #f5f3ff;
  --text-muted: #a6a3c7;
  --pink: #ec4899;
  --violet: #8b5cf6;
  --cyan: #38bdf8;
  --green: #22c55e;
  --red: #f43f5e;
  --discord: #5865f2;
  --telegram: #2aabee;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Starfield Canvas & Ambient Glows */
.starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  top: 38%;
  right: -160px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
}

.bg-glow-3 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

/* Announcement Strip (Feature #8) */
.announcement-bar {
  position: relative;
  z-index: 5;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.24), rgba(56, 189, 248, 0.22));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  color: #f3e8ff;
}

.announcement-tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--pink);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.announcement-text {
  flex: 1;
  min-width: 0;
}

.announcement-close {
  border: none;
  background: transparent;
  color: #d4d1ee;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 4px;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 16px 104px;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  font-size: 0.74rem;
  font-weight: 600;
  color: #e9e4ff;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle span {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-toggle span.active {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #ffffff;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.icon-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: var(--surface-strong);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 24px;
}

.brand-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f9a8d4;
  background: rgba(236, 72, 153, 0.14);
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.profile-name {
  font-family: "Pirata One", "Syne", serif;
  font-size: 2.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.08;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 12%, #f9a8d4 52%, #a78bfa 78%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(236, 72, 153, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
}

.profile-bio {
  font-size: 0.89rem;
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 16px;
}

/* System Status Operational Bar (Feature #14) */
.sys-status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.sys-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 15, 38, 0.72);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: #d6d3f0;
}

.sys-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.sys-dot.open {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

/* Sections */
.section {
  margin-bottom: 30px;
  scroll-margin-top: 18px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}

.section-header h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.section-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Community Cover Cards */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.community-cover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  transform-style: preserve-3d;
}

.community-cover-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 22px 50px rgba(236, 72, 153, 0.18);
}

.community-main-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.community-cover-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d0b22;
}

.community-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.community-cover-card:hover .community-cover-media img {
  transform: scale(1.04);
}

.community-cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 20, 0.85) 0%, rgba(7, 6, 20, 0.12) 45%, transparent 100%);
  pointer-events: none;
}

.community-platform-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.platform-discord .community-platform-pill {
  background: rgba(88, 101, 242, 0.88);
}

.platform-telegram .community-platform-pill {
  background: rgba(42, 171, 238, 0.88);
}

.live-member-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 6, 20, 0.84);
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  color: #86efac;
  backdrop-filter: blur(6px);
}

.community-cover-body {
  padding: 13px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.community-cover-title {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.community-cover-handle {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--cyan);
}

.community-cover-cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f9a8d4;
}

.community-card-tools {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}

.mini-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #e2dff8;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mini-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
}

/* Midnight Userapp Present Banner */
.present-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  background: #0d0b22;
  aspect-ratio: 16 / 10;
}

.present-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.present-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(7, 6, 20, 0.94) 0%,
    rgba(7, 6, 20, 0.55) 48%,
    rgba(7, 6, 20, 0.12) 100%
  );
}

.present-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 4px;
}

.present-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(236, 72, 153, 0.45);
  margin-bottom: 5px;
}

.present-subtitle {
  font-size: 0.84rem;
  color: #d6d3f0;
  max-width: 440px;
}

/* Bot Tabs */
.bot-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.bot-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.bot-tab.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.32), rgba(56, 189, 248, 0.28));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Bot Cards + Carousel (Feature #1) */
.bots-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bot-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.bot-card.hidden-by-tab {
  display: none;
}

.bot-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
}

.bot-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #0b091e;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-media-bg {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: cover;
  filter: blur(22px) brightness(0.45);
  transform: scale(1.08);
  pointer-events: none;
}

.bot-media-main {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 6, 20, 0.78);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.carousel-nav:hover {
  background: rgba(236, 72, 153, 0.85);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 6, 20, 0.65);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: var(--pink);
  width: 18px;
  border-radius: 999px;
}

.bot-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 6, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  color: #f9a8d4;
}

.bot-zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 6, 20, 0.82);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.bot-zoom-btn:hover {
  background: rgba(236, 72, 153, 0.85);
}

.bot-body {
  padding: 20px;
}

.bot-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 3px;
  color: #ffffff;
}

.bot-subtitle {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
}

.bot-tagline {
  font-size: 0.88rem;
  color: #d6d3f0;
  margin-bottom: 16px;
}

/* Interactive Mini Radio Player Widget (Feature #3) */
.interactive-box {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(9, 8, 26, 0.82);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.interactive-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9a8d4;
}

.radio-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.radio-track-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.radio-track-artist {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.radio-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.radio-eq span {
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--pink), var(--cyan));
  transition: height 0.15s ease;
}

.radio-eq.playing span {
  animation: eqBounce 0.65s infinite alternate ease-in-out;
}
.radio-eq.playing span:nth-child(2) { animation-delay: 0.15s; }
.radio-eq.playing span:nth-child(3) { animation-delay: 0.3s; }
.radio-eq.playing span:nth-child(4) { animation-delay: 0.45s; }

@keyframes eqBounce {
  from { height: 4px; }
  to { height: 18px; }
}

.radio-progress {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 12px;
}

.radio-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transition: width 0.25s linear;
}

.radio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.radio-btn.primary {
  flex: 1;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  border-color: transparent;
}

/* Live Crypto Ticker Widget (Feature #2) */
.ticker-box {
  border-color: rgba(56, 189, 248, 0.32);
}

.ticker-box .interactive-box-head {
  color: var(--cyan);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ticker-item {
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.ticker-sym {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

.ticker-chg {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.ticker-chg.up {
  color: #86efac;
  background: rgba(34, 197, 94, 0.16);
}

.ticker-chg.down {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.16);
}

.ticker-usd {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f5f3ff;
}

.ticker-idr {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Features List */
.features-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9a8d4;
  margin-bottom: 11px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #cfcde8;
  line-height: 1.5;
}

.feature-item strong {
  color: #ffffff;
}

.feature-check {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(56, 189, 248, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

/* Coming Soon Teaser Card (Feature #15) */
.coming-soon-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(17, 15, 38, 0.85));
  border: 1px dashed rgba(236, 72, 153, 0.42);
  text-align: center;
}

.coming-soon-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.18);
  color: #f9a8d4;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.coming-soon-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.coming-soon-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

/* Social Proof Stats & Testimonials (Feature #9) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.stat-card {
  padding: 14px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-value {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(110deg, #ffffff, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.testimonial-card {
  padding: 15px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-quote {
  font-size: 0.82rem;
  color: #dbd8f5;
  line-height: 1.5;
}

.testimonial-meta {
  margin-top: auto;
  font-size: 0.74rem;
  color: var(--cyan);
  font-weight: 700;
}

.testimonial-meta span {
  color: var(--text-muted);
  font-weight: 500;
}

/* FAQ Accordion (Feature #6) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.faq-chevron {
  color: #f9a8d4;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 0.83rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Rent / Customize Bot Section (Features #5 & #12) */
.rent-section {
  margin-top: 8px;
  margin-bottom: 24px;
  scroll-margin-top: 18px;
}

.rent-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(236, 72, 153, 0.4);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(139, 92, 246, 0.22), rgba(56, 189, 248, 0.18));
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.rent-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.65);
}

.rent-toggle-icon { color: #f9a8d4; }

.rent-chevron {
  margin-left: auto;
  transition: transform 0.22s ease;
}

.rent-toggle-btn[aria-expanded="true"] .rent-chevron {
  transform: rotate(180deg);
}

.rent-panel {
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow);
  animation: fadeSlideIn 0.22s ease;
}

.rent-panel[hidden] {
  display: none;
}

.rent-panel-text {
  text-align: center;
  font-size: 0.92rem;
  color: #e9e6ff;
  line-height: 1.65;
  margin-bottom: 10px;
}

.rent-handle-link {
  display: inline-block;
  font-weight: 800;
  color: #38bdf8;
  text-decoration: none;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.rent-handle-link:hover {
  background: rgba(56, 189, 248, 0.28);
  color: #ffffff;
}

.rent-copy-row {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.rent-copy-row .mini-pill-btn {
  flex: 0 0 auto;
  padding: 6px 14px;
}

.sub-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9a8d4;
  margin-bottom: 10px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.pkg-card {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pkg-card.selected,
.pkg-card:hover {
  border-color: rgba(236, 72, 153, 0.55);
  background: rgba(236, 72, 153, 0.09);
}

.pkg-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--cyan);
  margin-bottom: 6px;
}

.pkg-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pkg-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pkg-list {
  list-style: none;
  font-size: 0.72rem;
  color: #d6d3f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Quick DM Builder */
.dm-builder {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.builder-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.builder-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.builder-field select,
.builder-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #0c0a21;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
}

.builder-input {
  margin-bottom: 12px;
}

.dm-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 13px;
  border: none;
  background: linear-gradient(135deg, #2aabee, #8b5cf6);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42, 171, 238, 0.28);
}

.dm-submit-btn:hover {
  filter: brightness(1.07);
}

/* Footer */
.mini-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-footer a {
  color: #f9a8d4;
  font-weight: 600;
  text-decoration: none;
}

.stats-trigger-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Sticky Bottom Nav Bar (Feature #11) */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 35;
  width: min(calc(100% - 24px), 440px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  border-radius: 20px;
  background: rgba(13, 11, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: #ffffff;
  background: rgba(236, 72, 153, 0.2);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 3, 12, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 780px;
  border-radius: 20px;
  background: #100e26;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.modal-compact {
  max-width: 420px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 6, 20, 0.88);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
}

.modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  padding-right: 26px;
}

.modal-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-media-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #070614;
}

.modal-media-container img,
.modal-media-container video {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.qr-box {
  display: inline-block;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  margin-bottom: 10px;
}

.qr-url-label {
  font-size: 0.76rem;
  color: var(--cyan);
  margin-bottom: 14px;
  word-break: break-all;
}

.rules-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.rules-list li {
  font-size: 0.84rem;
  color: #e4e1fa;
  padding-left: 18px;
  position: relative;
}

.rules-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.analytics-item {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.analytics-val {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan);
}

.analytics-key {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 18px;
  border-radius: 999px;
  background: #171436;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .community-grid,
  .testimonials-grid,
  .packages-grid,
  .builder-row {
    grid-template-columns: 1fr;
  }

  .community-cover-media {
    aspect-ratio: 16 / 10;
  }

  .profile-name {
    font-size: 2.15rem;
  }

  .present-title {
    font-size: 1.28rem;
  }

  .bot-body {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   NEW ADDITIONS: 4 THEMES, NEOCLASSICAL 30% BLUR BG, SNOW,
   BGM BUTTON, SEARCH, ROADMAP, COMPACT MODE, SHARE KIT, TOP BTN
   ============================================================ */

/* 4 Midnight Themes */
body[data-theme="cyan"] {
  --pink: #06b6d4;
  --violet: #3b82f6;
  --cyan: #67e8f9;
  --border-hover: rgba(6, 182, 212, 0.55);
}

body[data-theme="gold"] {
  --bg: #0c0905;
  --surface: rgba(28, 21, 12, 0.8);
  --surface-strong: rgba(38, 28, 15, 0.94);
  --pink: #f59e0b;
  --violet: #d97706;
  --cyan: #fde68a;
  --border-hover: rgba(245, 158, 11, 0.55);
}

body[data-theme="oled"] {
  --bg: #000000;
  --surface: rgba(12, 12, 18, 0.86);
  --surface-strong: rgba(18, 18, 26, 0.96);
  --pink: #e5e7eb;
  --violet: #9ca3af;
  --cyan: #38bdf8;
  --border: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(255, 255, 255, 0.4);
}

/* Scroll Progress Neon Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 70;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan));
  box-shadow: 0 0 12px var(--pink);
  transition: width 0.08s linear;
}

/* BGM Music Button */
.bgm-btn {
  border-color: rgba(236, 72, 153, 0.35);
}

.bgm-btn.playing {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(139, 92, 246, 0.3));
  border-color: var(--pink);
  color: #ffffff;
}

.bgm-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.bgm-waves span {
  width: 2.5px;
  height: 4px;
  border-radius: 2px;
  background: var(--cyan);
}

.bgm-btn.playing .bgm-waves span {
  animation: eqBounce 0.55s infinite alternate ease-in-out;
}
.bgm-btn.playing .bgm-waves span:nth-child(2) { animation-delay: 0.18s; }
.bgm-btn.playing .bgm-waves span:nth-child(3) { animation-delay: 0.34s; }

/* Dynamic Midnight Greeting & Live Clock */
.greeting-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(17, 15, 38, 0.72);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: #e4e1fa;
  backdrop-filter: blur(10px);
}

.greeting-sep {
  opacity: 0.45;
}

.live-clock {
  font-family: "Outfit", monospace;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* Theme Switcher & Compact View Controls */
.ux-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.theme-dot-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.theme-dot-btn:hover {
  transform: scale(1.12);
}

.theme-dot-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.view-toggle-btn.active {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.16);
}

/* Compact Mode Rules */
body.compact-mode .bot-tagline,
body.compact-mode .interactive-box,
body.compact-mode .feature-item:nth-child(n + 3),
body.compact-mode .testimonials-grid,
body.compact-mode .present-subtitle {
  display: none;
}

body.compact-mode .bot-media-wrap {
  aspect-ratio: 16 / 9;
}

/* Spotlight Quick Search */
.spotlight-wrap {
  position: relative;
  margin-top: 14px;
  text-align: left;
}

.spotlight-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.75;
  pointer-events: none;
}

.spotlight-input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  backdrop-filter: blur(14px);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.spotlight-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.spotlight-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
}

.spotlight-results[hidden] {
  display: none;
}

.spotlight-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.spotlight-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.spotlight-cat {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--cyan);
}

.spotlight-empty {
  padding: 12px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive Roadmap Timeline */
.roadmap-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--violet), var(--cyan));
  opacity: 0.55;
}

.roadmap-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.roadmap-card::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.roadmap-card.status-live::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.roadmap-card.status-planned::before {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.roadmap-phase {
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9a8d4;
}

.roadmap-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.roadmap-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.roadmap-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Digital Contact Card PNG + Quick Share Row */
.share-kit-section {
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.save-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(236, 72, 153, 0.45);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(56, 189, 248, 0.2));
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.save-card-btn:hover {
  filter: brightness(1.08);
}

.quick-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-share-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.quick-share-btns {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.qs-btn {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.qs-tg { background: rgba(42, 171, 238, 0.3); }
.qs-wa { background: rgba(34, 197, 94, 0.28); }
.qs-x  { background: rgba(255, 255, 255, 0.14); }
.qs-btn:hover { filter: brightness(1.18); }

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.45);
  background: rgba(15, 13, 36, 0.9);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.back-to-top-btn[hidden] {
  display: none;
}

/* Telegram Mini App Native Viewport Adaptation */
body.in-telegram-app {
  min-height: var(--tg-viewport-stable-height, 100vh);
}

body.in-telegram-app .app-shell {
  padding-bottom: 116px;
}

/* ============================================================
   PURE CSS SPLASH INTRO (0.4s) & RUNNING TEXT TICKER
   ============================================================ */
.midnight-splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #070614;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: splashFadeOut 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.midnight-splash-logo {
  font-family: "Pirata One", "Syne", serif;
  font-size: 3.25rem;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, #ffffff 12%, #f9a8d4 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(236, 72, 153, 0.55));
}

.midnight-splash-sub {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: #7dd3fc;
  margin-top: 2px;
}

@keyframes splashFadeOut {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* Pure CSS Running Text Ticker (Single-Line Guaranteed) */
.midnight-marquee {
  display: block;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 15, 38, 0.72);
  padding: 8px 0;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.midnight-marquee-track {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  gap: 26px;
  animation: marqueeScroll 24s linear infinite;
  will-change: transform;
}

.midnight-marquee-track span {
  display: inline-block;
  flex-shrink: 0;
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f3e8ff;
  white-space: nowrap;
}

.midnight-marquee:hover .midnight-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   MIDNIGHT LIQUID GLASS OVERHAUL (LIGHTWEIGHT REFRACTIVE GLASS)
   ============================================================ */
:root {
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(236, 72, 153, 0.07) 100%);
  --glass-bg-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(56, 189, 248, 0.09) 100%);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-specular: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), var(--glass-specular);
  --glass-blur: blur(14px) saturate(165%);
}

/* Liquid Glass Cards & Containers */
.community-cover-card,
.bot-card,
.roadmap-card,
.stat-card,
.testimonial-card,
.faq-item,
.share-kit-section,
.coming-soon-card,
.rent-panel,
.modal-content {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Liquid Glass Pills, Controls & Inputs */
.status-pill,
.icon-btn,
.lang-toggle,
.greeting-clock-pill,
.sys-chip,
.theme-switcher,
.view-toggle-btn,
.spotlight-input,
.midnight-marquee,
.bot-tabs,
.mini-pill-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

/* Liquid Glass Floating Bottom Dock */
.bottom-nav {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(16, 14, 38, 0.62)) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
}

.bottom-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(236, 72, 153, 0.28)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Liquid Glossy Buttons */
.rent-toggle-btn,
.save-card-btn,
.dm-submit-btn,
.back-to-top-btn {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

/* Specular Top-Edge Liquid Highlight on Interactive Boxes */
.interactive-box,
.pkg-card,
.spotlight-results {
  background: var(--glass-bg-strong) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: var(--glass-specular), 0 10px 26px rgba(0, 0, 0, 0.35);
}

/* Present Banner Specular Rim */
.present-banner {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Enhance soft radial ambient color slightly so Liquid Glass refraction pops */
.bg-glow {
  opacity: 0.28 !important;
}

/* ============================================================
   PREMIUM TYPOGRAPHY SYSTEM: GERMANIA ONE + SYNE + SPACE GROTESK
   ============================================================ */
.section-header h2,
.present-title,
.bot-title,
.community-cover-title,
.coming-soon-title,
.roadmap-title,
.modal-title,
.stat-value,
.rent-toggle-btn,
.save-card-btn,
.dm-submit-btn {
  font-family: "Syne", "Space Grotesk", sans-serif !important;
  letter-spacing: -0.015em;
}

.brand-badge,
.present-eyebrow,
.features-label,
.sub-label,
.roadmap-phase {
  font-family: "Space Grotesk", sans-serif !important;
  letter-spacing: 0.14em;
}

.live-clock,
.ticker-sym,
.ticker-usd,
.analytics-val {
  font-family: "Space Grotesk", monospace !important;
  font-variant-numeric: tabular-nums;
}

.spotlight-input {
  padding-left: 40px !important;
}

/* ============================================================
   60 FPS MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================ */
.scroll-progress-bar,
.back-to-top-btn,
.midnight-marquee-track {
  transform: translateZ(0);
  will-change: transform;
}

.bottom-nav {
  left: 50% !important;
  transform: translateX(-50%) translateZ(0) !important;
  will-change: transform;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.bot-card,
.roadmap-card,
.faq-item,
.testimonial-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 280px;
}

/* On mobile GPUs, keep Liquid Glass specular look while dropping expensive per-card backdrop-filter blur during scroll for locked 60 FPS */
@media (max-width: 768px) {
  .community-cover-card,
  .bot-card,
  .roadmap-card,
  .stat-card,
  .testimonial-card,
  .faq-item,
  .share-kit-section,
  .coming-soon-card,
  .rent-panel,
  .status-pill,
  .icon-btn,
  .lang-toggle,
  .greeting-clock-pill,
  .sys-chip,
  .theme-switcher,
  .view-toggle-btn,
  .spotlight-input,
  .midnight-marquee,
  .bot-tabs,
  .mini-pill-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(145deg, rgba(28, 24, 58, 0.92) 0%, rgba(16, 14, 38, 0.94) 100%) !important;
  }

  .bottom-nav {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .bot-media-bg {
    filter: blur(10px) brightness(0.42);
  }
}

/* Verified Neon Checkmark Badges */
.hero-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-title-row .profile-name {
  margin-bottom: 0;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
}

.verified-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.verified-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #ec4899);
  color: #070614;
  font-size: 0.62rem;
  font-weight: 900;
  vertical-align: middle;
}

/* ============================================================
   MINIMALIST BOLD & HIGH-READABILITY UI TYPOGRAPHY (INTER)
   ============================================================ */
:root {
  --text: #ffffff;
  --text-muted: #c7c5e0;
}

body,
button,
input,
select {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Keep Pirata One exclusively for the hero brand & splash logo */
.profile-name,
.midnight-splash-logo {
  font-family: "Pirata One", serif !important;
}

/* Minimalist Bold Headings & Titles */
.section-header h2,
.present-title,
.bot-title,
.community-cover-title,
.coming-soon-title,
.roadmap-title,
.modal-title,
.stat-value,
.rent-toggle-btn,
.save-card-btn,
.dm-submit-btn,
.pkg-name,
.radio-track-title,
.ticker-sym,
.midnight-marquee-track span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.midnight-marquee-track span {
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

/* Crisp, Easy-to-Read Body & Feature Copy */
.profile-bio,
.bot-tagline,
.feature-item,
.faq-answer,
.roadmap-desc,
.testimonial-quote,
.rent-panel-text {
  font-size: 0.9rem !important;
  font-weight: 500;
  line-height: 1.62;
  color: #e4e2f5;
}

.feature-item strong {
  color: #ffffff;
  font-weight: 700;
}

.faq-question,
.community-cover-cta,
.bot-tab,
.bottom-nav-item,
.icon-btn,
.mini-pill-btn {
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.brand-badge,
.present-eyebrow,
.features-label,
.sub-label,
.roadmap-phase {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
}
