/* Basic reset */
body {
    margin: 0;
    font-family: var(--fontFamily);
    font-size: var(--fontSize);
}

#site-header {
    display: flex;
    align-items: center;
    background: #fff;
    /*padding: 10px;*/
    position: sticky;
    top: 0;
    z-index: 20;
}

#burger {
    cursor: pointer;
    font-size: 30px;
    padding: 8px;
    color: var(--defaultHiliteColor);
}

#header-logo img {
    height: 36px;
    margin-left: 10px;
}

#header-search {
    margin-left: auto;
    display: flex;
    gap: 5px;
}

#header-search input {
    padding: 6px 10px;
    background-color: color-mix(in srgb, black 25%, var(--headerBgColor));
    border-radius: 19px;
    border: none;
    line-height: 1.15;
}

#header-search button {
    /*
    position: absolute;
    right: 0;
    top: 0;
    */
    width: 39px;
    height: 39px;
    background-color: rgba(0,0,0,0);
    border: none;
    z-index: 1;
    cursor: pointer;
    opacity: 40%;
}

#header-search button svg {
    fill: black;
    width: 20px;
    height: 20px;
}

/* Top Menu */
#top-menu {
    display: flex;
    gap: 15px;
    padding: 10px;
    flex-wrap: wrap;
}

#top-menu .dropdown {
    position: relative;
    cursor: pointer;
    color: var(--defaultHiliteColor);
}

#top-menu .dropdown-items {
    display: none;
    /*border: 1px solid #ccc;*/
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 140px;
    z-index: 40;
}

#top-menu .dropdown-items a {
    display: block;
    padding: 8px;
    text-decoration: none;
}

/* Sidebar */
#sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    width: 250px;
    height: 100%;
    background: #fafafa;
    padding-top: 40px;
    transition: left 0.25s ease;
    overflow-y: auto;
    z-index: 30;
}

#sidebar.open {
    left: 0;
}

.sidebar-item,
.sidebar-label {
    padding: 12px 15px;
    display: block;
}

.sidebar-label {
    font-weight: bold;
    background: #f3f3f3;
}

/* Sidebar adverts */
.sidebar-advert img {
    width: 100%;
    height: auto;
    display: block;
}

/* Submenu */
.submenu-items {
    display: none;
    background: white;
    border-left: 3px solid #ccc;
}

.submenu-link {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}

/* Content */
#content-wrapper {
    padding: 15px;
    margin-left: 0;
    transition: margin-left 0.25s;
}

#content-wrapper.withSidebar {
    margin-left: 250px;
}

/* Responsive */
@media (max-width: 900px) {
    #content-wrapper.withSidebar {
        margin-left: 0;
    }

    #header-search {
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    #header-search {
        flex-grow: 1;
        max-width: none;
    }

    #header-logo img {
        height: 28px;
    }
}

/* ========================================= */
/* COLORS */
/* ========================================= */

#site-header {
    background-color: var(--headerBgColor);
}
#sidebar, #sidebar .sidebar-label{
    background-color: var(--sidebarBgColor);
    color: var(--defaultHiliteColor);
}
#top-menu {
    background: var(--headerMenuBgColor);
}
#content-wrapper {
    background-color: var(--defaultBgColor);
    color: var(--defaultHiliteColor);
}
.submenu-items, .dropdown-items {
    background-color: color-mix(in srgb, white 3%, var(--sidebarBgColor));
    backdrop-filter: blur(2px);
    border-radius: 4px;
}
a {
    color: var(--defaultHiliteColor);
}   

/* ========================================= */
/* DARK THEME */
/* ========================================= */


body.dark {
    --header-bg-color: #222; --sidebar-bg-color: #181818; --tab-bg-color: #333; --tab-active-bg-color: #888;
    --tab-text-color: #eee; --tab-active-text-color: #fff; --content-bg-color: #111;
}
body.dark #site-header,
body.dark #top-menu,
body.dark #sidebar {
    background-color: #222;
}
body.dark #content-wrapper {
    color: #eee;
}
body.dark a {
    color: #eee;
}
.svg-button svg {
    stroke: currentColor;
    fill: none;
}

body.dark {
    background: #111;
    color: #eee;
}

body.dark #site-header {
    background: #222;
    border-bottom-color: #444;
}

body.dark #top-menu {
    background: #1b1b1b;
    border-bottom-color: #444;
}

body.dark #top-menu .dropdown-items {
    background: #222;
    border-color: #555;
}

body.dark #sidebar {
    background: #181818;
    border-right-color: #444;
}

body.dark .sidebar-item,
body.dark .sidebar-label,
body.dark .submenu-link {
    border-bottom-color: #333;
    color: #ddd;
}

