/* ===== PREMIUM ADULT DESIGN v5 ===== */
/* Google Fonts loaded via <head> preconnect in Core.php */

:root {
  --bg:        #0a0a0f;
  --surface:   #111118;
  --card:      #18181f;
  --card-hover:#202030;
  --accent:    #e8195a;
  --accent2:   #b5003e;
  --accent-glow: rgba(232,25,90,0.25);
  --gold:      #f5a623;
  --text:      #eeeef5;
  --muted:     #7878a0;
  --border:    #252535;
  --radius:    10px;
  --header-h:  60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ff5590; }
img { vertical-align: middle; max-width: 100%; }
ul { list-style: none; }
h1 { font-size: 18px; font-weight: 700; }
h2 { font-size: 15px; font-weight: 600; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.site-logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(232,25,90,.3);
}
.site-logo span { color: var(--accent); }

.top-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.top-nav::-webkit-scrollbar { display: none; }
.top-nav a {
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 7px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  transition: color .18s, background .18s;
}
.top-nav a:hover { color: var(--text); background: var(--card); }
.top-nav .nav-hot { color: var(--accent); font-weight: 600; }

.search-form {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--accent); }
.search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  padding: 9px 13px;
  width: 180px;
  font-size: 13px;
  font-family: inherit;
  display: inline-block !important;
  margin-bottom: 0 !important;
}
.search-form input::placeholder { color: var(--muted); }
.search-form button {
  background: var(--accent);
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  color: #fff;
  font-size: 14px;
  transition: background .18s;
}
.search-form button:hover { background: var(--accent2); }

/* ===== MAIN ===== */
.site-main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 12px 40px;
  min-height: calc(100vh - var(--header-h) - 80px);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #14141e 0%, #1a0a14 50%, #0f0f1a 100%);
  border-bottom: 1px solid var(--border);
  margin: 0 -12px 24px;
  padding: 40px 24px 36px;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232,25,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,25,90,0.15) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,25,90,0.15);
  border: 1px solid rgba(232,25,90,0.35);
  color: #ff6699;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(90deg, var(--accent), #ff6699);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: all .22s;
  white-space: nowrap;
}
.hero-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.hero-btn.primary:hover {
  background: #ff2d6d;
  box-shadow: 0 6px 24px rgba(232,25,90,.45);
  transform: translateY(-1px);
  color: #fff;
}
.hero-btn.secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-btn.secondary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--text);
}

/* ===== SORT BAR ===== */
.sort-bar {
  margin-bottom: 18px;
}
.sort-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sort-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
}
.sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .18s;
  white-space: nowrap;
}
.sort-pill:hover, .sort-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* ===== SECTION HEADING ===== */
.section-heading {
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sh-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--accent), #ff6699);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== OLD .title class ===== */
.title {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 18px;
  margin-bottom: 16px;
}
.title h1 { font-size: 17px; color: var(--text); }

/* ===== VIDEO GRID (.menu) ===== */
div.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: transparent;
  padding: 0;
}
@media (min-width: 520px)  { div.menu { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { div.menu { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { div.menu { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1400px) { div.menu { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1800px) { div.menu { grid-template-columns: repeat(8, 1fr); } }

div.menu > ul { display: contents; }
div.menu .clear { display: none; }
div.menu .spisok { display: contents; }
div.menu .spisok > div { display: contents; }
div.menu > hr { display: none; }
div.menu > ul > hr { display: none; }

div.menu > .text,
div.menu > .text2,
div.menu > ul > .text,
div.menu > ul > .text2,
div.menu > .page,
div.menu > ul > .page {
  grid-column: 1 / -1;
  display: block;
}

/* ===== VIDEO CARD ===== */
.video {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  min-width: 0;
}
.video:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(232,25,90,.25);
  border-color: rgba(232,25,90,.5);
}
.video > div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.video a {
  color: var(--text);
  display: flex;
  flex-direction: column-reverse;
}
.video a:hover { color: var(--text); }

/* thumbnail */
.video .img, .video .imgs {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0d0d14;
}
.video .img img, .video .imgs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
  border-radius: 0;
  transition: transform .35s ease;
}
.video:hover .img img { transform: scale(1.08); }

/* play overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  color: rgba(255,255,255,0);
  transition: all .22s;
  pointer-events: none;
}
.video:hover .play-overlay {
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
}
.play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
  transform: scale(0.85);
  transition: transform .22s;
}
.video:hover .play-overlay svg { transform: scale(1); }

/* title */
.video span:first-child {
  display: block;
  padding: 8px 9px 9px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  max-height: 42px;
  overflow: hidden;
  color: var(--text);
  order: 2;
}

/* duration badge */
.duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: .3px;
}

/* view count — hidden */
.view { font-size: 0; color: transparent; position: absolute; }

/* hd badge */
.video .hd:after { display: none; }

/* ===== FILTER / SORT BAR (old .razdel) ===== */
.razdel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 14px !important;
  margin: 0 !important;
}
.razdel a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all .18s;
  margin-right: 6px;
}
.razdel a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== SECTION DIVIDER (.razdelv) ===== */
.razdelv {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 0 10px;
  border: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.razdelv::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--accent), #ff6699);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== VIDEO PLAYER PAGE ===== */
.xlink { background: transparent; border: none; padding: 0; margin-bottom: 14px; }
.xlink video {
  width: 100%;
  max-height: 580px;
  border-radius: var(--radius);
  background: #000;
  display: block;
}
.xlink button, .xlink form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 3px 12px var(--accent-glow);
}
.xlink button:hover { background: var(--accent2); }

