/* ============================================
   LuxeHub v4.0 — Glassmorphism Redesign
   ============================================ */

:root {
  --bg: #08090a;
  --bg-2: #0d0e10;
  --panel: rgba(255,255,255,0.03);
  --panel-border: rgba(255,255,255,0.06);
  --panel-hover: rgba(255,255,255,0.06);
  --muted: #7a8290;
  --text: #e6e8ec;
  --text-dim: #b0b5be;
  --accent-1: #e63946;
  --accent-2: #8b5cf6;
  --accent-3: #06b6d4;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-strong: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(139,92,246,0.08);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-INDEX */
  --z-content: 1;
  --z-header: 100;
  --z-menu-overlay: 9000;
  --z-menu: 9001;
  --z-burger: 9002;
  --z-bottom-nav: 9500;
  --z-intro: 99999;
  --z-modal-backdrop: 999999990;
  --z-modal: 999999999;
}

*, *::before, *::after { box-sizing: border-box; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(139,92,246,0.3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }
* { scrollbar-width: thin; scrollbar-color: rgba(139,92,246,0.3) transparent; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat 20s ease-in-out infinite;
}
body::after {
  content: '';
  position: fixed;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat2 25s ease-in-out infinite;
}
@keyframes ambientFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(100px, 50px); }
  66% { transform: translate(-50px, 100px); }
}
@keyframes ambientFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, -60px); }
}

/* Noise overlay */
body > .noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 99998;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ====== SHELL ====== */
.shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 20px 20px;
  position: relative;
  z-index: var(--z-content);
}

/* ====== TOPBAR — Glassmorphism ====== */
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(8,9,10,0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition);
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4), rgba(230,57,70,0.4), transparent);
  opacity: 0.6;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  cursor: default;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 20px;
}
.nav .nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav .nav-link i { font-size: 12px; opacity: 0.6; transition: opacity var(--transition); }
.nav .nav-link:hover i, .nav .nav-link.active i { opacity: 1; }
.nav .nav-link:hover { color: var(--text); background: var(--glass); }
.nav .nav-link.active {
  color: #fff;
  background: rgba(139,92,246,0.12);
}
.nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  border-radius: 2px;
}

.top-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Search */
.search {
  display: flex;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  gap: 8px;
  transition: all var(--transition);
}
.search:focus-within {
  border-color: rgba(139,92,246,0.3);
  background: var(--glass-strong);
  box-shadow: 0 0 20px rgba(139,92,246,0.08);
}
.search input {
  background: transparent;
  border: 0;
  color: var(--text);
  outline: none;
  font-size: 13px;
  min-width: 160px;
  font-family: inherit;
}
.search input::placeholder { color: var(--muted); }

/* Telegram button */
.tg-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(139,92,246,0.25);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.tg-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.tg-btn:hover::before { opacity: 1; }
.tg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.35);
}
.tg-btn:active { transform: translateY(0); }

/* ====== CATEGORIES PANEL ====== */
.categories-panel {
  position: absolute;
  left: 120px; top: 68px;
  width: 220px;
  background: rgba(15,16,20,0.85);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-radius: var(--radius);
  padding: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none;
  z-index: 1200;
}
.categories-inner { display: flex; flex-direction: column; gap: 2px; }
.categories-panel .cat-toggle {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.categories-panel .cat-toggle i {
  width: 18px; text-align: center;
  font-size: 13px; color: var(--accent-2); opacity: 0.6;
  transition: all var(--transition);
}
.categories-panel .cat-toggle:hover {
  background: rgba(139,92,246,0.1);
  color: #fff;
  transform: translateX(4px);
}
.categories-panel .cat-toggle:hover i { opacity: 1; }
.categories-footer { display: flex; justify-content: flex-end; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--glass-border); }
.close-cats {
  background: transparent; color: var(--muted); border: 0;
  cursor: pointer; padding: 6px 12px; border-radius: var(--radius-xs);
  font-size: 12px; font-family: inherit; transition: all var(--transition);
}
.close-cats:hover { color: #fff; background: var(--glass); }

/* ====== MAIN LAYOUT — Bento-inspired ====== */
.main {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

/* ====== GLASS PANEL BASE ====== */
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  transition: all var(--transition);
}
.panel:hover {
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-glow);
}

