/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #1a0818;
  --bg-secondary: #220e20;
  --bg-card: #2a1228;
  --accent: #FF2D6B;
  --accent-dark: #d4004f;
  --accent-glow: rgba(255, 45, 107, 0.35);
  --accent-soft: rgba(255, 45, 107, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --border: rgba(255, 255, 255, 0.06);
  --border-pink: rgba(255, 45, 107, 0.28);
  --online: #00d26a;
  --card-radius: 14px;
}

/* Firefox counterpart to the global 2px WebKit scrollbar below. */
html,
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.onsite-message-notification {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2000;
  min-width: 260px;
  max-width: min(360px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(255,45,107,.34);
  border-radius: 15px;
  background: rgba(25,13,23,.96);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(0,0,0,.48), 0 0 22px rgba(255,45,107,.12);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .22s ease, transform .22s ease;
}
.onsite-message-notification.visible { opacity: 1; transform: translateY(0); }
.onsite-message-notification-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}
.onsite-message-notification-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.onsite-message-notification strong,
.onsite-message-notification small { display: block; }
.onsite-message-notification strong { font: 700 13px 'Montserrat', sans-serif; }
.onsite-message-notification small { margin-top: 3px; color: rgba(255,255,255,.66); font-size: 11px; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== BACKGROUND ===== */
body {
  background: #05000a;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 8%,   rgba(180, 8, 55, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 78% 18%,  rgba(220, 15, 75, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 8%  55%,  rgba(150, 4, 45, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 82% 62%,  rgba(190, 10, 65, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 80% 45% at 45% 92%,  rgba(130, 0, 40, 0.28) 0%, transparent 65%);
}

body::after {
  content: '';
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 35% at 50% 50%, rgba(180, 15, 60, 0.08) 0%, transparent 70%);
}

/* ===== BOKEH HEARTS ===== */
.bokeh-hearts {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* CSS heart shape via rotated square + two circles */
.bh {
  position: absolute;
  background: #FF2D6B;
  transform: rotate(-45deg);
}
.bh::before,
.bh::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.bh::before { top: -50%; left: 0;   width: 100%; height: 100%; }
.bh::after  { top: 0;    left: 50%; width: 100%; height: 100%; }

/* Individual hearts - matching screenshot 1 density but in logo pink */
.bh1  { width: 140px; height: 140px; left:  5%; top:  3%;  opacity: 0.60; filter: blur(24px); }
.bh2  { width:  55px; height:  55px; left: 58%; top:  2%;  opacity: 0.45; filter: blur(11px); }
.bh3  { width:  85px; height:  85px; left: 78%; top:  8%;  opacity: 0.38; filter: blur(18px); }
.bh4  { width:  45px; height:  45px; left: 38%; top: 22%;  opacity: 0.42; filter: blur(10px); }
.bh5  { width:  70px; height:  70px; left: 60%; top: 35%;  opacity: 0.35; filter: blur(15px); }
.bh6  { width:  40px; height:  40px; left:  8%; top: 42%;  opacity: 0.38; filter: blur(9px);  }
.bh7  { width: 180px; height: 180px; left: 52%; top: 48%;  opacity: 0.28; filter: blur(34px); }
.bh8  { width:  50px; height:  50px; left: 28%; top: 60%;  opacity: 0.40; filter: blur(12px); }
.bh9  { width:  38px; height:  38px; left:  2%; top: 72%;  opacity: 0.35; filter: blur(9px);  }
.bh10 { width: 210px; height: 210px; left:  8%; top: 68%;  opacity: 0.35; filter: blur(40px); }
.bh11 { width:  48px; height:  48px; left: 70%; top: 70%;  opacity: 0.42; filter: blur(11px); }
.bh12 { width:  32px; height:  32px; left: 45%; top: 82%;  opacity: 0.38; filter: blur(8px);  }
.bh13 { width:  65px; height:  65px; left: 85%; top: 82%;  opacity: 0.30; filter: blur(14px); }
.bh14 { width:  28px; height:  28px; left: 62%; top: 90%;  opacity: 0.35; filter: blur(7px);  }

/* All content must be above the canvas */
.header,
.main-content,
.footer { position: relative; z-index: 1; }

::selection { background: rgba(255,45,107,.32); color: #fff; }
::-moz-selection { background: rgba(255,45,107,.32); color: #fff; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }
img {
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ===== SCROLLBAR ===== */
*::-webkit-scrollbar { width: 2px; height: 2px; }
*::-webkit-scrollbar-button { width: 0; height: 0; display: none; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== LOGO TEXT ===== */
.logo-text {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #FF2D6B 0%, #ff8ab0 40%, #FF2D6B 70%, #ff6b9d 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s linear infinite;
  flex-shrink: 0;
  user-select: none;
}

@keyframes logoShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 62px;
  background: rgba(5, 0, 10, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, padding-left 0.3s cubic-bezier(0.4,0,0.2,1);
}
.header.scrolled {
  background: rgba(5, 0, 10, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.06);
}

.header-inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-topup-header {
  background: transparent;
  border: 1px solid rgba(255,45,107,0.5);
  color: var(--accent);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-topup-header:hover { background: var(--accent-soft); border-color: var(--accent); }

/* ===== LEFT SIDEBAR ===== */
.app-sidebar {
  position: fixed;
  left: 0;
  top: 62px;
  bottom: 0;
  width: 220px;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.app-sidebar.collapsed { width: 64px; }

.sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.sidebar-toggle:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

/* Show/hide toggle icons */
.toggle-icon-closed { display: none; }
.app-sidebar.collapsed .toggle-icon-open  { display: none; }
.app-sidebar.collapsed .toggle-icon-closed { display: block; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.sidebar-bottom {
  padding: 8px 8px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
  flex-shrink: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  position: relative;
}
.sidebar-item:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.sidebar-item.active { color: var(--accent); background: var(--accent-soft); }

.sidebar-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-label {
  opacity: 1;
  transition: opacity 0.15s;
  overflow: hidden;
}
.app-sidebar.collapsed .sidebar-label { opacity: 0; width: 0; }

.sidebar-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  flex-shrink: 0;
}
.app-sidebar.collapsed .sidebar-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  margin-left: 0;
  min-width: 8px;
  height: 8px;
  padding: 0;
  font-size: 0;
}

/* Пополнить баланс - виділений */
.sidebar-item--topup {
  background: linear-gradient(135deg, rgba(255,45,107,0.18), rgba(255,45,107,0.08));
  border: 1px solid rgba(255,45,107,0.35);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-item--topup:hover {
  background: rgba(255,45,107,0.28);
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== LAYOUT OFFSET ===== */
body[data-sidebar="open"] .main-content,
body[data-sidebar="open"] .footer { padding-left: 220px; }

body[data-sidebar="collapsed"] .main-content,
body[data-sidebar="collapsed"] .footer { padding-left: 64px; }

.header { transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease; }
.main-content, .footer { transition: padding-left 0.3s cubic-bezier(0.4,0,0.2,1); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.btn-sm  { padding: 11px 20px;  font-size: 13px; border-radius: 8px; }
.btn-md  { padding: 13px 22px; font-size: 14px; border-radius: 8px; }
.btn-full { width: 100%; padding: 16px; font-size: 14px; border-radius: 10px; justify-content: center; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  font-weight: 600;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 16px var(--accent-glow);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-glow);
}

/* Card write button - pill style like in reference */
.btn-write-card {
  width: 100%;
  padding: 17px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: 0.2px;
}
.btn-write-card:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* ===== HEARTS ICON ===== */
.hearts-icon-sm {
  width: 23px;
  height: 23px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(255,45,107,0.5));
}

/* ===== COINS BADGE ===== */
.coins-badge {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  background: rgba(255,45,107,0.12);
  border: 1.5px solid rgba(255,45,107,0.35);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 10px rgba(255,45,107,0.15);
}
.coins-badge:hover { border-color: rgba(255,45,107,0.6); background: rgba(255,45,107,0.2); box-shadow: 0 0 16px rgba(255,45,107,0.25); }

/* ===== MAIN CONTENT ===== */
.main-content { padding-top: 62px; }

/* ===== SHARED ===== */
.accent-text { color: var(--accent); }

/* ===== SHARED HEADING ===== */
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 44px;
}

/* ===== SHARED BUTTON PILLS ===== */
.btn-pill-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 19px 36px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 18px var(--accent-glow);
  white-space: nowrap;
}
.btn-pill-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 24px var(--accent-glow); }

.btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 19px 36px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-pill-ghost:hover { border-color: rgba(255,255,255,0.45); }

/* ===========================
   SECTION 1 - PROMO BANNERS
=========================== */
.s-promos {
  padding: 28px 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.promos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 780px) { .promos-grid { grid-template-columns: 1fr; width: 100%; } }

/* Both cards share base */
.promos-grid .promo-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 262px;
  position: relative;
  background: none;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
}

/* ---- Left banner (Registration reward) ---- */
.promos-grid .promo-left {
  background-image: url('/img/promo1.png?v=2');
  background-size: cover;
  background-position: center 55%;
  border: 1px solid rgba(255,45,107,0.45);
  box-shadow: 0 0 0 1px rgba(255,45,107,0.15), 0 8px 28px rgba(255,45,107,0.18);
}

/* Light gradient on the left edge so text stays readable, photo stays bright */
.promo-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,0,12,0.80) 0%, rgba(20,0,12,0.55) 45%, rgba(20,0,12,0.18) 75%, rgba(20,0,12,0) 100%);
  pointer-events: none;
}