body.dark .sidebar-label {
    background: #202020;
}

body.dark #content-wrapper {
    background: #111;
    color: #eee;
}
body.dark #burger {
    color: #ddd;
}

/* ========================================= */
/* MOBILE MODE (Manual override) */
/* ========================================= */

body.mobile-mode #content-wrapper {
    margin-left: 0 !important;
}

body.mobile-mode #sidebar {
    left: -260px !important; /* always hidden until tapped */
}

body.mobile-mode #sidebar.open {
    left: 0 !important;
}

body.mobile-mode #site-header {
    flex-wrap: wrap;
}

body.mobile-mode #header-search {
    width: 100%;
    margin-top: 8px;
}

body.mobile-mode #top-menu {
    flex-direction: column;
    gap: 8px;
}

.svg-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 10px;
    color: #333;
    transition: color 0.25s;
}

.svg-button:hover {
    color: var(--headerBgColor);
}

body.dark .svg-button {
    color: #eee;
}

/* Remove underline from links in menus */
#top-menu a,
#sidebar a {
    text-decoration: none;
    /*color: inherit; darkmode?*/
}

#top-menu a:hover,
#sidebar a:hover {
    text-decoration: none; /* ensures hover doesn't add underline */
    color: var(--headerBgColor);
}

#sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 50;
}

body.dark #sidebar-close {
    color: #eee; /* optional if you want it slightly brighter in dark mode */
}

#sidebar-close svg {
    width: 24px;
    height: 24px;
}

#sidebar {
    transition: left 0.25s ease;
}

#sidebar.open {
    left: 0;
}

.thumb {
    width: 40px;
}

/* reduce sidebar items spacing */

.sidebar-item,
.sidebar-label {
    border-bottom: none; /* removes line */
    padding: 8px 12px; /* smaller spacing */
}


.submenu-items {
    border-left: none;
    margin: 0;
    padding: 0;
}
.submenu-link {
    padding: 6px 12px; /* tighter spacing */
    border-bottom: none;
}

/* webcamsIndex */

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 15px;
}

.model-card {
    background-color: var(--sidebarBgColor); /* or another card bg color */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.model-card a {
    color: inherit;
    text-decoration: none;
}

.model-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* square aspect ratio */
    overflow: hidden;
}

.model-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-status {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    text-transform: uppercase;
}

.model-info {
    padding: 8px 10px;
}

.model-nickname {
    margin: 0;
    font-size: 1em;
    font-weight: bold;
}

.model-info {
    margin: 0;
    font-size: 0.85em;
    color: #ccc;
}

/* Grid with variable cell sizes */
.models-grid {
    display: grid;
    gap: 15px;
    padding: 15px;
}

o.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.model-card .model-img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.model-card .model-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

/*
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    */
}

.model-card:hover .model-img {
    transform: scale(1.05);
}

/* **** TOP-LEFT BADGE (STAR / FLAG / ICON) **** */
.model-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 5;
}

.model-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* **** BOTTOM OVERLAY AREA **** */
.model-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    padding: 8px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: end;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0)
    );
}

.model-info {
    display: flex;
    flex-direction: column;
}

.model-name {
    font-size: 1.1em;
    font-weight: 600;
}

.model-age {
    font-size: 0.95em;
    opacity: 0.9;
}

/* "Similar" link inside overlay */
.model-similar {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    color: white;
    font-size: 0.85em;
    backdrop-filter: blur(2px);
    transition: background 0.2s;
}

.model-similar:hover {
    background: rgba(255,255,255,0.35);
}


