/* ==========================================================================
   meetly.click - Nowoczesny Portal Społecznościowo-Randkowy
   Modern Luxury Dating Aesthetic
   ========================================================================== */

:root {
  /* Kolorystyka Blink-Match (Warm Luxury Modern) */
  --bg-main: #F3F1EC;
  --bg-card: #FFFFFF;
  --bg-card-warm: #FAF8F5;
  --bg-card-subtle: #F7F5F0;
  --bg-header: rgba(243, 241, 236, 0.94);
  
  --border-color: #E2DFD7;
  --border-subtle: #EBE8E1;
  --border-highlight: #FFD2CF;
  --border-focus: #FF655B;

  /* Akcent przewodni: Blink Coral / Salmon Red */
  --accent-coral: #FF655B;
  --accent-coral-hover: #E5493F;
  --accent-coral-subtle: #FFF0EE;
  --accent-coral-glow: rgba(255, 101, 91, 0.28);

  /* Kompatybilność z elementami różowymi -> teraz w tonacji Blink Coral */
  --accent-pink: #FF655B;
  --accent-pink-hover: #E5493F;
  --accent-pink-subtle: #FFF0EE;
  --accent-pink-glow: rgba(255, 101, 91, 0.28);
  --text-pink: #D9382E;
  --border-pink: rgba(255, 101, 91, 0.35);

  /* Status Online / Radar: Fresh Mint Green */
  --accent-green: #00E599;
  --accent-green-subtle: #EDFDF7;
  --accent-green-border: #A3F3D5;
  --accent-mint: #00E599;

  --accent-purple: #8B5CF6;
  --accent-amber: #F59E0B;

  /* Głęboka, czytelna typografia o wysokim kontraście */
  --text-primary: #18191B;
  --text-secondary: #565C66;
  --text-muted: #8E95A0;
  --text-dark: #0E0F10;

  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(24, 25, 27, 0.04);
  --shadow-card: 0 8px 30px -4px rgba(24, 25, 27, 0.06), 0 2px 8px -2px rgba(24, 25, 27, 0.03);
  --shadow-hover: 0 16px 36px -4px rgba(24, 25, 27, 0.12), 0 0 22px rgba(255, 101, 91, 0.2);
  --shadow-modal: 0 25px 60px -10px rgba(24, 25, 27, 0.26);
  --shadow-floating: 0 16px 36px rgba(0, 0, 0, 0.14);

  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Google Material Symbols Outlined */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Reset & bazy */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  width: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

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

/* Subtelne tło ambientowe z falami geometrycznymi blink-match.com */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 101, 91, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(0, 229, 153, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse 1200px 700px at 50% 0%, rgba(255, 255, 255, 0.7) 0%, transparent 70%);
}

.ambient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: 
    radial-gradient(circle at 50% 120px, transparent 160px, rgba(226, 223, 215, 0.8) 161px, transparent 162px),
    radial-gradient(circle at 50% 120px, transparent 270px, rgba(226, 223, 215, 0.65) 271px, transparent 272px),
    radial-gradient(circle at 50% 120px, transparent 400px, rgba(226, 223, 215, 0.5) 401px, transparent 402px),
    radial-gradient(circle at 50% 120px, transparent 550px, rgba(226, 223, 215, 0.4) 551px, transparent 552px),
    radial-gradient(circle at 50% 120px, transparent 720px, rgba(226, 223, 215, 0.3) 721px, transparent 722px);
}

/* ==========================================================================
   NAGŁÓWEK GŁÓWNY (HEADER) W STYLU BLINK-MATCH
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hamburger {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-hamburger:hover {
  background: var(--bg-card-subtle);
  border-color: var(--border-focus);
}

/* Ikoniczne Logo BlinkMatch */
.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.logo-group:hover {
  transform: translateY(-1px);
}

.blink-brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.blink-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  position: relative;
}

.blink-star {
  color: var(--accent-coral);
  font-size: 13px;
  position: relative;
  top: -7px;
  left: 1px;
  display: inline-block;
  animation: starPulse 2.8s infinite ease-in-out;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.28) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 5px var(--accent-coral)); }
}

