:root{
  --bg:#0f1011;
  --panel:#141516;
  --muted:#9aa0a6;
  --accent-1:#b72b2b; /* красный */
  --accent-2:#7b4df0; /* фиолетовый */
  --glass: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.02);
  --radius:12px;
  --shadow: 0 8px 30px rgba(0,0,0,0.6);
  --card-bg: rgba(20,20,24,0.6);
  
  /* Z-INDEX LAYERS */
  --z-content: 1;
  --z-header: 100;
  --z-menu-overlay: 9000;
  --z-menu: 9001;
  --z-burger: 9002;
  --z-intro: 99999;
  --z-modal-backdrop: 999999990;
  --z-modal: 999999999;
}

*{box-sizing:border-box}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
html,body{height:100%}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(123,77,240,0.04), transparent),
              radial-gradient(900px 400px at 90% 80%, rgba(183,43,43,0.03), transparent),
              linear-gradient(180deg,#0b0b0b 0%, #0f1011 100%);
  color:#e6e7e8;
  -webkit-font-smoothing:antialiased;
  padding: 28px;
  /* УБРАЛИ flex */
}


/* shell */
.shell {
  width: min(1200px, 96vw);
  margin: 0 auto; /* центрирование */
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(0,0,0,0.02));
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.02);
  position: relative;
  z-index: 1;
}