/* ===== TEXT / INFO BLOCKS ===== */
.text {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.text2 {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}
.seo-text {
  margin-top: 14px;
  font-size: 12px;
  color: #505068;
  background: transparent;
  border-color: #1e1e2a;
}

/* tag links */
.razdel a[href*="/tags/"] {
  background: var(--surface);
  border-color: var(--border);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
}
.razdel a[href*="/tags/"]:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== NAV + CATEGORIES LIST ===== */
img.ico, .ico {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 1 !important;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(300deg) !important;
  flex-shrink: 0;
  vertical-align: middle;
}

ul.nav-list,
div.menu > ul > ul {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 8px !important;
  padding: 18px 0 8px !important;
  border-top: 1px solid var(--border) !important;
  margin-top: 14px !important;
  grid-column: 1 / -1 !important;
  background: transparent !important;
}

ul.nav-list li,
div.menu > ul > ul li { display: block !important; }

ul.nav-list li a,
div.menu > ul > ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  border-radius: 9px !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid #333348 !important;
  color: #b0b0c8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all .2s !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
ul.nav-list li a:hover,
div.menu > ul > ul li a:hover {
  background: var(--card-hover) !important;
  border-left-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(232,25,90,.18) !important;
}

/* Emoji icon span */
.ni { font-size: 16px; line-height: 1; flex-shrink: 0; }

/* Count badge */
.count {
  margin-left: auto !important;
  background: rgba(232,25,90,0.12) !important;
  border: 1px solid rgba(232,25,90,0.25) !important;
  color: #ff7aaa !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

/* "New today" badge */
.new {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 4px;
}

/* ===== PAGINATION ===== */
.page {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 22px 0;
}
.page a, .page b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all .18s;
}
.page a {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}
.page a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 3px 12px var(--accent-glow);
}
.page b {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  box-shadow: 0 3px 12px var(--accent-glow);
}

/* ===== BUTTONS ===== */
.byecos {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin: 4px;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 3px 12px var(--accent-glow);
}
.byecos:hover { background: var(--accent2); }

.tach {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin: 3px;
  transition: all .18s;
}
.tach:hover { background: var(--surface); color: var(--text); }

/* ===== FORMS ===== */
input[type="text"],
input[type="password"],
textarea,
select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
  display: block;
  width: 100%;
  margin-bottom: 8px;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,25,90,.12); }
input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  width: auto;
  display: inline-block;
  transition: background .18s;
}
input[type="submit"]:hover { background: var(--accent2); }
textarea { resize: vertical; min-height: 90px; }

/* ===== ERRORS / MESSAGES ===== */
.err {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--muted);
  text-align: center;
  margin: 10px 0;
}
.msg { display: none !important; }
.list-group-item, .info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}
.site-footer a { color: var(--muted); margin: 0 6px; transition: color .18s; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.footer, .footer2 { background: transparent; border: none; color: var(--muted); font-size: 12px; }

/* ===== MISC ===== */
.clear { clear: both; height: 0; font-size: 0; }
.white { color: #fff; }
.black { color: var(--text); }
.center { text-align: center; }
.ico2 { height: 20px; width: 20px; }
hr { background: var(--border); height: 1px; border: none; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; }
table td, table th { padding: 8px 10px; border-bottom: 1px solid var(--border); }

/* ===== LOGO AREA ===== */
.logo, .logo2 { display: none; }

/* ===== PAGE TITLE (old class) ===== */
.page-title {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 18px;
  margin-bottom: 16px;
}
.page-title h1 { font-size: 17px; color: var(--text); }

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .search-form { display: none; }
  .site-logo { font-size: 18px; }
  .top-nav a { padding: 5px 8px; font-size: 12px; }
  .hero-banner { padding: 28px 16px 24px; margin: 0 -12px 18px; }
  .hero-title { font-size: 22px; }
  .hero-actions { gap: 8px; }
  .hero-btn { padding: 9px 16px; font-size: 12px; }
  .sort-bar-inner { gap: 6px; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-btn { width: 100%; justify-content: center; }
}