.promo-left-content {
  position: relative;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
  max-width: 56%;
  min-width: 0;
  z-index: 1;
}

.promo-left-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.promo-left-title span {
  background: linear-gradient(90deg, var(--accent), #ff8fae);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.promo-left-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 6px;
  max-width: 320px;
}
.promo-left-sub strong { color: #fff; }

.promo-left-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--accent), #ff5b8a);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(255,45,107,0.45);
  transition: all 0.2s;
}
.promo-left-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,45,107,0.6); }

/* Right decorative area of left card - girl holding a gift */
.pl-gift-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0px;
  font-family: 'Montserrat', sans-serif;
  font-size: 17.6px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  z-index: 2;
}
.pl-gift-badge .pl-gift-icon { width: 33px; height: 33px; object-fit: contain; filter: brightness(0) invert(1); }

/* ---- Right banner (Telegram reward) ---- */
.promos-grid .promo-right {
  background-image: url('/img/promo2.png?v=2');
  background-size: cover;
  background-position: center 55%;
  border: 1px solid rgba(34,158,217,0.45);
  box-shadow: 0 0 0 1px rgba(34,158,217,0.15), 0 8px 28px rgba(34,158,217,0.18);
}

/* Light gradient on the left edge so text stays readable, photo stays bright */
.promo-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,12,24,0.80) 0%, rgba(4,12,24,0.45) 38%, rgba(4,12,24,0) 70%);
  pointer-events: none;
}

.promo-right-content {
  position: relative;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
  max-width: 56%;
  min-width: 0;
  z-index: 1;
}

.promo-right-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.promo-right-title span {
  background: linear-gradient(90deg, #4cc4ff, #229ED9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promo-mobile-break { display: none; }

.promo-right-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 6px;
  max-width: 320px;
}

.promo-right-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 12px 28px;
  background: linear-gradient(90deg, #229ED9, #4cc4ff);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(34,158,217,0.45);
  transition: all 0.2s;
}
.promo-right-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34,158,217,0.6); }

/* Right decorative area - girl with the Telegram phone */
.pr-gift-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0px;
  font-family: 'Montserrat', sans-serif;
  font-size: 17.6px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  z-index: 2;
}
.pr-gift-badge .pr-gift-icon { width: 33px; height: 33px; object-fit: contain; filter: brightness(0) invert(1); }

/* ===========================
   SECTION 2 - GIRLS GRID
=========================== */
.s-girls {
  padding: 24px 40px 48px;
  max-width: 1600px;
  margin: 0 auto;
}

.girls-header {
  margin-bottom: 20px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
  margin-bottom: 20px;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.1px;
  position: relative;
  overflow: hidden;
}
.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,45,107,0.08), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.tab-btn:hover { color: var(--text-primary); border-color: rgba(255,45,107,0.4); transform: translateY(-1px); }
.tab-btn:hover::before { opacity: 1; }
.tab-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  font-weight: 600; box-shadow: 0 4px 18px var(--accent-glow); transform: translateY(-1px);
}
.tab-btn.active::before { display: none; }
.tab-icon { font-size: 14px; line-height: 1; flex-shrink: 0; }

.girls-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.girls-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.online-counter {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--online);
  font-weight: 500;
}

/* Show more */
.show-more-wrap { text-align: center; padding: 24px 0 8px; }
.btn-show-more {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 19px 40px;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 0 18px var(--accent-glow);
}
.btn-show-more:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 24px var(--accent-glow); }
.show-more-arrow { font-size: 18px; transition: transform 0.3s; display: inline-block; }
.show-more-arrow.open { transform: rotate(180deg); }