.match-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-top: -1px;
}

.brand-sub-badge {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 7px;
  background: var(--text-primary);
  color: #FFFFFF;
  border-radius: 6px;
  align-self: center;
  margin-left: 2px;
}

/* Zakładki menu górnego */
.nav-top-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-top-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.nav-top-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-subtle);
}

.nav-top-btn.active {
  color: var(--text-pink);
  background: var(--accent-pink-subtle);
  border-color: var(--border-highlight);
  box-shadow: 0 2px 8px rgba(255, 77, 168, 0.12);
}

/* Mobilny pasek zakładek pod nagłówkiem (sub-nav scroll chips) */
.mobile-nav-bar {
  display: none;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 14px 6px 14px;
  background: rgba(243, 241, 236, 0.98);
  border-top: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-nav-bar::-webkit-scrollbar {
  display: none;
}

.mobile-nav-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  touch-action: manipulation;
  user-select: none;
  box-shadow: 0 1px 3px rgba(24, 25, 27, 0.04);
}

.mobile-nav-chip .material-symbols-outlined {
  font-size: 16px;
  color: var(--accent-coral);
  transition: var(--transition);
}

.mobile-nav-chip:hover {
  border-color: var(--accent-coral);
  color: var(--text-primary);
  background: var(--bg-card-subtle);
}

.mobile-nav-chip.active {
  background: var(--accent-coral);
  color: #FFFFFF;
  border-color: var(--accent-coral);
  box-shadow: 0 3px 10px var(--accent-coral-glow);
}

.mobile-nav-chip.active .material-symbols-outlined {
  color: #FFFFFF;
}

/* Prawa strona nagłówka */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-badge-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-badge-btn:hover {
  color: var(--accent-pink);
  border-color: var(--border-highlight);
  background: var(--accent-pink-subtle);
}

.icon-counter-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  border: 2px solid #fff;
  min-width: 16px;
  text-align: center;
}

.online-counter-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green-subtle);
  border: 1px solid var(--accent-green-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

#onlineCount {
  display: inline-block;
  min-width: 58px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.btn-login {
  background: var(--accent-coral);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-coral-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(255, 101, 91, 0.4);
}

/* ==========================================================================
   GŁÓWNY UKŁAD PORTALU (PORTAL LAYOUT: SIDEBAR + MAIN CONTENT)
   ========================================================================== */

.portal-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 16px 60px 16px;
  display: flex;
  gap: 24px;
  width: 100%;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 76px;
  height: fit-content;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 25, 27, 0.15) transparent;
  padding-right: 2px;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(24, 25, 27, 0.15);
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 25, 27, 0.3);
}

.main-content-panel {
  flex: 1;
  min-width: 0;
}

/* Przycisk zamknięcia w menu mobilnym */
.sidebar-close-row {
  display: none;
  justify-content: flex-end;
  padding-bottom: 6px;
}

.btn-sidebar-close {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
}

/* ==========================================================================
   KARTA UŻYTKOWNIKA GOŚĆ (domino_mask - Jasna Wersja wzorowana na priv-strefa)
   ========================================================================== */

.guest-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 11px 12px 10px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.guest-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-coral);
}

.guest-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.guest-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}

.guest-avatar-wrap:hover {
  transform: scale(1.05);
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  box-shadow: 0 4px 14px rgba(255, 101, 91, 0.25);
}

.guest-avatar-wrap .material-symbols-outlined {
  font-size: 22px;
  line-height: 22px;
}

.guest-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.guest-status-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.guest-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-pink-subtle);
  border: 1px solid var(--border-highlight);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-pink);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
}

.guest-status-pill:hover {
  background: #FFE4F5;
  transform: translateY(-1px);
}

.guest-status-details {
  width: 100%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 5px 9px;
  margin-bottom: 8px;
  text-align: left;
}

.guest-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-secondary);
  padding: 1.5px 0;
  gap: 6px;
}