.models-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.models-grid.medium {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.models-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-link {
    padding: 6px 12px;
    background: var(--sidebarBgColor);
    color: var(--defaultHiliteColor);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.page-link:hover {
    background: rgba(255,255,255,0.2);
}

.page-link.active {
    background: #1e90ff;
    color: #fff;
}

/* webcamsProfile */

.offline-banner {
  background: #222;
  color: #ff4c4c;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 15px;
}

.offline-banner .last-online {
  color: #bbb;
  font-weight: 400;
  margin-left: 8px;
}

.profile-container {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-video {
    margin-left: 2%;
    margin-right: 2%;
}

.profile-video iframe {
    /*width: 100%;*/
    height: 651px;
    border: none;
    border-radius: 8px;
}

.tab-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.tab-wrapper .model-preview {
    width: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-right: 15px;
}

/*
.model-wrapper .model-preview {
        height: 400px;
        min-width: 100%;
    }
    */

.profile-summary {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name {
    margin: 0;
    font-size: 2em;
}

.profile-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95em;
}

.main-site-link {
    display: inline-block;
    margin-top: 10px;
    background: #1e90ff;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.main-site-link:hover {
    background: var(--headerBgColor);
}

/* Tabs */
.profile-tabs {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    /*padding-bottom: 5px;*/
    list-style: none;
}

.tab-nav li {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px 4px 0 0;
}

.tab-nav li.active {
    color: #fff;
    font-weight: bold;
}

.tab-nav a {
    text-decoration: none;
}

.tab-content {
    padding: 12px;
    background: #fafafa;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Photos grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.photo-cell img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Stats list */
.stats-list {
    list-style: none;
    padding: 0;
}

.stats-list li {
    margin-bottom: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-video iframe {
        height: 250px;
    }

    .profile-info {
        flex-direction: column;
    }

    .tab-nav {
        flex-direction: column;
    }
}

/* Tabs */
.profile-tabs .tab-nav li, .profile-tabs .tab-nav li a {
    background-color: var(--tab-bg-color);
    color: var(--tab-text-color);
}

.profile-tabs .tab-nav li.active {
    background-color: var(--tab-active-bg-color);
    color: var(--tab-active-text-color);
}

.profile-tabs .tab-content {
    background-color: var(--content-bg-color);
}

.tab-paneXXX {
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-left: 14px;
}    

img#bio-thumb {
    max-height: 200px;
}

.model-details {
    display:-webkit-box;
    display:-webkit-flex;
    display:-moz-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap
}

.model-details .detail-item {
    padding-left: 20px;
    margin-bottom: 15px;
    width: 30%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;

  /*display: flex;*/
    /*
  align-items: center;
  color: white;
    min-height: 50px;
  */
  border-left: 3px solid var(--tab-bg-color);

}

.model-details .detail-item-wide {
    width: 100%;
}

.stats-wrapper {
    font-family: Outfit, sans-serif;
    color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 40px;
    margin: 40px auto;
    background: black;
    border-radius: 20px;
    padding: 30px;
}

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

.stat-card {
    position: relative;
    padding: 20px;
    overflow: hidden;
    transition: 0.3s;
}

 /* scroll tags*/
    
   .marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 8px 0;
    
    position: relative;
    font-family: "Poppins", sans-serif;
    font-size: 0.9em;
    
  } 
          
  .marquee-content {
    display: inline-block;
    animation: marquee 650s linear infinite; /* Slow and smooth */
    padding-right: 100%;
  }
  
  .marquee:hover .marquee-content {
    animation-play-state: paused;
  } 
    
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
  } 

  /* --- List Styles --- */
  .scrolling-list {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
  } 
    
  .scrolling-list li {
    display: inline;
    margin-right: 40px;
  }
  
  .scrolling-list strong a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-right: 4px;
  } 
  
  .scrolling-list strong a:hover {
    text-decoration: underline;
  } 
  
  .links-tags {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
  } 

  .links-tags:hover {
    text-decoration: underline;
  }


    /* ============================================================
     🌫️  EFFECT 1 — Fade Edges
     ============================================================ */
  .marquee-effect-1::before,
  .marquee-effect-1::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .marquee-effect-1::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent 100%);
  }

  .marquee-effect-1::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent 100%);
  }

  /* ============================================================
     ⚡ EFFECT 2 — Neon Glow Tags
     ============================================================ */
  .marquee-effect-2 .links-tags {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700, 0 0 10px #ffaa00;
    transition: 0.3s;
  }

  .marquee-effect-2 .links-tags:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 20px #ffd700;
  }

  /* ============================================================
     ✨ EFFECT 3 — Shimmer Text
     ============================================================ */
  .marquee-effect-3 .scrolling-list li {
    position: relative;
    overflow: hidden;
  }

  
   .marquee-effect-3 .scrolling-list li::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.3) 50%,
      rgba(255,255,255,0) 100%
    );
    animation: shimmer 8s infinite;
  }

  @keyframes shimmer {
    0% { left: -50%; }
    100% { left: 120%; }
  }

  /*logo  -overlay*/

  .logo-overlay {
    position: absolute;

    transform: translateY(-50%);
    width: 64px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.3s;
    margin-left: 8px;
  }

  .logo-overlay:hover {
    transform: translateY(-50%) scale(1.1) rotate(5deg);
  }


.sidebar-item {
    display: flex;
    vertical-align: middle;
    height: auto;
}

.sidebar-item div.svg {
    display: flex;
    background-color: rgb(56, 56, 56) !important;
    color: rgb(229, 229, 247) !important;
    border-radius: 9999px;
    width: 2rem;
    height: 2rem;
    align-items: center;
}

.sidebar-item div.svg svg {
    display: block;
    width: 1.2rem;
    height: auto;
    fill: white;
    margin: auto;
}

.sidebar-item div.label {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 1rem;
}