/* ===========================
   SECTION 3 - HERO
=========================== */
.s-hero {
  padding: 72px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-img-wrap {
  position: relative;
}

.hero-img {
  width: 80%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

/* ===========================
   SECTION 4 - ABOUT
=========================== */
.s-about {
  padding: 72px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-wrap .section-heading { text-align: center; }

.about-card {
  display: flex;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}

.about-card-border {
  width: 3px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
}

.about-card-body {
  padding: 44px 48px;
}

.about-card-body p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}

/* ===========================
   SECTION 5 - HOW TO START
=========================== */
.s-howto {
  padding: 72px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.howto-wrap .section-heading { text-align: center; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; } }

.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 32px 44px;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.step-card--mid {
  background: rgba(255,45,107,0.10);
  border-color: rgba(255,45,107,0.30);
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.step-num-bg {
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 96px;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-card--mid .step-num-bg { color: rgba(255,45,107,0.08); }

.howto-cta { text-align: center; margin-top: 40px; }

/* ===========================
   SECTION 6 - FEATURES
=========================== */
.s-features {
  padding: 72px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* subtle side glows */
.s-features::before {
  content: '';
  position: absolute;
  left: -80px; top: 20%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,107,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.s-features::after {
  content: '';
  position: absolute;
  right: -80px; bottom: 20%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,0,100,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.features-wrap .section-heading { text-align: center; }

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row--rev .feat-img-wrap { order: -1; }
@media (max-width: 760px) {
  /* Prevent iOS form-focus zoom; photo lightboxes keep native pinch zoom. */
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  textarea,
  select { font-size: 16px !important; }
  .modal-overlay { align-items: flex-start; padding-top: max(18px, env(safe-area-inset-top)); }
  .modal-overlay.active { overflow-y: auto; }
  #authModal { z-index: 1200; }
  #authModal .modal { margin-block: auto; }
  .feat-row, .feat-row--rev { grid-template-columns: 1fr; gap: 24px; }
  .feat-row--rev .feat-img-wrap { order: 0; }
}

@media (min-width: 761px) {
  .mobile-menu-trigger,
  .mobile-menu-backdrop,
  .mobile-bottom-nav { display: none !important; }
}

.feat-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.feat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.78;
  margin-bottom: 24px;
}

.feat-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.feat-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* ===========================
   SECTION 7 - REVIEWS
=========================== */
.s-reviews {
  padding: 72px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover { border-color: rgba(255,45,107,0.28); transform: translateY(-2px); }
.review-card--ft { background: rgba(255,45,107,0.05); border-color: rgba(255,45,107,0.22); }

.review-stars { color: #fbbf24; font-size: 15px; letter-spacing: 1px; }

.review-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  flex: 1;
}

.review-author { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }

.review-ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,45,107,0.15);
  border: 1px solid rgba(255,45,107,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}

.review-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #fff; }
.review-date { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }

/* ===========================
   SECTION 8 - FINAL CTA
=========================== */
.s-cta {
  padding: 48px 40px 88px;
}

.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(255,45,107,0.28) 0%, transparent 60%),
    linear-gradient(160deg, #1a0010 0%, #2d0018 50%, #220012 100%);
  border: 1px solid rgba(255,45,107,0.30);
  border-radius: 24px;
  padding: 44px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}
.cta-glow-1 {
  width: 280px;
  height: 280px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(255,45,107,0.4) 0%, transparent 70%);
}
.cta-glow-2 {
  width: 240px;
  height: 240px;
  bottom: -110px;
  right: -60px;
  background: radial-gradient(circle, rgba(255,139,176,0.3) 0%, transparent 70%);
}

/* Decorative bokeh hearts - same heart-shape technique as the global .bh background */
.cta-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cbh {
  position: absolute;
  background: #FF2D6B;
  transform: rotate(-45deg);
}
.cbh::before,
.cbh::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cbh::before { top: -50%; left: 0;   width: 100%; height: 100%; }
.cbh::after  { top: 0;    left: 50%; width: 100%; height: 100%; }

.cbh1 { width: 70px;  height: 70px;  left: 6%;  top: 12%; opacity: 0.30; filter: blur(10px); }
.cbh2 { width: 36px;  height: 36px;  left: 88%; top: 18%; opacity: 0.35; filter: blur(7px);  }
.cbh3 { width: 100px; height: 100px; left: 80%; top: 60%; opacity: 0.22; filter: blur(16px); }
.cbh4 { width: 30px;  height: 30px;  left: 14%; top: 70%; opacity: 0.32; filter: blur(6px);  }
.cbh5 { width: 50px;  height: 50px;  left: 46%; top: -6%; opacity: 0.20; filter: blur(9px);  }

.cta-title {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}
.cta-title span {
  background: linear-gradient(90deg, var(--accent), #ff8fae);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-desc {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 520px;
}

.cta-btns { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Button 1: accent gradient */
.cta-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #ff5b8a);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,45,107,0.45);
  transition: all 0.2s;
}
.cta-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,45,107,0.6);
}

/* Button 2: ghost with accent border */
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cta-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }

/* ===== GIRLS GRID ===== */
.girls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) { .girls-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .girls-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .girls-grid { grid-template-columns: 1fr; } }

/* ===== GIRL CARD ===== */
.girl-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 45, 107, 0.14);
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.girl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 107, 0.52);
  box-shadow: 0 8px 28px rgba(255, 45, 107, 0.14), 0 2px 8px rgba(0,0,0,0.5);
}

/* Photo area */
.girl-card-photo-wrap {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
}

.girl-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.girl-card-photo-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
  pointer-events: none;
}

/* Info overlay inside photo */
.girl-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 12px 14px;
  z-index: 2;
}

/* Status badge top-left */
.girl-card-status {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 5px rgba(0, 210, 106, 0.6);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}
.offline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.busy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb84d;
  box-shadow: 0 0 5px rgba(255, 184, 77, 0.6);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* Like button top-right */
.girl-card-like {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
  cursor: pointer;
  z-index: 2;
  color: #fff;
}
.girl-card-like:hover { transform: scale(1.12); border-color: rgba(255,255,255,0.5); }
.girl-card-like.liked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  color: #fff;
}
.girl-card-like.liked .heart-icon { fill: none; stroke: #fff; }

.girl-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

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

.girl-card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}

.gcs-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
}

/* Category winner badge wrapper */
.girl-card-outer {
  position: relative;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
}
.girl-card-outer .girl-card {
  flex: 1;
}