.guest-detail-row span:last-child {
  font-weight: 700;
  text-align: right;
}

.guest-detail-row .val-active {
  color: #059669;
}

.guest-detail-row .val-locked {
  color: var(--accent-amber);
}

.btn-guest-login {
  width: 100%;
  background: var(--accent-coral);
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px var(--accent-coral-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
}

.btn-guest-login:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 101, 91, 0.4);
}

/* ==========================================================================
   UNIKATOWE MENU BOCZNE BLINKMATCH (HUB & VIP CARDS)
   ========================================================================== */

.sidebar-menu {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

/* 1. Kafelki 2x2: Szybki Dostęp / Centrum Interakcji */
.menu-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.quick-tile {
  background: #FAF8F5;
  border: 1px solid #EBE7DF;
  border-radius: 12px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
}

.quick-tile:hover {
  background: #FFFFFF;
  border-color: var(--accent-coral);
  box-shadow: 0 4px 12px rgba(255, 101, 91, 0.15);
  transform: translateY(-1px);
}

.quick-tile.active {
  background: #FFF5F4;
  border-color: var(--accent-coral);
  box-shadow: 0 4px 12px rgba(255, 101, 91, 0.2);
}

.quick-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.quick-tile .tile-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.quick-tile:hover .tile-icon,
.quick-tile.active .tile-icon {
  color: var(--accent-coral);
}

.pulse-live-dot {
  width: 6px;
  height: 6px;
  background: #00E599;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(0, 229, 153, 0.5);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(0, 229, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); }
}

.quick-tile-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-tile-badge {
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
  width: fit-content;
  letter-spacing: 0.3px;
}

.badge-coral {
  background: var(--accent-coral);
  color: #fff;
}

.badge-pink {
  background: var(--accent-pink-subtle);
  color: var(--text-pink);
  border: 1px solid var(--border-highlight);
}

.badge-mint {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.badge-cyan {
  background: #F0FDF4;
  color: #10B981;
  border: 1px solid #BBF7D0;
}

/* 2. Nagłówek Sekcji VIP */
.menu-section-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 2px 1px 2px;
  border-top: 1px solid var(--border-color);
  margin-top: 1px;
}

.menu-section-divider span {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Lista VIP & Discovery */
.menu-vip-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  border: 1px solid transparent;
}

.vip-item:hover {
  background: #FAF8F5;
  color: var(--text-primary);
  border-color: #EAE6DE;
  transform: translateX(3px);
}

.vip-item.active {
  background: #FFF5F4;
  color: var(--text-pink);
  border-color: var(--border-highlight);
  font-weight: 700;
}

.vip-icon {
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.vip-item:hover .vip-icon,
.vip-item.active .vip-icon {
  color: var(--accent-coral);
}

/* 3. Dolny Pasek Narzędziowy */
.menu-bottom-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 1px;
}

.toolbar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 2px;
  border-radius: 7px;
  background: var(--bg-card-subtle);
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  user-select: none;
}

.toolbar-btn .material-symbols-outlined {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.toolbar-btn:hover {
  background: #FFFFFF;
  border-color: #E2DFD7;
  color: var(--text-primary);
  transform: translateY(-1px);
}

.toolbar-btn:hover .material-symbols-outlined,
.toolbar-btn.active .material-symbols-outlined {
  color: var(--accent-coral);
}

.toolbar-btn.active {
  background: #FFF5F4;
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  font-weight: 700;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-color);
  margin: 3px 5px;
}

/* ==========================================================================
   HERO SHOWCASE W STYLU BLINK-MATCH (FLOATING PROFILE & QUICK MATCH)
   ========================================================================== */

.blink-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.hero-static-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 330px;
  background: #18191B;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-static-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.hero-static-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-static-showcase:hover .hero-static-bg {
  transform: scale(1.03);
}

.hero-static-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 18, 0.94) 0%, rgba(12, 14, 18, 0.5) 45%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.hero-static-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-static-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-static-tag.vip-tag {
  background: rgba(255, 101, 91, 0.85);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 101, 91, 0.35);
}