/* ====== PLAYER AREA ====== */
.player-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Banner */
.free-chat-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.free-chat-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.06), rgba(230,57,70,0.06), transparent);
  animation: bannerShimmer 4s ease-in-out infinite;
}
@keyframes bannerShimmer { 0% { left: -100%; } 100% { left: 200%; } }
.free-chat-banner:hover {
  border-color: rgba(139,92,246,0.3);
  background: var(--glass-strong);
}
.banner-nick { color: var(--accent-1); font-weight: 700; margin-left: 4px; }

/* Video Card */
.video-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  border-radius: var(--radius);
  padding: 0;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
#video-container {
  width: 100%; height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0a0a0c, #111114);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5) saturate(1.2);
  z-index: 0;
}

/* Logo Animation */
.logo-animation-container {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0a12, #1a1520, #0d0a12);
  display: flex; align-items: center; justify-content: center;
  z-index: 0;
}
.logo-animation {
  font-family: 'Inter', sans-serif;
  font-size: 4rem; font-weight: 900;
  letter-spacing: 2px;
  animation: logoFadeInOut 3s ease-in-out infinite;
}
.logo-luxe { color: #fff; }
.logo-hub { color: var(--accent-1); text-shadow: 0 0 30px rgba(230,57,70,0.6); }
@keyframes logoFadeInOut {
  0%, 100% { opacity: 0; transform: scale(0.8); filter: blur(10px); }
  15%, 85% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Play Overlay */
.play-overlay {
  z-index: 2;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 36px;
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.play-overlay:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.6);
  border-color: rgba(139,92,246,0.3);
}
.play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), #ff4757);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(230,57,70,0.4);
  animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(230,57,70,0.4), 0 0 0 0 rgba(230,57,70,0.3); }
  50% { box-shadow: 0 8px 24px rgba(230,57,70,0.4), 0 0 0 16px rgba(230,57,70,0); }
}
.play-icon::after {
  content: '';
  width: 0; height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.play-overlay::before {
  content: '● LIVE';
  position: absolute;
  top: -10px; right: -10px;
  background: linear-gradient(135deg, var(--accent-1), #ff4757);
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  animation: liveBlink 1.5s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(230,57,70,0.5);
}
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.play-overlay .text { font-size: 17px; font-weight: 600; color: #fff; }

/* Video Actions */
.video-actions {
  display: flex;
  gap: 8px;
}
.video-btn {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--glass) !important;
  color: var(--text-dim) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.video-btn i { font-size: 14px; opacity: 0.8; }
.video-btn:hover {
  background: var(--glass-strong) !important;
  border-color: rgba(139,92,246,0.3) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.video-btn-primary {
  flex: 1.3;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
  font-weight: 700;
}
.video-btn-primary:hover {
  box-shadow: 0 8px 30px rgba(139,92,246,0.45) !important;
  border-color: transparent !important;
}
.video-btn-accent {
  background: linear-gradient(135deg, var(--accent-1), #ff4757) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(230,57,70,0.3);
}
.video-btn-accent i { color: #ffd700; }
.video-btn-accent:hover {
  box-shadow: 0 8px 30px rgba(230,57,70,0.45) !important;
  border-color: transparent !important;
}

/* ====== PROFILE ROW ====== */
.profile-row {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 16px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.profile-row:hover {
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-glow);
}
.avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  padding: 2.5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.15);
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  animation: avatarGlow 4s ease-in-out infinite alternate;
}
@keyframes avatarGlow {
  0% { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.15); }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(139,92,246,0.25); }
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.online-badge {
  position: absolute; right: 2px; bottom: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
  border: 2px solid var(--bg);
  z-index: 2;
  animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(16,185,129,0.5), 0 0 0 0 rgba(16,185,129,0.3); }
  50% { box-shadow: 0 0 8px rgba(16,185,129,0.5), 0 0 0 6px rgba(16,185,129,0); }
}
.profile-info h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.profile-info p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.verified-badge { display: inline-flex; align-items: center; margin-left: 6px; vertical-align: middle; }
.verified-badge i { color: #10b981; font-size: 16px; filter: drop-shadow(0 0 4px rgba(16,185,129,0.4)); }

.profile-actions { display: flex; flex-direction: column; gap: 8px; margin-left: auto; }
.btn-sub {
  background: linear-gradient(135deg, var(--accent-1), #ff4757);
  color: white; border: 0;
  padding: 10px 22px;
  font-weight: 700; font-size: 14px; font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,57,70,0.25);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.35);
}
.btn-sub:active { transform: translateY(0); }
.btn-profile {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  padding: 10px 22px;
  font-weight: 600; font-size: 14px; font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.btn-profile:hover {
  background: var(--glass-strong);
  border-color: rgba(139,92,246,0.3);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sub i, .btn-profile i { font-size: 12px; }

/* ====== SIDEBAR / CHAT ====== */
.sidebar { display: flex; flex-direction: column; gap: 12px; }

.chat-panel { min-height: 0; }
.chat-panel h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
}
.chat-panel h4 i { color: var(--accent-2); font-size: 13px; }

.chat {
  height: 480px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Chat Bubbles */
.msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.03);
  transition: background var(--transition);
  animation: msgSlideIn 0.3s ease-out;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg:hover { background: rgba(255,255,255,0.05); }
.msg .nick {
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-2);
  min-width: 80px;
  flex-shrink: 0;
}
.msg p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.4; }

/* Token gift messages */
.msg.token-gift {
  background: linear-gradient(135deg, rgba(255,20,147,0.15), rgba(255,105,180,0.1));
  border-color: rgba(255,20,147,0.2);
  border-radius: 12px;
}
.msg.token-gift .nick { color: #ff69b4; font-weight: 800; min-width: auto; }
.msg.token-gift p { color: #ffc0cb; font-weight: 600; }

/* Chat Input */
.input-row { display: flex; gap: 6px; margin-top: auto; }
.chat input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  outline: none;
  font-size: 13px;
  font-family: inherit;
  transition: all var(--transition);
  min-width: 0;
}
.chat input[type="text"]:focus {
  border-color: rgba(139,92,246,0.3);
  background: var(--glass-strong);
}
.chat input[type="text"]::placeholder { color: var(--muted); }
.chat button#btn-send {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 0;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.chat button#btn-send i { font-size: 11px; }
.chat button#btn-send:hover {
  box-shadow: 0 4px 16px rgba(139,92,246,0.3);
  transform: translateY(-1px);
}
.chat button {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 0;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  transition: all var(--transition);
  white-space: nowrap;
}
.chat button:hover { transform: translateY(-1px); }

/* About mini */
.about-mini h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
}
.about-mini h4 i { color: var(--accent-2); font-size: 13px; }
.about-mini .muted { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.about-mini .about-more {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all var(--transition);
}
.about-mini .about-more:hover { color: #a78bfa; transform: translateX(4px); }

/* Hint */
.hint { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }

/* ====== FOOTER — Modern Stripe-style ====== */
.site-footer {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--glass-border);
  padding: 24px 20px;
  margin-top: 32px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.footer-trust-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--transition);
}
.trust-badge i { font-size: 12px; opacity: 0.6; }
.trust-badge:hover {
  background: var(--glass-strong);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-dim);
}
.trust-badge-age {
  background: rgba(230,57,70,0.06);
  border-color: rgba(230,57,70,0.15);
  color: var(--accent-1);
}
.trust-badge-age:hover {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.25);
}
.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy span { color: var(--muted); font-size: 12px; }
.footer-copy a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-copy a:hover { color: var(--text); }
.footer-copy a i { font-size: 11px; }