/* Category winner badge - floats above the card, centered */
.girl-card-category-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  letter-spacing: 0.2px;
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(255,45,107,0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* Badge follows card hover animation */
.girl-card-outer:hover .girl-card-category-badge {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 6px 20px rgba(255,45,107,0.65);
}
/* All badge variants - same accent color, emoji forced white via filter */
.cbadge-top-day,
.cbadge-active,
.cbadge-new {
  background: var(--accent);
  color: #fff;
}
.girl-card-category-badge .badge-emoji {
  filter: brightness(0) invert(1);
  font-style: normal;
}

/* Card tags */
.girl-card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}
.ctag-hot    { background: rgba(255,80,0,0.22);  color: #ff7a3d; border: 1px solid rgba(255,80,0,0.3); }
.ctag-active { background: rgba(255,200,0,0.15); color: #ffc800; border: 1px solid rgba(255,200,0,0.25); }
.ctag-new    { background: rgba(100,200,255,0.12); color: #7dd9ff; border: 1px solid rgba(100,200,255,0.2); }
.ctag-soft   { background: rgba(255,45,107,0.15); color: #ff6b9d; border: 1px solid rgba(255,45,107,0.25); }
.ctag-top    { background: rgba(160,120,255,0.15); color: #c09fff; border: 1px solid rgba(160,120,255,0.25); }
.ctag-talk   { background: rgba(0,200,150,0.12);  color: #00d48a; border: 1px solid rgba(0,200,150,0.2); }

.girl-card-bio {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
  min-height: 34px;
}

/* ===== SKELETON ===== */
.skeleton-card {
  border-radius: var(--card-radius);
  height: 470px;
  background: linear-gradient(90deg, var(--bg-card) 25%, #222 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border: 1px solid var(--border-pink);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== ONLINE STRIP ===== */
.online-strip-section {
  margin: 4px 40px 24px;
  max-width: calc(1600px - 80px);
  margin-left: auto;
  margin-right: auto;
  background: var(--bg-secondary);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px 20px;
}

.online-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.online-strip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.online-strip-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
  cursor: pointer;
}
.strip-link:hover { color: var(--text-primary); }

.strip-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.strip-arrow:hover { border-color: var(--accent); color: var(--accent); }

.online-strip-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.online-strip-scroll::-webkit-scrollbar { display: none; }

.strip-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.strip-avatar-item:hover { transform: translateY(-2px); }

.strip-avatar-wrap {
  position: relative;
}

.strip-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.strip-avatar-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--online);
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 0 5px rgba(0, 210, 106, 0.5);
}

.strip-avatar-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 40px 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Hide bokeh hearts inside footer */
.footer ~ .bokeh-hearts { display: none; }

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #FF2D6B 0%, #ff8ab0 40%, #FF2D6B 70%, #ff6b9d 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s linear infinite;
  margin-bottom: 10px;
}

.footer-logo .logo-icon { width: 28px; height: 28px; font-size: 12px; }
.logo-icon.img-icon { object-fit: contain; display: block; }
.modal-logo .brand-logo-icon,
.footer-logo .brand-logo-icon { width: 32px; height: 36px; object-fit: contain; display: block; }

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-socials { display: flex; gap: 8px; }

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover { background: var(--accent-soft); border-color: var(--accent); }

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }

/* Payment logos */
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pay-chip {
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pay-chip.visa       { color: #fff; background: #1A1F71; border-color: #1A1F71; font-style: italic; }
.pay-chip.mc         { color: #fff; background: #252525; border-color: #555; }
.pay-chip.mc span    { display: flex; gap: -4px; }
.pay-chip.mc .mc-r   { color: #EB001B; font-size: 16px; line-height: 1; }
.pay-chip.mc .mc-o   { color: #F79E1B; font-size: 16px; line-height: 1; margin-left: -6px; }
.pay-chip.apple      { color: #fff; background: #111; border-color: #444; }
.pay-chip.gpay       { color: #fff; background: #333; border-color: #555; }

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
}

/* ===== LEGAL FRONTEND ===== */
.legal-consent { display:flex; align-items:flex-start; gap:10px; margin:14px 0 4px; }
.legal-consent input { width:17px; height:17px; margin:2px 0 0; flex:0 0 auto; accent-color:var(--accent); cursor:pointer; }
.legal-consent label { color:var(--text-secondary); font-size:12px; line-height:1.5; cursor:pointer; }
.legal-consent a,.purchase-offer-notice a,.legal-age-links a,.legal-cookie-notice a { color:var(--accent); text-decoration:none; }
.legal-consent a:hover,.purchase-offer-notice a:hover,.legal-age-links a:hover,.legal-cookie-notice a:hover { text-decoration:underline; }
.purchase-offer-notice { margin:16px 2px 0; color:var(--text-secondary); font-size:12px; line-height:1.55; text-align:center; }
.legal-content-locked body > :not(.legal-age-gate) { pointer-events:none; user-select:none; }
.legal-age-gate { position:fixed; inset:0; z-index:100000; display:grid; place-items:center; padding:20px; background:rgba(8,3,9,.9); backdrop-filter:blur(12px); }
.legal-age-card { width:min(100%,460px); padding:34px; text-align:center; border:1px solid rgba(255,45,107,.28); border-radius:24px; background:linear-gradient(145deg,rgba(53,17,34,.98),rgba(24,12,27,.99)); box-shadow:0 28px 80px rgba(0,0,0,.55),0 0 40px rgba(255,45,107,.08); }
.legal-age-mark { width:62px; height:62px; display:grid; place-items:center; margin:0 auto 18px; border-radius:50%; color:#fff; font-weight:800; font-size:20px; background:var(--accent); box-shadow:0 10px 28px rgba(255,45,107,.28); }
.legal-age-card h2 { margin:0 0 12px; color:var(--text-primary); font-size:27px; line-height:1.2; }
.legal-age-card p { margin:0 auto 24px; max-width:380px; color:var(--text-secondary); font-size:15px; line-height:1.6; }
.legal-age-actions { display:grid; gap:10px; }
.legal-age-actions .btn { width:100%; min-height:48px; justify-content:center; }
.legal-age-links { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 18px; margin-top:20px; font-size:12px; }
.legal-age-denied p { margin-bottom:8px; }
.legal-cookie-notice { position:fixed; z-index:99990; left:20px; right:20px; bottom:18px; width:min(680px,calc(100% - 40px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px solid rgba(255,45,107,.25); border-radius:16px; background:rgba(30,15,28,.97); box-shadow:0 14px 40px rgba(0,0,0,.45); backdrop-filter:blur(10px); }
.legal-cookie-notice p { margin:0; color:var(--text-primary); font-size:13px; line-height:1.45; }
.legal-cookie-notice > div { display:flex; align-items:center; gap:14px; flex:0 0 auto; }
.legal-cookie-actions .btn { min-width:148px; justify-content:center; }
.legal-cookie-notice a { font-size:12px; white-space:nowrap; }
.legal-page { min-height:100vh; padding:108px 20px 64px; }
.legal-wrap { width:min(920px,100%); margin:0 auto; }
.legal-hero { padding:32px; margin-bottom:18px; border:1px solid rgba(255,45,107,.2); border-radius:24px; background:linear-gradient(145deg,rgba(64,18,38,.72),rgba(28,15,31,.88)); }
.legal-kicker { color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.legal-hero h1 { margin:8px 0 10px; color:var(--text-primary); font-size:clamp(28px,5vw,44px); line-height:1.12; }
.legal-hero p,.legal-updated { color:var(--text-secondary); line-height:1.6; }
.legal-updated { margin-top:12px; font-size:12px; }
.legal-section { scroll-margin-top:90px; padding:26px 28px; margin-top:14px; border:1px solid var(--border); border-radius:20px; background:rgba(29,18,30,.82); }
.legal-section h2 { margin:0 0 14px; color:var(--text-primary); font-size:20px; }
.legal-section h3 { margin:20px 0 8px; color:var(--text-primary); font-size:16px; }
.legal-section p,.legal-section li { color:var(--text-secondary); font-size:14px; line-height:1.7; }
.legal-section p { margin:9px 0; }
.legal-section ul { margin:8px 0 0; padding-left:20px; }
.legal-section a { color:var(--accent); }
.legal-table-wrap { overflow-x:auto; }
.legal-table { width:100%; border-collapse:collapse; min-width:680px; }
.legal-table th,.legal-table td { padding:12px; border-bottom:1px solid var(--border); color:var(--text-secondary); text-align:left; vertical-align:top; font-size:13px; line-height:1.5; }
.legal-table th { color:var(--text-primary); }
.legal-doc-nav { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.legal-doc-nav a { padding:9px 13px; border:1px solid var(--border); border-radius:999px; color:var(--text-secondary); text-decoration:none; font-size:12px; }
.legal-doc-nav a:hover { color:var(--text-primary); border-color:rgba(255,45,107,.35); }
@media (max-width:640px) {
  .legal-age-card { padding:28px 20px; border-radius:20px; }
  .legal-age-card h2 { font-size:23px; }
  .legal-cookie-notice { align-items:flex-start; flex-direction:column; left:12px; right:12px; bottom:12px; width:calc(100% - 24px); }
  .legal-cookie-notice > div { width:100%; justify-content:space-between; }
  .legal-cookie-actions { flex-wrap:wrap; }
  .legal-cookie-actions .btn { flex:1 1 145px; min-width:0; }
  .legal-page { padding:86px 12px 42px; }
  .legal-hero,.legal-section { padding:22px 18px; border-radius:18px; }
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: linear-gradient(145deg,#211b20,#191719 72%);
  border: 1px solid rgba(255,45,107,.16);
  border-radius: 24px;
  padding: 30px 32px 28px;
  width: 100%;
  max-width: 460px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.modal-close:hover { background: var(--accent-soft); color: var(--accent); }

.modal-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #FF2D6B 0%, #ff8ab0 40%, #FF2D6B 70%, #ff6b9d 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s linear infinite;
  margin-bottom: 18px;
}
.modal-logo .logo-icon { width: 26px; height: 26px; font-size: 12px; }
.modal-logo .logo-icon.img-icon { content: url('/img/datechat-logo.png'); width: 32px; height: 36px; }

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.modal--sm { max-width: 360px; }
.modal--sm .modal-title { margin-bottom: 12px; }
.modal--sm .modal-subtitle { margin-bottom: 24px; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Keep the original modal, font and button sizing; only center its composition. */
.close-chat-confirm .modal-title {
  text-align: center;
  margin-bottom: 16px;
}
.close-chat-confirm .modal-subtitle {
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 28px;
}
.close-chat-confirm .modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-anon-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.5;
}

.bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,45,107,0.3);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}

/* ===== FORM ===== */
.form-group { margin-bottom: 12px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,45,107,0.1);
}
.form-input::placeholder { color: #3a3a3a; }

.form-error {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 8px;
  display: none;
}
.form-error.visible { display: block; }

.form-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.form-switch a { color: var(--accent); cursor: pointer; font-weight: 500; }
.form-switch a:hover { text-decoration: underline; }

/* ===== COINS MODAL ===== */
.coin-packages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

.coin-pkg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.coin-pkg:hover { border-color: var(--accent); background: var(--accent-soft); }
.coin-pkg--popular { border-color: var(--accent); background: var(--accent-soft); }
.coin-pkg-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.coin-pkg-name { font-weight: 600; font-size: 15px; font-family: 'Montserrat', sans-serif; display: flex; align-items: center; gap: 4px; }
.coin-pkg-price { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.coin-pkg-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

/* ===== CUSTOM AMOUNT ===== */
.coin-custom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.coin-custom-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.coin-custom-row {
  display: flex;
  gap: 8px;
}
.coin-custom-input {
  flex: 1;
}
.coin-custom-btn {
  background: var(--accent);
  color: #fff;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.coin-custom-btn:hover { background: var(--accent-dark); }

/* Hide number input spin arrows */
.coin-custom-input::-webkit-outer-spin-button,
.coin-custom-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.coin-custom-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.coin-custom-quote { margin-top: 9px; color: var(--text-primary); font-size: 13px; font-weight: 600; }
.coin-custom-quote.is-muted { color: var(--text-secondary); font-weight: 400; }
.coin-custom-tip { margin-top: 6px; color: var(--text-secondary); font-size: 11px; line-height: 1.45; }
.coin-finance-error { grid-column: 1 / -1; padding: 14px; color: #ff8bac; text-align: center; }

/* ===== POLISHED LEGAL, FINANCE AND COMPACT FOOTER UI ===== */
.legal-cookie-notice {
  width:min(960px,calc(100% - 40px));
  min-height:104px;
  padding:20px 22px;
  gap:24px;
  border-color:rgba(255,45,107,.22);
  border-radius:20px;
  background:
    radial-gradient(circle at 0 0,rgba(255,45,107,.12),transparent 42%),
    linear-gradient(135deg,rgba(37,17,31,.98),rgba(24,13,27,.98));
  box-shadow:0 22px 60px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.035);
}
.legal-cookie-notice p {
  flex:1 1 390px;
  max-width:440px;
  padding-left:44px;
  position:relative;
  font-size:13px;
  line-height:1.55;
  color:#d9ced6;
}
.legal-cookie-notice p::before {
  content:'✓';
  position:absolute;
  left:0; top:1px;
  width:30px; height:30px;
  display:grid; place-items:center;
  border-radius:10px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg,var(--accent),#c91754);
  box-shadow:0 8px 22px rgba(255,45,107,.24);
}
.legal-cookie-notice .legal-cookie-actions { gap:10px; justify-content:flex-end; }
.legal-cookie-notice .legal-cookie-actions .btn { min-width:164px; min-height:44px; }
.legal-cookie-notice .legal-cookie-actions a { margin-left:4px; padding:10px 6px; }

#coinsModal .modal {
  max-width:490px;
  padding:24px 28px 22px;
  border-color:rgba(255,45,107,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at 100% 0,rgba(255,45,107,.10),transparent 35%),
    linear-gradient(145deg,#211b20,#191719 72%);
  box-shadow:0 30px 90px rgba(0,0,0,.68),inset 0 1px rgba(255,255,255,.04);
}
#coinsModal .modal-logo { margin-bottom:12px; }
#coinsModal .modal-title { font-size:25px; line-height:1.15; margin-bottom:5px; }
#coinsModal .modal-subtitle { margin-bottom:15px; }
#coinsModal .coin-packages { gap:9px; margin-top:0; }
#coinsModal .coin-pkg {
  min-height:126px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.08);
  box-shadow:inset 0 1px rgba(255,255,255,.025);
  cursor:default;
}
#coinsModal .coin-pkg:hover { transform:translateY(-2px); box-shadow:0 14px 28px rgba(0,0,0,.22); }
#coinsModal .coin-pkg--popular { background:linear-gradient(145deg,rgba(255,45,107,.15),rgba(255,45,107,.06)); }
#coinsModal .coin-pkg-label { padding:3px 9px; margin-bottom:5px; font-size:9px; }
#coinsModal .coin-pkg-name { font-size:17px; }
#coinsModal .coin-pkg-price { font-size:12px; }
#coinsModal .coin-pkg-btn { min-height:34px; font-size:11px; }
#coinsModal .coin-custom { margin-top:14px; padding-top:14px; }
#coinsModal .coin-custom-label { color:#c7bbc3; font-weight:600; }
#coinsModal .coin-custom-row { gap:10px; }
#coinsModal .coin-custom-input { min-height:40px; }
#coinsModal .coin-custom-btn { min-width:104px; min-height:40px; border-radius:999px; }
#coinsModal .purchase-offer-notice { max-width:430px; margin:16px auto 0; }

@media (min-width:701px) {
  #coinsModal .modal {
    max-width: 540px;
    padding: 26px 30px 24px;
    border: 1px solid rgba(255,45,107,.18);
    border-radius: 22px;
    background:
      radial-gradient(circle at 82% 4%, rgba(255,45,107,.10), transparent 30%),
      linear-gradient(155deg, #21171f 0%, #171317 64%, #121012 100%);
  }
  #coinsModal .modal-logo { margin-bottom: 10px; color: rgba(255,255,255,.92); }
  #coinsModal .modal-title { font-size: 26px; letter-spacing: -.5px; }
  #coinsModal .modal-subtitle { margin-bottom: 18px; }
  #coinsModal .coin-packages { gap: 10px; }
  #coinsModal .coin-pkg {
    position: relative;
    min-height: 98px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 15px 14px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    border: 1px solid rgba(255,255,255,.085);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
  }
  #coinsModal .coin-pkg--popular {
    background: linear-gradient(135deg, var(--accent), #e91f60);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255,45,107,.22);
  }
  #coinsModal .coin-pkg > div { min-width: 0; }
  #coinsModal .coin-pkg-label {
    padding: 0;
    margin: 0 0 5px;
    border-radius: 0;
    background: transparent;
    color: #ff6b9d;
    font-size: 9px;
    letter-spacing: .09em;
  }
  #coinsModal .coin-pkg-name { font-size: 18px; line-height: 1.15; }
  #coinsModal .coin-pkg-name .hearts-icon-sm { width: 22px; height: 22px; }
  #coinsModal .coin-pkg-price { margin-top: 5px; color: rgba(255,255,255,.48); }
  #coinsModal .coin-pkg-btn {
    width: auto;
    min-width: 78px;
    min-height: 34px;
    padding: 8px 14px;
    border: 1px solid rgba(255,45,107,.44);
    background: rgba(255,45,107,.10);
    color: #ff7aa5;
    box-shadow: none;
  }
  #coinsModal .coin-pkg-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  #coinsModal .coin-pkg--popular .coin-pkg-label,
  #coinsModal .coin-pkg--popular .coin-pkg-price { color: rgba(255,255,255,.78); }
  #coinsModal .coin-pkg--popular .coin-pkg-name { color: #fff; }
  #coinsModal .coin-pkg--popular .coin-pkg-btn {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.16);
    color: #fff;
  }
  #coinsModal .coin-pkg--popular .coin-pkg-btn:hover { background: #fff; color: var(--accent); }
  #coinsModal .coin-custom {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
  }
  #coinsModal .coin-custom-label { margin-bottom: 10px; font-size: 12px; }
  #coinsModal .coin-custom-row { gap: 9px; }
  #coinsModal .coin-custom-input { min-height: 40px; background: rgba(0,0,0,.18); }
  #coinsModal .coin-custom-btn { min-height: 40px; min-width: 96px; box-shadow: 0 8px 22px rgba(255,45,107,.22); }
  #coinsModal .coin-custom-quote { margin-top: 9px; }
  #coinsModal .coin-custom-tip { margin-top: 5px; }
  #coinsModal .purchase-offer-notice { margin-top: 14px; font-size: 10.5px; }
}

/* Unified package cards on desktop and mobile. */
#coinsModal .coin-pkg {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.085);
}
#coinsModal .coin-pkg > div { min-width: 0; }
#coinsModal .coin-pkg-label {
  padding: 0;
  margin: 0 0 6px;
  border-radius: 0;
  background: transparent;
  color: #ff6b9d;
  font-size: 10px;
  letter-spacing: .09em;
}
#coinsModal .coin-pkg-name { font-size: 20px; line-height: 1.15; font-weight: 700; }
#coinsModal .coin-pkg-name .hearts-icon-sm { width: 23px; height: 23px; }
#coinsModal .coin-pkg-price { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.54); }
#coinsModal .coin-pkg-btn {
  width: auto;
  min-width: 82px;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid rgba(255,45,107,.44);
  background: rgba(255,45,107,.10);
  color: #ff7aa5;
  font-size: 12px;
  box-shadow: none;
}
#coinsModal .coin-pkg--popular {
  background: linear-gradient(135deg, var(--accent), #e91f60);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,45,107,.22);
}
#coinsModal .coin-pkg--popular,
#coinsModal .coin-pkg--popular * { color: #fff !important; }
#coinsModal .coin-pkg--popular .coin-pkg-btn {
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.16);
}
#coinsModal .coin-pkg--popular .coin-pkg-btn:hover { background: #fff; color: var(--accent) !important; }

.footer {
  padding:28px 36px 26px;
  background:rgba(8,3,8,.72);
  border-top:1px solid rgba(255,255,255,.055);
}
.footer .footer-inner { display:none; }
.footer-bottom { padding-top:0; border-top:0; min-height:50px; gap:22px; }
.footer-copy { color:#827880; line-height:1.6; }
.footer-copy a { color:#91868e; text-decoration:none; transition:color .2s ease; }
.footer-copy a:hover { color:var(--accent); }

@media (max-width:700px) {
  .legal-cookie-notice { padding:18px; gap:16px; }
  .legal-cookie-notice p { flex:none; max-width:none; padding-left:42px; }
  .legal-cookie-notice .legal-cookie-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .legal-cookie-notice .legal-cookie-actions a { grid-column:1/-1; text-align:center; }
  #coinsModal .modal { max-width:470px; padding:26px 20px 22px; }
  #coinsModal .coin-packages { grid-template-columns:1fr 1fr; }
  #coinsModal .coin-pkg { min-height: 112px; padding: 12px 11px; gap: 8px; }
  #coinsModal .coin-pkg-name { font-size: 18px; }
  #coinsModal .coin-pkg-price { font-size: 12px; }
  #coinsModal .coin-pkg-btn { min-width: 70px; padding-inline: 11px; }
  #coinsModal {
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  }
  #coinsModal .modal {
    flex: 0 0 auto;
    margin: auto 0;
    max-height: calc(100dvh - max(32px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 22px)));
    padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
    scroll-padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  }
  .footer { padding:24px 18px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; gap:8px; }
}
@media (max-width:430px) {
  #coinsModal .coin-packages { grid-template-columns:1fr; }
  #coinsModal .coin-pkg { min-height:132px; }
  #coinsModal .coin-custom-row { flex-direction:column; }
  #coinsModal .coin-custom-btn { width:100%; }
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  max-width: 300px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.toast.success { border-left: 3px solid var(--online); }
.toast.error   { border-left: 3px solid #ff6b6b; }
.toast.info    { border-left: 3px solid var(--accent); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ==========================
   CHAT PAGE
   ========================== */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 62px;
  flex-shrink: 0;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.chat-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.chat-back:hover { color: var(--text-primary); }

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

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

.chat-header-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.chat-header-status {
  font-size: 11px;
  color: var(--online);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

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

.chat-body { display: flex; flex: 1; overflow: hidden; }

/* Sidebar */
.chat-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-photo-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  flex-shrink: 0;
}

.sidebar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.sidebar-photo-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.sidebar-info {
  padding: 12px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.sidebar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.sidebar-divider { height: 1px; background: var(--border); margin: 4px 0; }

.sidebar-bio {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.sidebar-category-pill {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid rgba(255,45,107,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  align-self: flex-start;
}

/* Chat main */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-placeholder {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 40px 0;
}

.message { display: flex; gap: 8px; max-width: 65%; }
.message.user { align-self: flex-end; flex-direction: row-reverse; }

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

.msg-bubble {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  word-break: break-word;
}

.message.girl .msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px 18px 18px 18px;
  color: var(--text-primary);
}

.message.user .msg-bubble {
  background: var(--accent);
  border-radius: 18px 4px 18px 18px;
  color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.msg-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  opacity: 0.6;
}
.message.user .msg-time { text-align: right; }

/* Typing */
.typing-indicator { display: none; align-items: center; gap: 8px; padding: 0 24px 8px; }
.typing-indicator.visible { display: flex; }
.typing-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px 18px 18px 18px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.typing-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-secondary);
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-5px); opacity: 1; }
}

/* Auth banner */
.chat-auth-banner {
  display: none;
  background: linear-gradient(to top, var(--bg-primary) 60%, transparent);
  padding: 28px 24px 16px;
  text-align: center;
  flex-shrink: 0;
}
.chat-auth-banner.visible { display: block; }
.auth-banner-lock { font-size: 26px; margin-bottom: 8px; }
.auth-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.auth-banner-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }

/* Chat input */
.chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 10px 18px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  resize: none;
  max-height: 120px;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,45,107,0.08);
}
.chat-input::placeholder { color: #3a3a3a; }

.chat-send-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  box-shadow: 0 0 14px var(--accent-glow);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.chat-send-btn:hover { transform: scale(1.08); box-shadow: 0 0 22px var(--accent-glow); }
.chat-send-btn:disabled { opacity: 0.4; transform: none; cursor: not-allowed; }



/* ===== GIRL DETAIL MODAL ===== */
.gd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gd-overlay.active { display: flex; }

.gd-modal {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 920px;
  height: 620px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gd-photos {
  position: relative;
  background: #000;
  height: 100%;
  overflow: hidden;
}
.gd-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.gd-nav:hover { background: rgba(0,0,0,0.65); }
.gd-nav-prev { left: 14px; }
.gd-nav-next { right: 14px; }

.gd-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.2s;
  cursor: pointer;
}
.gd-dot.active { background: #fff; width: 22px; border-radius: 4px; }

.gd-info {
  position: relative;
  padding: 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.gd-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 8;
  font-size: 14px;
  transition: all 0.2s;
}
.gd-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gd-close:hover { background: var(--accent-soft); color: var(--accent); }

.gd-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  padding-right: 30px;
}

.gd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 14px;
}
.gd-meta-item { display: flex; align-items: center; gap: 5px; }