.hero-static-tag.online-tag {
  background: rgba(18, 20, 24, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-static-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-static-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-static-name {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-static-loc {
  font-size: 12px;
  font-weight: 600;
  color: #FFB3AD;
}

.hero-static-bio {
  font-size: 12.5px;
  line-height: 1.4;
  color: #E2E8F0;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-static-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.online-dot-mint {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 6px var(--accent-mint);
}

.hero-form-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-form-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  color: #18191B;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.hero-form-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #565C66;
}

.hero-select-pill {
  height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid #18191B;
  background: #ECEAE4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #18191B;
  cursor: pointer;
  transition: var(--transition);
}

.hero-select-pill:hover {
  background: #E4E1DA;
}

.hero-chevron {
  font-size: 13px;
  color: #18191B;
  font-weight: 800;
}

.hero-member-note {
  font-size: 12.5px;
  color: #565C66;
  text-align: center;
  margin: 10px 0 12px 0;
}

.hero-link {
  color: #18191B;
  font-weight: 700;
  text-decoration: underline;
}

.btn-blink-next {
  width: 100%;
  height: 48px;
  background: var(--accent-coral);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-coral-glow);
  transition: var(--transition);
}

.btn-blink-next:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(255, 101, 91, 0.4);
}

/* ==========================================================================
   BANER SKANERA & RADARU (RADAR BANNER)
   ========================================================================== */

.scanner-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

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

.radar-widget {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.06);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.35);
  animation: radarPulse 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.radar-circle:nth-child(2) {
  animation-delay: 1.4s;
}

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  right: 0;
  transform-origin: bottom left;
  background: linear-gradient(45deg, transparent 40%, rgba(16, 185, 129, 0.45) 100%);
  border-radius: 100% 0 0 0;
  animation: radarRotate 3s linear infinite;
}

.radar-dot-center {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  z-index: 2;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.scanner-info h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scanner-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.city-badge {
  color: var(--text-pink);
  font-weight: 700;
}

.scanner-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   PASEK FILTRÓW (FILTER TABS)
   ========================================================================== */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  border-color: #CBD5E1;
}

.tab-btn.active {
  background: var(--accent-pink);
  color: #fff;
  border-color: var(--accent-pink);
  box-shadow: 0 4px 12px var(--accent-pink-glow);
}

/* ==========================================================================
   SIATKA KART PROFILI (PROFILES GRID)
   ========================================================================== */

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

.profile-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #E2E8F0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-card:hover .card-img {
  transform: scale(1.04);
}

.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

.card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-online-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--accent-green-border);
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.4px;
}

.distance-badge {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-content {
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

.card-age {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.card-verified-icon {
  color: #0284C7;
  font-size: 14px;
  margin-left: 2px;
}

.card-city {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.tag-chip {
  background: var(--accent-pink-subtle);
  border: 1px solid var(--border-highlight);
  color: var(--text-pink);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
}

.card-bio {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  line-height: 1.45;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-chat {
  flex: 1;
  background: var(--accent-coral);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 14px var(--accent-coral-glow);
}

.btn-card-chat:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 101, 91, 0.42);
}

.btn-card-view {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-view:hover {
  background: #E8E5DF;
  color: var(--text-primary);
  border-color: #D5D1C8;
}

/* ==========================================================================
   WIDOK CZATU (/chat/<slug> lub chat.html)
   ========================================================================== */

.chat-page-body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--bg-main);
}

.chat-viewport {
  max-width: 760px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-card);
}

.chat-header {
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-back-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-back-circle:hover {
  background: #EDF2F7;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.chat-header-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.chat-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-pink);
}

.chat-header-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid #fff;
  box-shadow: 0 0 6px var(--accent-green);
}

.chat-header-meta h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-meta p {
  font-size: 11.5px;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.btn-header-action {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-action:hover {
  color: var(--accent-pink);
  border-color: var(--border-highlight);
  background: var(--accent-pink-subtle);
}

.chat-tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: #FFFFFF;
}

.chat-tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.chat-tab-btn.active {
  color: var(--text-pink);
  border-bottom-color: var(--accent-pink);
  background: var(--accent-pink-subtle);
  font-weight: 700;
}

/* Pasek statusu gościa w oknie czatu */
.chat-guest-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--accent-pink-subtle);
  border-bottom: 1px solid var(--border-highlight);
  font-size: 11.5px;
}