/* topbar */
.topbar{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 8px;
  margin-bottom:14px;
  position:relative;
  backdrop-filter: blur(6px);
}
.logo{ font-weight:700; font-size:28px; letter-spacing:0.5px; color: #fff }
.nav{ display:flex; gap:18px; align-items:center; margin-left:24px; }
.nav .nav-link{ color:var(--muted); text-decoration:none; font-size:15px; padding:6px 8px; border-radius:8px; cursor:pointer; }
.nav .nav-link:hover, .nav .nav-link.active{ color:#fff; background:var(--glass) }
.top-actions{ margin-left:auto; display:flex; gap:12px; align-items:center; }

/* search */
.search{ display:flex; align-items:center; background:var(--glass-2); padding:8px 10px; border-radius:8px; gap:8px; }
.search input{ background:transparent; border:0; color:#cfd3d7; outline:none; font-size:14px; min-width:180px; }

/* telegram button */
.tg-btn{ 
  display:inline-flex; 
  gap:10px; 
  align-items:center; 
  background: linear-gradient(135deg, #7b4df0 0%, #9b6dff 100%); 
  color:white; 
  padding:10px 18px; 
  border-radius:12px; 
  border:0; 
  cursor:pointer; 
  font-weight:600; 
  font-size:14px;
  box-shadow: 0 4px 15px rgba(123,77,240,0.3);
  transition: all 0.2s ease;
}
.tg-btn:hover{ 
  background: linear-gradient(135deg, #8a5cff 0%, #ab7dff 100%);
  box-shadow: 0 6px 20px rgba(123,77,240,0.4);
  transform: translateY(-2px);
}
.tg-btn:active{ 
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(123,77,240,0.3);
}

/* categories panel */
.categories-panel{ 
  position: absolute; 
  left: 120px; 
  top: 68px; 
  right: auto; 
  width: 180px; 
  background: rgba(20, 20, 25, 0.75); 
  backdrop-filter: blur(12px); 
  border-radius:12px; 
  padding:12px; 
  border:1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 12px 36px rgba(0,0,0,0.6); 
  display:none; 
  z-index:1200; 
}
.categories-inner{ display:flex; flex-direction:column; gap:8px; padding:6px; }
.categories-panel .cat-toggle{ 
  text-align:left; 
  padding:10px 14px; 
  border-radius:10px; 
  background: rgba(255,255,255,0.03); 
  color: rgba(255,255,255,0.6); 
  border:0; 
  cursor:pointer;
  font-size:14px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.categories-panel .cat-toggle:hover{ 
  background: rgba(123,77,240,0.2); 
  color:#fff;
  transform: translateX(4px);
}
.categories-footer{ display:flex; justify-content:flex-end; margin-top:8px; }
.close-cats{ 
  background:transparent; 
  color:var(--muted); 
  border:0; 
  cursor:pointer;
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  transition: all 0.2s ease;
}
.close-cats:hover{
  color:#fff;
  background: rgba(255,255,255,0.05);
}

/* main layout */
.main{ display:grid; grid-template-columns: 1fr 320px; gap:20px; align-items:start; }

/* player */
.player-wrap{ display:flex; flex-direction:column; gap:18px; position:relative; }
.player-wrap .video-card,
.player-wrap .video-actions,
.player-wrap .profile-row { width: 100%; }
.video-card{ background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55)); border-radius:12px; padding:22px; min-height:380px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; border:1px solid rgba(255,255,255,0.02); }
#video-container{ width:100%; height:380px; border-radius:8px; background: linear-gradient(180deg, rgba(15,12,10,0.8), rgba(25,22,20,0.7)); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; flex-shrink:0; }
.bg-video{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; filter:blur(8px) brightness(0.6); z-index:0; }
.video-blur{ position:absolute; inset:0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect fill='%2321191a' width='100%' height='100%'/></svg>") center/cover no-repeat; filter: blur(6px) brightness(.45); z-index:0; }

/* play overlay transparent */
.play-overlay{ 
  z-index:2; 
  background: rgba(0,0,0,0.6); 
  padding:24px 32px; 
  border-radius:16px; 
  display:flex; 
  gap:18px; 
  align-items:center; 
  cursor:pointer; 
  transition: all 0.3s ease; 
  user-select:none; 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
.play-overlay:hover{ 
  transform: translateY(-4px); 
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.7);
}
.play-icon{ 
  width:56px;
  height:56px;
  border-radius:50%;
  background: linear-gradient(135deg, #b72b2b 0%, #d63838 100%);
  display:flex;
  align-items:center;
  justify-content:center; 
  box-shadow: 0 8px 20px rgba(183,43,43,0.4);
  position: relative;
}
.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 .text{ 
  font-size:18px; 
  font-weight:600; 
  color:#fff; 
}

/* profile row */
.profile-row{ display:flex; gap:18px; align-items:center; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.02); position: relative; }
.avatar{ width:84px; height:84px; border-radius:50%; background: linear-gradient(180deg,#2a2a2a,#121212); box-shadow: 0 6px 18px rgba(0,0,0,0.6); overflow:visible; position:relative; flex-shrink: 0; }
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; border-radius: 50%; }
.online-badge{ position:absolute; right:2px; bottom:2px; width:16px; height:16px; border-radius:50%; background:var(--accent-1); box-shadow:0 4px 12px rgba(183,43,43,0.3); border: 2px solid #0f1011; z-index: 2; }

/* profile text */
.profile-info h2{ margin:0; font-size:22px; letter-spacing:0.2px; }
.profile-info p{ margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
.btn-sub{ 
  background: linear-gradient(135deg, #b72b2b 0%, #d63838 100%); 
  color:white; 
  border:0; 
  padding:12px 24px; 
  font-weight:700; 
  font-size:15px;
  border-radius:12px; 
  cursor:pointer; 
  box-shadow: 0 4px 15px rgba(183,43,43,0.3);
  transition: all 0.2s ease;
}
.btn-sub:hover{
  background: linear-gradient(135deg, #c73535 0%, #e64545 100%);
  box-shadow: 0 6px 20px rgba(183,43,43,0.4);
  transform: translateY(-2px);
}
.btn-sub:active{
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(183,43,43,0.3);
}

/* sidebar / chat */
.sidebar{ display:flex; flex-direction:column; gap:12px; }
.panel{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,0.02); }
.chat{ height:520px; display:flex; flex-direction:column; gap:10px; overflow:hidden; }
.messages{ flex:1; overflow:auto; padding:8px; display:flex; flex-direction:column; gap:10px; }
.msg{ display:flex; gap:10px; align-items:flex-start; }
.msg .nick{ font-weight:700; margin-right:8px; color:var(--accent-1); min-width:90px; }
.msg p{ margin:0; color:#d6d8da; }

/* Token gift messages */
.msg.token-gift {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  padding: 10px 12px;
  border-radius: 8px;
  gap: 8px;
  margin: 2px 0;
}

.msg.token-gift .nick {
  color: #fff;
  font-weight: 800;
  min-width: auto;
  margin-right: 4px;
}

.msg.token-gift p {
  color: #fff;
  font-weight: 600;
  margin: 0;
}
.input-row{ display:flex; gap:8px; margin-top:auto; }
.chat input[type="text"]{ flex:1; padding:10px 12px; border-radius:8px; border:0; background:rgba(255,255,255,0.03); color:#e6e7e8; outline:none; }
.chat button{ 
  padding:10px 16px; 
  border-radius:10px; 
  border:0; 
  background: linear-gradient(135deg, #7b4df0 0%, #9b6dff 100%); 
  color:white; 
  cursor:pointer; 
  font-weight:700;
  font-size:14px;
  box-shadow: 0 2px 10px rgba(123,77,240,0.2);
  transition: all 0.2s ease;
}
.chat button:hover{
  background: linear-gradient(135deg, #8a5cff 0%, #ab7dff 100%);
  box-shadow: 0 4px 15px rgba(123,77,240,0.3);
  transform: translateY(-1px);
}
.chat button:active{
  transform: translateY(0px);
}

/* about-mini */
.about-mini .about-more{ display:inline-block; margin-top:10px; color:var(--accent-2); text-decoration:none; font-weight:700; }

/* general hints */
.hint{ margin-top:14px; color:var(--muted); font-size:13px; text-align:center; }

/* auth modal backdrop */
.auth-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(4px);
}
.auth-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Не скрываем контент при открытии модалки */
body.modal-open {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}



/* auth modal */
.auth-modal{ 
  position: fixed !important; 
  left: 50% !important; 
  top: 50% !important; 
  transform: translate(-50%, -50%) scale(.96);
  margin: 0 !important;
  background: #141416; 
  color: white; 
  padding: 24px; 
  border-radius: 16px; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.9); 
  border: 1px solid rgba(255,255,255,0.08); 
  opacity: 0; 
  visibility: hidden;
  pointer-events: none; 
  z-index: var(--z-modal); 
  transition: transform .25s cubic-bezier(.2,.9,.2,1), opacity .25s, visibility .25s; 
  display: flex; 
  flex-direction: column;
  gap: 12px; 
  align-items: center; 
  width: 90%;
  max-width: 340px;
}
.auth-modal.show{ 
  opacity: 1; 
  visibility: visible;
  pointer-events: auto; 
  transform: translate(-50%, -50%) scale(1);
}

/* Models page */
.models-page{ padding:28px 12px; }
.models-header{ margin-bottom:18px; }
.cards-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.model-card{ background:var(--card-bg); border-radius:14px; overflow:hidden; border:1px solid rgba(255,255,255,0.03); box-shadow: 0 12px 30px rgba(0,0,0,0.6); transition: transform .18s ease, box-shadow .18s ease; cursor:pointer; }
.model-card:hover{ transform: translateY(-6px); box-shadow: 0 22px 40px rgba(0,0,0,0.7); }
.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); }
.badge{ position:absolute; left:12px; top:12px; padding:6px 10px; background:rgba(0,0,0,0.45); color:#fff; font-weight:700; border-radius:8px; font-size:13px; }
.badge.offline{ background:rgba(255,255,255,0.06); color:var(--muted); }
.card-body{ padding:14px; }
.card-body .nick{ margin:0; font-size:18px; color:#fff; }
.card-body .meta{ color:var(--muted); margin-top:6px; font-size:13px; }
.card-body .hobby{ margin-top:8px; color:#d6d8da; font-size:14px; }
.card-actions{ margin-top:12px; display:flex; gap:8px; }
.btn{ 
  background: linear-gradient(135deg, #b72b2b 0%, #d63838 100%); 
  color:white; 
  border:0; 
  padding:10px 16px; 
  border-radius:10px; 
  cursor:pointer; 
  font-weight:700;
  font-size:14px;
  box-shadow: 0 2px 10px rgba(183,43,43,0.2);
  transition: all 0.2s ease;
  width: 100%;
}
.btn:hover{ 
  background: linear-gradient(135deg, #c73535 0%, #e64545 100%);
  transform: translateY(-2px); 
  box-shadow: 0 4px 15px rgba(183,43,43,0.3); 
}

/* ABOUT page extras */
.about-page{ max-width:900px; margin:60px auto; padding:20px; color:#e4e6eb; line-height:1.7; }
.team-list{ list-style:none; padding:0; margin:10px 0; }
.team-list li{ background: rgba(255,255,255,0.02); padding:10px 12px; border-radius:8px; margin-bottom:8px; }

/* forms */
.feedback-section input, .feedback-section textarea{ 
  width:100%; 
  background: rgba(255,255,255,0.03); 
  border:1px solid rgba(255,255,255,0.05); 
  padding:12px 14px; 
  border-radius:10px; 
  color:#fff;
  font-size:14px;
  margin-bottom:12px;
  transition: all 0.2s ease;
}
.feedback-section input:focus, .feedback-section textarea:focus{
  outline: none;
  border-color: rgba(123,77,240,0.4);
  background: rgba(255,255,255,0.05);
}
.btn-send{
  width: 100%;
  background: linear-gradient(135deg, #7b4df0 0%, #9b6dff 100%);
  color: white;
  border: 0;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(123,77,240,0.3);
  transition: all 0.2s ease;
  margin-top: 8px;
}
.btn-send:hover{
  background: linear-gradient(135deg, #8a5cff 0%, #ab7dff 100%);
  box-shadow: 0 6px 20px rgba(123,77,240,0.4);
  transform: translateY(-2px);
}
.btn-send:active{
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(123,77,240,0.3);
}

/* page transitions */
.fade-in{ animation: fadeIn .45s ease-out; }
.fade-out{ animation: fadeOut .45s ease-in forwards; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }
@keyframes fadeOut{ from{opacity:1; transform:none;} to{opacity:0; filter:blur(3px); transform:scale(.995);} }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(123, 77, 240, 0.6), rgba(183, 43, 43, 0.6));
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(123, 77, 240, 0.8), rgba(183, 43, 43, 0.8));
  border-color: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #7b4df0, #b72b2b);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 77, 240, 0.6) rgba(255, 255, 255, 0.02);
}

/* desktop only; we keep simple non-adaptive layout as requested */
/* Категории */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 0;
  min-width: 230px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  z-index: 10;
}

.dropdown-content a {
  color: #ddd;
  padding: 8px 15px;
  text-decoration: none;
  display: block;
  transition: 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* Видео под кнопкой */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.6);
  pointer-events: none; /* нельзя взаимодействовать */
}

.video-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 0, 60, 0.25);
  z-index: 1;
}

/* ====== ЭКРАН ПРИВЕТСТВИЯ ====== */
/* ====== ЭКРАН ПРИВЕТСТВИЯ ====== */
#intro-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #1b0e2b 0%, #0d0217 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-intro);
  pointer-events: all;

  /* исправление */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  flex: none;
}

#intro-screen h1 {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.7);
  animation: textPop 1.5s ease forwards;
}

#intro-screen .white {
  color: #ffffff;
}

#intro-screen .red {
  color: #e50914;
}

@keyframes textPop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* fade out */
.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


.cat-strip {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(123,77,240,0.9), rgba(183,43,43,0.9));
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  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;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.03));
  border-top: 1px solid rgba(255,255,255,0.02);
  padding: 24px 20px;
  margin-top: 40px;
  border-radius: 12px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

/* About page sections */
.about-section, .mission-section, .team-section, .contact-section, .feedback-section {
  margin-bottom: 40px;
}

.about-section h1, .mission-section h2, .team-section h2, .contact-section h2, .feedback-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
}

.auth-input-inline{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  margin-top: 12px;
  transition: all 0.2s ease;
}
.auth-input-inline:focus{
  outline: none;
  border-color: rgba(123,77,240,0.5);
  background: rgba(255,255,255,0.08);
}

.auth-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.auth-text{
  text-align: center;
  width: 100%;
}

.auth-btn-continue{
  width: 100%;
  background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
  color: white;
  border: 0;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0,136,204,0.3);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.auth-btn-continue:hover{
  background: linear-gradient(135deg, #0099dd 0%, #00b0ff 100%);
  box-shadow: 0 6px 20px rgba(0,136,204,0.4);
  transform: translateY(-2px);
}

.auth-btn-continue:active{
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(0,136,204,0.3);
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(20,20,25,0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  min-width: 300px;
}

.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: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

.notification-success .notification-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.notification-error .notification-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.notification-message {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}


/* ====== МОБИЛЬНАЯ АДАПТАЦИЯ ====== */

/* Планшеты */
@media (max-width: 1024px) {
  .main {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: 2;
  }
  
  .chat {
    height: 280px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .shell {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
  }
  
  /* Topbar */
  .topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    position: relative;
  }
  
  .logo {
    font-size: 20px;
    flex-shrink: 0;
  }
  
  /* Скрываем top-actions в topbar на мобильных */
  .top-actions {
    display: none;
  }
  
  /* Навигация на мобильных - горизонтальный скролл */
  .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 0;
    margin-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .nav::-webkit-scrollbar {
    display: none;
  }
  
  .nav .nav-link {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  
  .search {
    display: none;
  }
  
  /* Main layout */
  .main {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .player-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  /* Video */
  .video-card {
    min-height: auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  
  #video-container {
    position: relative;
    height: 45vw;
    min-height: 180px;
    max-height: 280px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  #video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    gap: 10px;
    border-radius: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
  }
  
  .play-icon {
    width: 50px;
    height: 50px;
  }
  
  .play-icon::after {
    border-left-width: 14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
  }
  
  .play-overlay .text {
    font-size: 14px;
    text-align: center;
  }
  
  /* Profile */
  .profile-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    position: relative;
  }
  
  .avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
  }
  
  .profile-info {
    text-align: left;
    flex: 1;
  }
  
  .profile-info h2 {
    font-size: 14px;
    margin: 0;
  }
  
  .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;
  }
  
  /* Sidebar & Chat */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .panel {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
  }
  
  .panel h4 {
    font-size: 15px;
    margin: 0 0 10px 0;
  }
  
  .chat-panel {
    min-height: auto;
  }
  
  .chat {
    height: 220px;
  }
  
  .messages {
    padding: 6px;
  }
  
  .msg {
    gap: 8px;
  }
  
  .msg .nick {
    min-width: 65px;
    font-size: 12px;
  }
  
  .msg p {
    font-size: 13px;
  }
  
  .input-row {
    gap: 8px;
  }
  
  .chat input[type="text"] {
    padding: 12px;
    font-size: 14px;
  }
  
  .chat button {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* About mini */
  .about-mini {
    text-align: center;
  }
  
  .about-mini p {
    font-size: 13px;
  }
  
  /* Models grid */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .model-card {
    border-radius: 12px;
  }
  
  .card-media {
    height: 220px;
  }
  
  .card-body {
    padding: 12px;
  }
  
  .card-body .nick {
    font-size: 16px;
  }
  
  .card-body .meta,
  .card-body .hobby {
    font-size: 13px;
  }
  
  .card-actions {
    margin-top: 10px;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* Auth modals - MOBILE */
  .auth-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999990 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
  }
  
  .auth-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.96) !important;
    width: 90% !important;
    max-width: 340px !important;
    max-height: 90vh !important;
    margin: 0 !important;
    padding: 24px !important;
    border-radius: 16px !important;
    z-index: 999999999 !important;
    background: #141416 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9) !important;
  }
  
  .auth-modal.show {
    transform: translate(-50%, -50%) scale(1) !important;
  }
  
  .auth-content svg {
    width: 42px;
    height: 42px;
  }
  
  .auth-text {
    font-size: 14px;
  }
  
  .auth-input-inline {
    font-size: 16px;
    padding: 14px 16px;
  }
  
  .auth-btn-continue {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  /* Categories panel */
  .categories-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 20px;
    width: auto;
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 14px;
  }
  
  .categories-inner {
    padding: 8px;
  }
  
  .categories-panel .cat-toggle {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  /* Footer */
  .site-footer {
    padding: 20px 14px;
    margin-top: 24px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  
  /* About page */
  .about-page {
    padding: 14px;
    margin: 16px auto;
  }
  
  .about-page h1 {
    font-size: 22px;
  }
  
  .about-page h2 {
    font-size: 18px;
  }
  
  /* Notifications */
  .notification {
    left: 10px;
    right: 10px;
    top: 10px;
    min-width: auto;
    transform: translateY(-120px);
    padding: 14px 16px;
  }
  
  .notification.show {
    transform: translateY(0);
  }
  
  .notification-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .notification-message {
    font-size: 13px;
  }
  
  /* Intro screen */
  #intro-screen h1 {
    font-size: 38px;
  }
  
  /* Hint */
  .hint {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* Маленькие телефоны */
@media (max-width: 400px) {
  body {
    padding: 6px;
  }
  
  .shell {
    padding: 8px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .tg-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  #video-container {
    height: 28vh;
    min-height: 180px;
  }
  
  .play-icon {
    width: 44px;
    height: 44px;
  }
  
  .play-overlay .text {
    font-size: 13px;
  }
  
  .avatar {
    width: 64px;
    height: 64px;
  }
  
  .profile-info h2 {
    font-size: 16px;
  }
  
  .chat {
    height: 180px;
  }
  
  .card-media {
    height: 200px;
  }
  
  #intro-screen h1 {
    font-size: 30px;
  }
  
  .auth-modal {
    padding: 16px 12px;
  }
}

/* Ландшафтная ориентация */
@media (max-width: 768px) and (orientation: landscape) {
  #video-container {
    height: 55vh;
  }
  
  .chat {
    height: 160px;
  }
  
  #intro-screen h1 {
    font-size: 32px;
  }
}

/* Тач-устройства */
@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 {
    transform: none;
  }
  
  .play-overlay:hover {
    background: rgba(0, 0, 0, 0.45);
  }
  
  .cat-toggle {
    padding: 16px 18px;
  }
}

/* Video action buttons */
.video-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.video-btn {
  flex: 1;
  padding: 12px 18px;
  border: none !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, #2a2a35 0%, #1e1e28 100%) !important;
  color: #e6e7e8 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.video-btn:hover {
  background: linear-gradient(135deg, #3a3a48 0%, #2a2a35 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(123,77,240,0.25);
}

.video-btn-primary {
  background: linear-gradient(135deg, #7b4df0 0%, #9b6dff 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(123,77,240,0.4);
}

.video-btn-primary:hover {
  background: linear-gradient(135deg, #8a5cff 0%, #ab7dff 100%) !important;
  box-shadow: 0 6px 20px rgba(123,77,240,0.5);
}

.video-btn-accent {
  background: linear-gradient(135deg, #b72b2b 0%, #d63838 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(183,43,43,0.4);
}

.video-btn-accent:hover {
  background: linear-gradient(135deg, #c73535 0%, #e64545 100%) !important;
  box-shadow: 0 6px 20px rgba(183,43,43,0.5);
}

@media (max-width: 768px) {
  .video-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .video-btn {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ====== НОВЫЙ ФУТЕР (как на bongacams) ====== */
.site-footer {
  background: linear-gradient(180deg, rgba(20,20,24,0.95), rgba(15,16,17,0.98));
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 24px;
  margin-top: 30px;
  border-radius: 0 0 14px 14px;
}

.footer-disclaimer {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 12px;
}

.footer-disclaimer p {
  color: #6b7280;
  font-size: 10px;
  margin: 0 0 4px 0;
}

.footer-notice {
  color: #7b4df0;
  font-size: 9px;
  margin: 0;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.footer-copy-text span {
  color: #6b7280;
  font-size: 9px;
  line-height: 1.4;
}

.footer-copy-text a {
  color: #7b4df0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copy-text a:hover {
  color: #9b6dff;
}

.footer-copy-text strong {
  color: #e6e7e8;
  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: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  color: #5b6370;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  cursor: default;
  white-space: nowrap;
}

.footer-badge:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #9aa0a6;
}

.footer-badge-img {
  height: 20px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

.footer-badge-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Мобильная адаптация футера */
@media (max-width: 768px) {
  .site-footer {
    padding: 16px 14px;
    margin-top: 20px;
  }
  
  .footer-disclaimer p {
    font-size: 11px;
  }
  
  .footer-notice {
    font-size: 10px;
  }
  
  .footer-copy {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  
  .footer-copy-text {
    align-items: center;
  }
  
  .footer-info {
    font-size: 9px !important;
    text-align: center;
  }
  
  .footer-badges {
    justify-content: center;
  }
  
  .footer-badge {
    padding: 5px 8px;
    font-size: 9px;
  }
  
  .footer-badge svg {
    height: 12px;
  }
}

@media (max-width: 400px) {
  .footer-badges {
    gap: 8px;
  }
  
  .footer-badge {
    padding: 4px 6px;
  }
}

/* ====== БАННЕР НАД ВИДЕО ====== */
.free-chat-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(25,25,32,0.98), rgba(18,18,24,0.99));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  color: #e6e7e8;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}



.free-chat-banner:hover {
  background: linear-gradient(180deg, rgba(35,35,45,0.98), rgba(25,25,35,0.99));
  border-color: rgba(183,43,43,0.5);
  box-shadow: 0 4px 20px rgba(183,43,43,0.2);
  transform: translateY(-1px);
}

.banner-nick {
  color: #b72b2b;
  font-weight: 700;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .free-chat-banner {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 10px;
    margin-bottom: 6px;
  }
}