/* Footer links section */
.footer-links-section {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}
.footer-links-group { display: flex; flex-direction: column; gap: 8px; }
.footer-links-group a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; transition: color var(--transition);
}
.footer-links-group a:hover { color: #fff; }

/* Footer disclaimer */
.footer-disclaimer {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 12px;
}
.footer-disclaimer p { color: var(--muted); font-size: 10px; margin: 0 0 4px; }
.footer-notice { color: var(--accent-2); font-size: 9px; margin: 0; }
.footer-copy-text { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.footer-copy-text span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.footer-copy-text a { color: var(--accent-2); text-decoration: none; }
.footer-copy-text a:hover { color: #a78bfa; }
.footer-copy-text strong { color: var(--text); font-weight: 600; }
.footer-info { color: #5b6370 !important; font-size: 8px !important; }
.footer-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  color: #5b6370;
  font-size: 8px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  cursor: default;
  white-space: nowrap;
}
.footer-badge:hover { background: var(--glass-strong); border-color: rgba(255,255,255,0.12); color: var(--muted); }

/* ====== AUTH MODALS — Glass ====== */
.auth-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0,0,0,0.6) !important;
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.auth-backdrop.show { opacity: 1; visibility: visible; }

body.modal-open { overflow: hidden; }

.auth-modal {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) scale(0.95);
  margin: 0 !important;
  background: rgba(20,20,24,0.9);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  color: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 60px rgba(139,92,246,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: var(--z-modal);
  transition: transform 0.3s cubic-bezier(0.2,0.9,0.2,1), opacity 0.3s, visibility 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  width: 90%;
  max-width: 360px;
}
.auth-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.auth-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.auth-text {
  text-align: center;
  width: 100%;
}

.auth-text-with-icon {
  position: relative;
  display: inline;
}



.auth-input-inline {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  margin-top: 8px;
  transition: all var(--transition);
}
.auth-input-inline:focus {
  outline: none;
  border-color: rgba(139,92,246,0.4);
  background: var(--glass-strong);
  box-shadow: 0 0 20px rgba(139,92,246,0.1);
}
.auth-btn-continue {
  width: 100%;
  background: linear-gradient(135deg, #0088cc, #00a0e9);
  color: white;
  border: 0;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,136,204,0.25);
  transition: all var(--transition);
  margin-top: 4px;
}
.auth-btn-continue:hover {
  box-shadow: 0 8px 30px rgba(0,136,204,0.35);
  transform: translateY(-2px);
}
.auth-btn-continue:active { transform: translateY(0); }

/* Notifications */
.notification {
  position: fixed;
  top: 20px; right: 20px;
  background: rgba(20,20,25,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.35s cubic-bezier(0.2,0.9,0.2,1);
  min-width: 280px;
}
.notification.show { opacity: 1; transform: translateX(0); }
.notification-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: bold; flex-shrink: 0;
}
.notification-success .notification-icon { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.notification-error .notification-icon { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.notification-message { color: #fff; font-size: 13px; font-weight: 500; }

/* ====== INTRO SCREEN ====== */
#intro-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #110a1f 0%, #08050e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-intro);
  pointer-events: all;
}
#intro-screen h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.7);
  animation: textPop 1.5s ease forwards;
}
#intro-screen .white { color: #fff; }
#intro-screen .red { color: var(--accent-1); text-shadow: 0 0 40px rgba(230,57,70,0.5); }
@keyframes textPop {
  0% { opacity: 0; transform: scale(0.7); filter: blur(8px); }
  50% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Page transitions */
.fade-in { animation: fadeIn 0.4s ease-out; }
.fade-out { animation: fadeOutPage 0.8s ease-in forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fadeOutPage { from { opacity: 1; } to { opacity: 0; filter: blur(4px); } }

/* ====== MODELS PAGE ====== */
.models-page { padding: 28px 12px; }
.models-header { margin-bottom: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}
.model-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(0,0,0,0.6), var(--shadow-glow);
  border-color: rgba(139,92,246,0.2);
}
.card-media { position: relative; height: 240px; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.4s ease;
}
.model-card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; left: 12px; top: 12px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff; font-weight: 700;
  border-radius: var(--radius-xs);
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.badge.offline { background: rgba(255,255,255,0.06); color: var(--muted); }
.card-body { padding: 14px; }
.card-body .nick { margin: 0; font-size: 17px; color: #fff; font-weight: 700; }
.card-body .meta { color: var(--muted); margin-top: 6px; font-size: 12px; }
.card-body .hobby { margin-top: 8px; color: var(--text-dim); font-size: 13px; }
.card-actions { margin-top: 12px; display: flex; gap: 8px; }
.btn {
  background: linear-gradient(135deg, var(--accent-1), #ff4757);
  color: white; border: 0;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700; font-size: 13px; font-family: inherit;
  transition: all var(--transition);
  width: 100%;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.3); }

/* ====== ABOUT PAGE ====== */
.about-page { max-width: 900px; margin: 60px auto; padding: 20px; color: var(--text-dim); line-height: 1.7; }
.about-section h1, .mission-section h2, .team-section h2, .contact-section h2, .feedback-section h2 {
  color: #fff; margin-bottom: 16px;
}
.team-list { list-style: none; padding: 0; margin: 10px 0; }
.team-list li {
  background: var(--glass);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--glass-border);
}
.contact-box {
  background: var(--panel);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
}
.feedback-section input, .feedback-section textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
  transition: all var(--transition);
}
.feedback-section input:focus, .feedback-section textarea:focus {
  outline: none;
  border-color: rgba(139,92,246,0.4);
  background: var(--glass-strong);
}
.btn-send {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: white; border: 0;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700; font-size: 15px; font-family: inherit;
  box-shadow: 0 4px 20px rgba(139,92,246,0.25);
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-send:hover { box-shadow: 0 8px 30px rgba(139,92,246,0.35); transform: translateY(-2px); }

/* ====== SCROLL REVEAL ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ====== RIPPLE EFFECT ====== */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}
.ripple:active::after {
  transform: scale(0);
  opacity: 0.3;
  transition: 0s;
}

/* Cat strip */
.cat-strip {
  position: fixed;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,25,0.9);
  backdrop-filter: blur(16px);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  display: flex; gap: 16px; align-items: center;
  transition: bottom 0.3s ease;
  z-index: 2000;
}
.cat-strip.show { bottom: 30px; }
.cat-strip-close { background: transparent; border: none; color: white; font-size: 18px; cursor: pointer; padding: 0; margin-left: 8px; }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(20,20,20,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 230px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  z-index: 10;
}
.dropdown-content a {
  color: var(--text-dim); padding: 8px 15px;
  text-decoration: none; display: block;
  transition: all var(--transition);
}
.dropdown-content a:hover { background: var(--glass); color: #fff; }
.dropdown:hover .dropdown-content { display: block; }

/* ====== MOBILE BOTTOM NAV ====== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,9,10,0.9);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid var(--glass-border);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  z-index: var(--z-bottom-nav);
  justify-content: space-around;
  align-items: center;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  min-width: 56px;
}
.bottom-nav a i { font-size: 18px; transition: all var(--transition); }
.bottom-nav a.active { color: var(--accent-2); }
.bottom-nav a.active i { transform: scale(1.1); }
.bottom-nav a:active { transform: scale(0.92); }

/* ====== RESPONSIVE — TABLETS ====== */
@media (max-width: 1024px) {
  .main { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .chat { height: 280px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====== RESPONSIVE — MOBILE ====== */
@media (max-width: 768px) {
  body {
    padding: 0;
    padding-bottom: 70px; /* space for bottom nav */
  }

  .shell {
    width: 100%;
    padding: 0 12px 12px;
    border-radius: 0;
  }

  /* Topbar — compact */
  .topbar {
    padding: 10px 14px;
    gap: 10px;
    margin-bottom: 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .topbar::after { display: none; }
  .logo { font-size: 20px; }

  /* Hide desktop nav, show bottom nav */
  .nav { display: none; }
  .top-actions { display: none; }
  .bottom-nav { display: flex; }

  /* Mobile topbar: logo + login button */
  .topbar .tg-btn-mobile {
    margin-left: auto;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-2), #a78bfa);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    font-family: inherit;
  }

  /* Main layout */
  .main {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Video */
  .video-card {
    min-height: auto;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
  }
  #video-container {
    height: 50vw;
    min-height: 200px;
    max-height: 300px;
    border-radius: var(--radius);
  }
  .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 10px;
    border-radius: 0;
  }
  .play-overlay::before { top: 8px; right: 8px; font-size: 9px; padding: 3px 8px; }
  .play-icon { width: 48px; height: 48px; }
  .play-icon::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
  .play-overlay .text { font-size: 14px; text-align: center; }

  /* Video actions */
  .video-actions { flex-direction: column; gap: 6px; }
  .video-btn { padding: 12px 14px; font-size: 13px; }

  /* Profile */
  .profile-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }
  .avatar { width: 52px; height: 52px; padding: 2px; }
  .profile-info { flex: 1; }
  .profile-info h2 { font-size: 14px; }
  .profile-info p { font-size: 11px; line-height: 1.3; margin: 2px 0 0; }
  .profile-actions { flex-shrink: 0; }
  .btn-sub { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  .btn-profile { padding: 8px 14px; font-size: 12px; white-space: nowrap; }

  /* Chat */
  .chat { height: 240px; }
  .msg .nick { min-width: 60px; font-size: 11px; }
  .msg p { font-size: 12px; }
  .chat input[type="text"] { padding: 12px; font-size: 14px; }
  .chat button { padding: 12px 14px; font-size: 13px; }

  /* About mini */
  .about-mini { text-align: center; }

  /* Models */
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .card-media { height: 220px; }

  /* Categories */
  .categories-panel {
    position: fixed;
    left: 10px; right: 10px;
    top: auto; bottom: 80px;
    width: auto;
    max-height: 50vh;
    overflow-y: auto;
    border-radius: var(--radius);
  }

  /* Auth modals */
  .auth-modal {
    width: 92% !important;
    max-width: 340px !important;
    padding: 24px !important;
    border-radius: 20px !important;
  }

  /* Footer */
  .site-footer { padding: 18px 14px; margin-top: 20px; }
  .footer-trust-bar { gap: 8px; }
  .trust-badge { padding: 5px 10px; font-size: 10px; }
  .footer-copy { flex-direction: column; text-align: center; gap: 12px; }

  /* Banner */
  .free-chat-banner { padding: 8px 14px; font-size: 13px; }

  /* Intro */
  #intro-screen h1 { font-size: 36px; }

  /* Notifications */
  .notification {
    left: 10px; right: 10px; top: 10px;
    min-width: auto;
    transform: translateY(-120px);
  }
  .notification.show { transform: translateY(0); }
}

/* ====== SMALL PHONES ====== */
@media (max-width: 400px) {
  .shell { padding: 0 8px 8px; }
  .logo { font-size: 18px; }
  #video-container { height: 30vh; min-height: 180px; }
  .play-icon { width: 42px; height: 42px; }
  .avatar { width: 46px; height: 46px; }
  .profile-info h2 { font-size: 13px; }
  .chat { height: 200px; }
  .card-media { height: 200px; }
  #intro-screen h1 { font-size: 28px; }
  .auth-modal { padding: 18px 14px !important; }
}

/* ====== LANDSCAPE ====== */
@media (max-width: 768px) and (orientation: landscape) {
  #video-container { height: 55vh; }
  .chat { height: 160px; }
  #intro-screen h1 { font-size: 30px; }
}

/* ====== TOUCH DEVICES ====== */
@media (hover: none) and (pointer: coarse) {
  .tg-btn:hover,
  .btn-sub:hover,
  .btn:hover,
  .chat button:hover,
  .auth-btn-continue:hover,
  .btn-send:hover,
  .model-card:hover,
  .nav-link:hover,
  .video-btn:hover,
  .play-overlay:hover,
  .panel:hover,
  .profile-row:hover {
    transform: none;
    box-shadow: none;
  }
  .cat-toggle { padding: 14px 16px; }
}

/* ====== SAFE AREA (iPhone notch) ====== */
@supports (padding: max(0px)) {
  .topbar { padding-top: max(12px, env(safe-area-inset-top)); }
  .bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}

/* ====== COMING SOON MODAL ====== */
.coming-soon-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
}


/* APK MODAL */

.auth-modal-apk {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(20,20,24,0.9);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  min-width: 320px;
  max-width: 90%;
  box-sizing: border-box;
  z-index: var(--z-modal);
  backdrop-filter: blur(32px) saturate(1.5);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 60px rgba(139,92,246,0.08);
  visibility: hidden;
}

.auth-modal-apk.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal-apk__content {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
  align-items: center;
}

.auth-modal-apk__title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: white;
}

.auth-modal-apk__link {
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-modal-apk__button {
  background-color: rgb(66, 133, 244);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 9999px;
  height: 40px;
  width: 100%;
  max-width: 344px;
  min-width: 240px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  text-align: center;
  outline: none;
  border: medium;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fefefe;
}

.auth-modal-apk__button:hover {
  background-color: #3367d6;
}

.auth-modal-apk__icon {
  max-width: 24px;
  display: inline-block;
  margin-left: 0.5rem;
}

/* LOAD MODAL */

.auth-modal-load {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background-color: rgba(20,20,24,0.9);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  min-width: 160px;
  backdrop-filter: blur(32px) saturate(1.5);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 60px rgba(139,92,246,0.08);
  z-index: var(--z-modal);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.25s ease;
}

.auth-modal-load.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal-load__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-right: 70px;
  padding-left: 70px;
}

.auth-modal-load__title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
}

/* 🔄 Loader */
.loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}