.btn-chat-guest-unlock {
  background: var(--accent-coral);
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px var(--accent-coral-glow);
}

.btn-chat-guest-unlock:hover {
  background: var(--accent-coral-hover);
  transform: scale(1.04);
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background: #FAFAFC;
}

.chat-date-separator {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin: 8px 0;
  position: relative;
}

.chat-date-separator::before,
.chat-date-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-color);
}

.chat-date-separator::before { left: 5%; }
.chat-date-separator::after { right: 5%; }

.msg-row {
  display: flex;
  gap: 10px;
  max-width: 84%;
  animation: fadeInMsg 0.25s ease-out;
}

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

.msg-row.bot {
  align-self: flex-start;
}

.msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.msg-bubble {
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
}

.msg-row.bot .msg-bubble {
  background: #FFFFFF;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.msg-row.user .msg-bubble {
  background: linear-gradient(135deg, var(--accent-coral), #FF4D42);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px var(--accent-coral-glow);
}

.msg-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
}

.msg-row.user .msg-time {
  color: var(--text-muted);
}

.msg-status-check {
  display: inline-block;
  margin-left: 2px;
  font-size: 11px;
  letter-spacing: -1px;
  color: var(--text-muted);
}

.msg-status-check.seen {
  color: #0284C7;
  font-weight: 700;
}

.header-typing-status {
  color: var(--accent-coral, #FF655B);
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: fadeIn 0.25s ease;
}

.header-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-coral, #FF655B);
  animation: pulseDot 0.8s infinite alternate ease-in-out;
}

@keyframes pulseDot {
  from { opacity: 0.35; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1.2); }
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: #FFFFFF;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
  animation: typingPulse 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Notatka głosowa */
.voice-note-card {
  background: #FFFFFF;
  border: 1px solid var(--border-highlight);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.voice-note-card:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.voice-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px var(--accent-pink-glow);
}

.voice-waveform-area {
  flex: 1;
}

.voice-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  margin-bottom: 4px;
}

.voice-bar {
  width: 3px;
  border-radius: 2px;
  background: #CBD5E1;
}

.voice-note-card:hover .voice-bar {
  background: var(--accent-pink);
}

.voice-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.voice-locked-pill {
  color: var(--text-pink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Zablokowane zdjęcia */
.locked-media-card {
  position: relative;
  width: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  cursor: pointer;
  background: #E2E8F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.locked-media-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: blur(14px) brightness(0.9);
  transform: scale(1.1);
  transition: var(--transition);
}

.locked-media-card:hover .locked-media-img {
  filter: blur(10px) brightness(0.95);
}

.locked-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  background: rgba(15, 23, 42, 0.35);
}

.locked-media-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px var(--accent-pink-glow);
}