.gd-bio {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.gd-stats {
  display: flex;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.gd-stat { display: flex; align-items: center; gap: 6px; }

.gd-tags-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.gd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.gd-tag {
  background: var(--accent-soft);
  border: 1px solid var(--border-pink);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

.gd-start { margin-bottom: 18px; }
.gd-start h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.gd-start p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gd-write-btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.gd-write-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); }

/* =========================================================
   DATECHAT BUTTON SYSTEM
   One interaction language across public pages. Sizes remain
   contextual; colors and motion are shared by semantic role.
========================================================= */
:root {
  --button-primary-start: #ff3975;
  --button-primary-end: #ef1f60;
  --button-primary-hover-start: #ff4b82;
  --button-primary-hover-end: #f62968;
  --button-primary-shadow: 0 7px 20px rgba(255,45,107,.26);
  --button-primary-shadow-hover: 0 10px 28px rgba(255,45,107,.38);
  --button-transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease, filter .2s ease;
}

.btn-accent,
.btn-pill-accent,
.btn-write-card,
.btn-show-more,
.cta-btn-main,
.gd-write-btn,
.cl-balance-btn,
.cl-empty-btn,
.cd-close-chat-btn,
.bonus-claim-btn,
.pcode-btn:not(.pcode-btn--tg),
.coin-custom-btn,
.promo-left-btn {
  background: linear-gradient(135deg, var(--button-primary-start), var(--button-primary-end));
  color: #fff;
  border-color: transparent;
  border-radius: 999px;
  box-shadow: var(--button-primary-shadow);
  transition: var(--button-transition);
}

.btn-accent:hover,
.btn-pill-accent:hover,
.btn-write-card:hover,
.btn-show-more:hover,
.cta-btn-main:hover,
.gd-write-btn:hover,
.cl-balance-btn:hover,
.cl-empty-btn:hover,
.cd-close-chat-btn:hover,
.bonus-claim-btn:hover,
.pcode-btn:not(.pcode-btn--tg):hover,
.coin-custom-btn:hover,
.promo-left-btn:hover {
  background: linear-gradient(135deg, var(--button-primary-hover-start), var(--button-primary-hover-end));
  transform: translateY(-1px);
  box-shadow: var(--button-primary-shadow-hover);
  filter: none;
  opacity: 1;
}

.btn-ghost,
.btn-pill-ghost,
.cta-btn-secondary {
  background: rgba(255,255,255,.065);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  box-shadow: none;
  transition: var(--button-transition);
}
.btn-ghost:hover,
.btn-pill-ghost:hover,
.cta-btn-secondary:hover {
  background: rgba(255,255,255,.11);
  color: #fff;
  border-color: rgba(255,255,255,.38);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.tg-hero-btn.btn-ghost { box-shadow: none; }

.promo-right-btn,
.pcode-btn--tg {
  border-radius: 999px;
  transition: var(--button-transition);
}
.promo-right-btn:hover,
.pcode-btn--tg:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

button,
[role="button"],
.btn,
.btn-pill-accent,
.btn-pill-ghost,
.btn-write-card,
.promo-left-btn,
.promo-right-btn,
.pcode-btn,
.coin-custom-btn,
.social-btn,
.modal-close,
.cd-send-btn,
.chat-send-btn {
  transition: var(--button-transition);
}

button:active:not(:disabled),
[role="button"]:active,
.btn:active:not(:disabled),
.btn-pill-accent:active,
.btn-pill-ghost:active,
.btn-write-card:active,
.promo-left-btn:active,
.promo-right-btn:active,
.pcode-btn:active,
.coin-custom-btn:active {
  transform: translateY(0) scale(.98);
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
}

button:focus-visible,
[role="button"]:focus-visible,
a.btn:focus-visible,
.btn-pill-accent:focus-visible,
.btn-pill-ghost:focus-visible,
.btn-write-card:focus-visible,
.promo-left-btn:focus-visible,
.promo-right-btn:focus-visible,
.pcode-btn:focus-visible,
.coin-custom-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 3px;
}

button:disabled,
.btn:disabled,
[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: saturate(.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
  html { overflow-x: hidden; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.chat-app),
  body:has(.legal-page) { padding-bottom: 0; }

  .header { height: 62px; }
  .header-inner { gap: 10px; }
  .logo-text { font-size: clamp(22px, 7vw, 28px); }
  .header-right { gap: 5px; margin-left: auto; }
  .header-right .btn { min-height: 38px; padding: 9px 11px; font-size: 11px; }

  .mobile-menu-trigger {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    color: #fff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    z-index: 1002;
  }
  .mobile-menu-trigger span { width: 17px; height: 2px; border-radius: 9px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu-open .mobile-menu-trigger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-open .mobile-menu-trigger span:nth-child(2) { opacity: 0; }
  .mobile-menu-open .mobile-menu-trigger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 62px 0 0;
    z-index: 990;
    display: block;
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: rgba(3,0,6,.68);
    backdrop-filter: blur(4px);
    transition: opacity .22s ease, visibility .22s ease;
  }
  .mobile-menu-open .mobile-menu-backdrop { visibility: visible; opacity: 1; }

  .app-sidebar,
  .app-sidebar.collapsed {
    top: 62px;
    bottom: 0;
    width: min(82vw, 310px);
    height: auto;
    padding: 14px 12px calc(22px + env(safe-area-inset-bottom));
    transform: translateX(-105%);
    transition: transform .24s cubic-bezier(.2,.8,.2,1);
    z-index: 1000;
    border-right: 1px solid rgba(255,45,107,.2);
    background: linear-gradient(180deg, rgba(27,15,25,.99), rgba(12,8,14,.99));
    box-shadow: 18px 0 45px rgba(0,0,0,.45);
  }
  .mobile-menu-open .app-sidebar { transform: translateX(0); }
  .app-sidebar .sidebar-toggle { display: none; }
  .app-sidebar .sidebar-nav { flex: 0 0 auto; align-items: stretch; overflow: visible; }
  .app-sidebar .sidebar-item { width: 100%; justify-content: flex-start; padding: 12px 14px; gap: 14px; border-radius: 13px; }
  .app-sidebar .sidebar-label { opacity: 1; width: auto; font-size: 14px; }
  .app-sidebar .sidebar-badge { position: static; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px; }
  .app-sidebar .sidebar-bottom { margin-top: 10px; padding-top: 10px; align-items: stretch; }

  body[data-sidebar="open"] .main-content,
  body[data-sidebar="collapsed"] .main-content,
  body[data-sidebar="mobile"] .main-content,
  body[data-sidebar="open"] .footer,
  body[data-sidebar="collapsed"] .footer,
  body[data-sidebar="mobile"] .footer { padding-left: 0; }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 900;
    height: 62px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 5px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(20,11,20,.94);
    backdrop-filter: blur(22px);
    box-shadow: 0 12px 36px rgba(0,0,0,.48), 0 0 24px rgba(255,45,107,.08);
  }
  .mobile-bottom-item { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(255,255,255,.52); text-decoration: none; border-radius: 15px; font-family: 'Inter',sans-serif; font-size: 9px; font-weight: 600; }
  .mobile-bottom-icon { position: relative; display: inline-flex; }
  .mobile-bottom-item svg { width: 21px; height: 21px; }
  .mobile-chat-badge {
    position: absolute;
    top: -7px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(20,11,20,.96);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
  }
  .mobile-bottom-item.active { color: #fff; background: linear-gradient(145deg, rgba(255,45,107,.95), rgba(207,28,83,.92)); box-shadow: 0 7px 18px rgba(255,45,107,.25); }

  .gd-nav { display: none; }
  .onsite-message-notification {
    top: max(10px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    min-width: 0;
  }

  .s-promos { padding: 20px 12px 14px; }
  .promos-grid .promo-card {
    min-height: 0;
    aspect-ratio: 2.25 / 1;
    border-radius: 10px;
  }
  .promo-left-content,
  .promo-right-content {
    max-width: 57%;
    padding: 8px 14px;
    gap: 7px;
  }
  .promo-left-title,
  .promo-right-title { font-size: clamp(14px, 4.2vw, 16.5px); line-height: 1.2; }
  .promo-left-sub,
  .promo-right-sub { max-width: 185px; margin-bottom: 2px; font-size: clamp(7.5px, 2.2vw, 9px); line-height: 1.4; }
  .promo-left-btn,
  .promo-right-btn { padding: 7px 15px; font-size: clamp(7.5px, 2.2vw, 9px); box-shadow: 0 3px 12px rgba(255,45,107,.28); }
  .promo-right-btn { box-shadow: 0 3px 12px rgba(34,158,217,.28); }
  .promo-mobile-break { display: initial; }
  .promos-grid .promo-left,
  .promos-grid .promo-right { background-position: center 55%; }
  .pl-gift-badge,
  .pr-gift-badge { top: 6px; right: 6px; font-size: 9px; }
  .pl-gift-badge .pl-gift-icon,
  .pr-gift-badge .pr-gift-icon { width: 17px; height: 17px; }

  .s-about,
  .s-howto,
  .s-features { padding-left: 16px; padding-right: 16px; }
  .about-card-body { padding: 28px 22px; min-width: 0; }
  .about-card-body p { font-size: 15px; }

  .header-nav { display: none; }
  .chat-sidebar { display: none; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { padding: 12px 24px; flex: 1; min-width: 130px; }
  .girls-section, .filter-section { padding-left: 16px; padding-right: 16px; }
  .header-inner { padding: 0 16px; }

  .gd-overlay { padding: 10px 10px calc(82px + env(safe-area-inset-bottom)); align-items: flex-start; }
  .gd-modal { grid-template-columns: 1fr; height: auto; max-height: calc(100dvh - 88px - env(safe-area-inset-bottom)); margin-top: 0; overflow-y: auto; overscroll-behavior: contain; }
  .gd-photos { height: min(52dvh, 390px); flex: 0 0 auto; touch-action: pan-y; }
  .gd-info { padding: 24px 22px 30px; overflow: visible; }
  .gd-write-btn { flex-shrink: 0; margin-top: 22px; }
}

@media (max-width: 360px) {
  .header-inner { padding-left: 9px; padding-right: 9px; gap: 6px; }
  .logo-text { font-size: 22px; }
  .header-right .btn { padding: 8px 9px; font-size: 10px; }
}

@media (max-width: 480px) {
  .girls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .girl-card-outer { padding-top: 10px; min-width: 0; }
  .girl-card { border-radius: 15px; }
  .girl-card-photo-wrap { height: clamp(235px, 70vw, 290px); }
  .girl-card-info { padding: 9px 9px 10px; }
  .girl-card-name { font-size: 14px; }
  .girl-card-status { top: 8px; left: 8px; max-width: calc(100% - 52px); padding: 4px 7px; font-size: 9px; }
  .girl-card-like { top: 8px; right: 8px; width: 32px; height: 32px; }
  .girl-card-stats { gap: 7px; margin-bottom: 0; }
  .gcs-item { font-size: 10px; }
  .girl-card-tag, .girl-card-category-badge { display: none; }
  .girl-card-bio {
    display: -webkit-box;
    min-height: 27px;
    margin: 0 0 7px;
    font-size: 9px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }
  .girl-card-photo-gradient { height: 66%; }
  .s-girls { padding-left: 12px; padding-right: 12px; }
  .btn-write-card { min-height: 40px; padding: 9px 7px; gap: 4px; font-size: 10px; line-height: 1.15; letter-spacing: 0; }
  .btn-write-card svg { width: 14px; height: 14px; }
  .girls-title { font-size: clamp(27px, 8.4vw, 34px); line-height: 1.08; }
  .girls-title-row { align-items: flex-end; gap: 9px; }

  #coinsModal .modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px 14px 18px; border-radius: 20px; overflow-y: auto; }
  #coinsModal .modal-title { font-size: 24px; }
  #coinsModal .modal-subtitle { margin-bottom: 14px; font-size: 12px; }
  #coinsModal .coin-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #coinsModal .coin-pkg { min-height: 128px; padding: 11px; gap: 7px; border-radius: 14px; }
  #coinsModal .coin-pkg-label { margin-bottom: 4px; padding: 3px 8px; font-size: 9px; }
  #coinsModal .coin-pkg-name { font-size: 15px; }
  #coinsModal .coin-pkg-price { font-size: 11px; }
  #coinsModal .coin-pkg-btn { min-height: 35px; padding: 7px 9px; }
  #coinsModal .coin-custom-row { flex-direction: row; }
  #coinsModal .coin-custom-input { min-width: 0; }
  #coinsModal .coin-custom-btn { width: auto; min-width: 94px; padding-inline: 15px; }
  #coinsModal .purchase-offer-notice { margin-top: 15px; font-size: 10px; line-height: 1.45; }
  .modal-overlay { padding: 10px; }
  .modal,
  #authModal .modal,
  #coinsModal .modal {
    width: 100%;
    max-width: 370px;
    max-height: calc(100dvh - 20px);
    padding: 22px 18px 20px;
    border-radius: 20px;
    overflow-y: auto;
  }
  .modal-logo { margin-bottom: 14px; }
  .modal-title,
  #coinsModal .modal-title { font-size: 24px; line-height: 1.15; }
  .modal-subtitle,
  #coinsModal .modal-subtitle { margin-bottom: 14px; font-size: 12px; }
}

/* Keep the mobile Hearts modal inside the visible safe area. */
@media (max-width: 700px) {
  #coinsModal.modal-overlay,
  #coinsModal {
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: max(10px, env(safe-area-inset-top));
    /* The shade covers the whole screen; this padding alone reserves the nav. */
    bottom: 0;
    height: auto;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }
  #coinsModal .modal {
    flex: 0 0 auto;
    margin: auto 0;
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
    scroll-padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  }
  #coinsModal .coin-packages { gap: 7px; }
  #coinsModal .coin-pkg {
    min-height: 110px;
    padding: 10px 11px;
    gap: 6px 8px;
  }
  #coinsModal .coin-pkg-label {
    margin-bottom: 4px;
    padding: 0;
    font-size: 9.5px;
  }
  #coinsModal .coin-pkg-name { font-size: 18.5px; }
  #coinsModal .coin-pkg-name .hearts-icon-sm { width: 22px; height: 22px; }
  #coinsModal .coin-pkg-price { margin-top: 5px; font-size: 12px; }
  #coinsModal .coin-pkg-btn {
    min-width: 76px;
    min-height: 37px;
    padding: 8px 11px;
    font-size: 12px;
  }
}