.locked-media-text {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.locked-media-sub {
  font-size: 10.5px;
  color: #F8FAFC;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Dolny pasek wpisywania wiadomości */
.chat-input-bar {
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.chat-input-field {
  width: 100%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 22px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.chat-input-field:focus {
  border-color: var(--accent-pink);
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 77, 168, 0.2);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-coral);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px var(--accent-coral-glow);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--accent-coral-hover);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(255, 101, 91, 0.45);
}

/* ==========================================================================
   MODALE (PAYWALL, GUEST STATUS, CITY SELECTOR)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.22s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.paywall-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  max-width: 390px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  padding: 28px 24px 24px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: #EDF2F7;
}

.paywall-avatar-halo {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px auto;
}

.paywall-halo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FF655B, #FF8E53, #00E599, #FF655B);
  opacity: 0.45;
  filter: blur(5px);
  animation: haloRotate 5s linear infinite;
}

@keyframes haloRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.paywall-avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  display: block;
}

.paywall-badge-online {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #00E599;
  color: #0f172a;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 229, 153, 0.5);
  white-space: nowrap;
}

.paywall-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 1.25;
}

.paywall-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 0 4px;
}

.paywall-btn, .btn-paywall-cta {
  width: 100%;
  background: linear-gradient(135deg, #FF655B 0%, #FF4D6D 100%);
  color: #fff;
  border: none;
  padding: 15px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(255, 101, 91, 0.45);
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.paywall-btn:hover, .btn-paywall-cta:hover {
  background: linear-gradient(135deg, #FF5045 0%, #E63956 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 101, 91, 0.6);
}

.paywall-sub-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  text-align: center;
}

.paywall-login-switch {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.paywall-login-switch a {
  color: #FF4D6D;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.paywall-login-switch a:hover {
  color: #E63956;
}

.paywall-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
}

.paywall-badge-dot {
  opacity: 0.4;
  font-size: 8px;
}

.paywall-terms-note {
  font-size: 10px;
  color: #94A3B8;
  line-height: 1.35;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   KROK WYBORU WIEKU (TYLKO US / STANY ZJEDNOCZONE)
   ========================================================================== */
.paywall-age-header {
  margin-top: 6px;
  margin-bottom: 14px;
}

.paywall-age-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.paywall-age-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.paywall-age-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-age-choice {
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: linear-gradient(135deg, #FF655B 0%, #FF4D6D 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 101, 91, 0.35);
  width: 100%;
}

.btn-age-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 101, 91, 0.5);
}

.btn-age-choice-mature {
  background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-age-choice-mature:hover {
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}

.btn-age-icon {
  font-size: 16px;
}

.btn-age-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.btn-age-back:hover {
  color: var(--text-primary);
}

.paywall-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.paywall-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  background: var(--bg-card-subtle, #FAF8F5);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11.5px;
  color: var(--text-secondary);
  width: 100%;
}

.paywall-feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.35;
}

.paywall-feature-icon {
  color: #059669;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   ANIMOWANY EKRAN PRZEJŚCIA SSL
   ========================================================================== */

.redirect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.redirect-overlay.active {
  display: flex;
}

.redirect-box {
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.redirect-spinner {
  width: 56px;
  height: 56px;
  border: 3.5px solid #F1F5F9;
  border-top-color: var(--accent-pink);
  border-radius: 50%;
  margin: 0 auto 20px auto;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.redirect-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.redirect-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.redirect-progress-bar {
  width: 100%;
  height: 6px;
  background: #F1F5F9;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.redirect-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-pink), #D946EF);
  border-radius: 3px;
  animation: progressFill 2s ease-in-out forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  45% { width: 50%; }
  85% { width: 88%; }
  100% { width: 100%; }
}

.redirect-security-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}

/* ==========================================================================
   POWIADOMIENIA NA ŻYWO (SOCIAL PROOF TOASTS)
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  background: #FFFFFF;
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: slideInToast 0.4s ease-out;
  pointer-events: auto;
  max-width: 320px;
}

@keyframes slideInToast {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-pink);
}

.toast-text p {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.toast-text span {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Nakładka szara dla draweru mobilnego */
.sidebar-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
}

.sidebar-drawer-overlay.active {
  display: block;
}

/* ==========================================================================
   PERFEKCYJNA RESPONSYWNOŚĆ MOBILE (MOBILE-FIRST EXCELLENCE)
   ========================================================================== */

@media (max-width: 1024px) {
  .btn-hamburger {
    display: flex;
  }
  .nav-top-tabs {
    display: none;
  }
  .mobile-nav-bar {
    display: flex;
  }
  .header {
    padding: 8px 12px 0 12px;
  }
  .portal-layout {
    padding: 12px 10px 60px 10px;
    gap: 0;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-105%);
    width: min(310px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 1200;
    padding: 16px 14px 40px 14px;
    overflow-y: auto;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
    border-right: 1px solid var(--border-color);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.25);
  }
  .sidebar-drawer-overlay {
    z-index: 1100;
  }
  .sidebar-close-row {
    display: flex;
  }
}

@media (max-width: 860px) {
  .blink-hero-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .hero-static-showcase {
    height: 250px;
    padding: 14px;
  }
  .hero-static-name {
    font-size: 18px;
  }
  .hero-static-bio {
    font-size: 11.5px;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 6px 10px 0 10px;
  }
  .header-container {
    gap: 6px;
  }
  .header-left {
    gap: 6px;
  }
  .btn-hamburger {
    width: 36px;
    height: 36px;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .blink-title {
    font-size: 19px;
  }
  .blink-star {
    font-size: 11px;
    top: -5px;
  }
  .brand-sub-badge {
    font-size: 9.5px;
    padding: 2px 5px;
  }
  .header-right {
    gap: 5px;
  }
  .icon-badge-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .online-counter-badge {
    padding: 4px 7px;
    font-size: 11px;
    gap: 4px;
    border-radius: 14px;
  }
  .btn-login {
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 14px;
  }

  .mobile-nav-bar {
    padding: 6px 8px 6px 8px;
    gap: 6px;
  }
  .mobile-nav-chip {
    padding: 5px 11px;
    font-size: 11.5px;
  }
  .mobile-nav-chip .material-symbols-outlined {
    font-size: 15px;
  }

  .scanner-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 16px;
    gap: 14px;
  }
  .scanner-info h2 {
    font-size: 16px;
  }
  .scanner-info p {
    font-size: 12px;
  }
  .scanner-right {
    width: 100%;
    justify-content: flex-end;
  }

  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .card-content {
    padding: 10px;
  }
  .card-name {
    font-size: 14px;
  }
  .card-age {
    font-size: 13px;
  }
  .card-city {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .card-bio, .card-tags {
    display: none;
  }
  .btn-card-chat {
    padding: 8px 10px;
    font-size: 12px;
  }
  .btn-card-view {
    display: none;
  }

  .toast-container {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .toast-item {
    max-width: 100%;
  }
}

@media (max-width: 440px) {
  .hide-on-mobile-xs {
    display: none !important;
  }
  .online-lbl {
    display: none !important;
  }
  .login-btn-arrow {
    display: none !important;
  }
  .login-btn-text {
    font-size: 11.5px;
  }
  .btn-login {
    padding: 5px 9px;
  }
  .blink-title {
    font-size: 17.5px;
  }
  .brand-sub-badge {
    display: none;
  }
  .btn-hamburger {
    width: 33px;
    height: 33px;
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }
  .card-bio {
    display: -webkit-box;
  }
  .btn-card-view {
    display: block;
  }
}

/* Podgląd wpisanej wiadomości w oknie rejestracji */
.paywall-preview-card {
  background: var(--bg-card-subtle, #FAF8F5);
  border: 1px dashed var(--accent-coral, #FF655B);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  text-align: left;
  animation: fadeInMsg 0.25s ease;
  width: 100%;
}

.paywall-preview-header {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-coral, #FF655B);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.paywall-preview-body {
  font-size: 12.5px;
  color: var(--text-primary, #18191B);
  font-style: italic;
  word-break: break-word;
  line-height: 1.35;
  max-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 12px;
  }
  .paywall-card {
    padding: 24px 18px 20px 18px;
    border-radius: 18px;
    max-width: 350px;
  }
  .paywall-avatar-halo {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px auto;
  }
  .btn-paywall-cta, .paywall-btn {
    padding: 13px 16px;
    font-size: 13px;
    line-height: 1.35;
  }
}

.msg-row.user.pending .msg-bubble {
  opacity: 0.94;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  animation: pulseBubble 1.8s infinite ease-in-out;
}

@keyframes pulseBubble {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 0.75; }
}

.msg-row.user.pending .msg-time {
  color: var(--accent-coral, #FF655B);
  font-weight: 600;
}