/* Phone layout keeps the desktop visual language, but changes composition where touch UX requires it. */
@media (max-width: 760px) {
  .hero-text,
  .about-wrap .section-heading,
  .howto-wrap .section-heading,
  .features-wrap .section-heading { text-align: center; justify-content: center; }

  .s-girls .girls-title-row { align-items: flex-start; justify-content: flex-start; text-align: left; }
  .s-girls .online-counter { justify-content: flex-start; text-align: left; }

  .s-hero { padding: 42px 16px 54px; }
  .hero-inner { gap: 28px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-title { margin-bottom: 16px; font-size: clamp(30px, 9vw, 38px); line-height: 1.12; }
  .hero-desc { max-width: 360px; margin-bottom: 24px; font-size: 14px; line-height: 1.65; }
  .hero-img { width: min(86%, 330px); }

  .section-heading { width: 100%; font-size: clamp(27px, 8vw, 34px); line-height: 1.15; }
  .hero-title,
  .section-heading,
  .cta-title { font-size: clamp(27px, 8.4vw, 34px); }

  .about-card-body { text-align: center; }
  .about-card-body p { text-align: center; }

  .feat-row,
  .feat-row--rev { gap: 18px; margin-bottom: 48px; text-align: center; }
  .feat-row .feat-img-wrap,
  .feat-row--rev .feat-img-wrap { order: -1; }
  .feat-text { display: flex; flex-direction: column; align-items: center; }
  .feat-title { margin-bottom: 9px; font-size: 22px; }
  .feat-desc { max-width: 350px; margin-bottom: 18px; font-size: 14px; line-height: 1.6; }
  .feat-img-wrap { width: 100%; aspect-ratio: 1.55 / 1; border-radius: 15px; }
  .feat-img { height: 100%; border-radius: inherit; }

  .s-cta { padding: 30px 12px 96px; }
  .cta-inner { min-height: 0; padding: 34px 18px; border-radius: 20px; }
  .cta-title { font-size: clamp(27px, 8vw, 34px); line-height: 1.18; }
  .cta-desc { max-width: 330px; margin-bottom: 24px; font-size: 13px; line-height: 1.55; }
  .cta-btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .cta-btn-main,
  .cta-btn-secondary { min-width: 0; padding: 13px 8px; font-size: 11px; white-space: normal; }
  .cbh1 { width: 44px; height: 44px; }
  .cbh3 { width: 64px; height: 64px; }

  .mobile-bottom-item[data-mobile-destination="#topup"] {
    color: var(--accent);
    background: linear-gradient(145deg, rgba(255,45,107,.12), rgba(255,45,107,.055));
    border: 1px solid rgba(255,45,107,.42);
    box-shadow: inset 0 1px rgba(255,255,255,.025), 0 6px 16px rgba(255,45,107,.08);
  }
}

@media (max-width: 480px) {
  .girl-card-photo-wrap { height: clamp(265px, 74vw, 300px); }
  .girl-card-name-row { margin-bottom: 7px; }
  .girl-card-stats { margin-bottom: 8px; }
  .girl-card-bio { margin-bottom: 9px; }
  .gcs-item { font-size: 11.5px; gap: 5px; }
  .gcs-item svg { width: 14px; height: 14px; }
}
