/* ============================================
   DESIGN SYSTEM - CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --color-bg-primary: #f6edea;
    --color-bg-dark: #18181b;
    --color-bg-overlay: rgba(0, 0, 0, 0.7);
    --color-bg-modal: #1b1b22;
    --color-bg-card: rgba(20, 20, 30, 0.6);
    
    --color-text-primary: #231120;
    --color-text-secondary: #8a8996;
    --color-text-light: #f6f6f6;
    --color-text-muted: #aea3b7;
    
    --color-accent: #ff5c00;
    --color-accent-glow: #ff99cc;
    --color-accent-hover: #2b2f35;
    --color-border: rgba(35, 17, 32, 0.1215686275);
    --color-border-dark: rgba(24, 24, 27, 0.0784313725);
    
    /* Gradients */
    --gradient-primary: linear-gradient(105deg, #ff4d8c, #b93b6e);
    --gradient-hero: linear-gradient(125deg, #ffffff, #ffb3d1, #c49eff);
    --gradient-sidebar-active: linear-gradient(95deg, rgba(255, 77, 140, 0.2), rgba(106, 78, 255, 0.1));
    --gradient-card-bg: linear-gradient(145deg, #1a1a2a, #111118);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 50%;
    --radius-pill: 60px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    
    /* Layout */
    --sidebar-width: 300px;
    --header-height: 56px;
    --footer-height: 64px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    outline: 0;
    border: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body,
html {
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin-block: 20px 16px;
    color: var(--color-text-primary);
}

h3 {
    font-size: 18px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    outline: 0;
    cursor: pointer;
}

.text-link {
    display: inline;
    color: var(--color-accent);
}

.text-link:hover {
    color: var(--color-text-muted);
}

/* ============================================
   LAYOUT
   ============================================ */
.wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1920px;
    height: 100%;
    padding-inline: 10px;
    margin: 0 auto;
}

main {
    margin-top: 70px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    left: -100%;
    top: 8px;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    z-index: 4;
    transition: left var(--transition-smooth);
}

.sidebar--open {
    left: 0;
}

.sidebar__container {
    padding-top: 50px;
    height: 100%;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--color-bg-dark);
    width: 100%;
}

.sidebar__row {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.sidebar__nav {
    list-style: none;
}

.sidebar__item {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    line-height: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    white-space: nowrap;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 16px;
}

.sidebar__link i {
    width: 24px;
}

.sidebar__link--active {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    margin: var(--spacing-sm);
    border-radius: var(--radius-2xl);
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
    z-index: 4;
    position: relative;
}

.header__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.header__logo {
    flex: 0 0 125px;
    position: relative;
    z-index: 3;
}

.header__logo img {
    max-width: 100%;
    display: block;
}

/* Menu Button (Hamburger) */
.menu-btn {
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    font-size: 0;
    color: #fff;
}

.menu-btn__lines {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    width: 24px;
    height: 3px;
    background-color: #fff;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
    content: "";
    position: absolute;
    border-radius: 2px;
    width: 24px;
    height: 3px;
    background-color: #fff;
}

.menu-btn__lines::before {
    top: -9px;
}

.menu-btn__lines::after {
    top: 9px;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

.nav-desktop__list {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-desktop__link {
    font-size: 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    white-space: nowrap;
    color: var(--color-text-light);
    font-weight: 500;
}

.nav-desktop__link i {
    width: 20px;
}

.nav-desktop__link--active {
   background-color: #f9f9f9;
    color: #2b2f35;
}

/* ============================================
   SEARCH COMPONENT
   ============================================ */
.search {
    height: 48px;
    background-color: #0f0f0f;
    border-radius: var(--radius-pill);
    max-width: 313px;
    width: 100%;
}

.search__form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    height: 100%;
    font-size: 0;
    border-radius: var(--radius-pill);
    width: 100%;
}

.search__input {
    position: relative;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: var(--color-text-secondary);
    font-weight: 500;
    padding-inline: var(--spacing-lg) 54px;
    border: 1px solid #323133;
    background-color: hsla(0, 0%, 100%, 0.0784313725);
    font-family: inherit;
}

.search__input::placeholder {
    color: var(--color-text-secondary);
}

.search__btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: solid #323133;
    border-width: 1px 1px 1px 0;
    height: 100%;
    min-width: 55px;
    color: #fff;
    background-color: hsla(0, 0%, 100%, 0.0784313725);
    cursor: pointer;
    font-family: inherit;
}

.search__btn--mobile {
    color: #fff;
    border-radius: var(--radius-pill);
    width: 48px;
    flex: 0 0 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40px;
    width: 40px;
    padding: 10px;
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    background: transparent;
}

.search--mobile {
    display: none;
    position: absolute;
    right: 10px;
    height: 48px;
    left: auto;
    width: calc(100% - 78px);
    z-index: 8;
}

/* Autocomplete */
.autocomplete {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* ============================================
   GENDER / ORIENTATION BUTTON
   ============================================ */
.gender-btn {
    font-weight: 600;
    padding: 11px;
    border: none;
    outline: none;
    color: var(--color-text-light);
    background: inherit;
    font-family: inherit;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.gender-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
}

.header__btn {
    display: flex;
    height: 40px;
    width: 40px;
    padding: 10px;
    align-items: center;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    cursor: pointer;
}

.svg-icon {
    height: 20px;
    width: 20px;
    color: rgba(24, 24, 27, 0.4784313725);
    fill: rgba(24, 24, 27, 0.4784313725);
    pointer-events: none;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.page-header__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.page-header__title i {
    color: var(--color-accent);
}

.page-header__count {
    background: rgba(255, 77, 140, 0.15);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent-glow);
}

.page-header__stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header__stat {
    background: rgba(255, 77, 140, 0.15);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-header__stat i {
    font-size: 12px;
}

/* ============================================
   SORT SECTION
   ============================================ */
.sort-section {
    margin-bottom: 24px;
}

.sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sort p {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    background: #2a2a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sort-btn:hover {
    background: #3a3a40;
    transform: translateY(-1px);
    color: #fff;
}

.sort-btn--active {
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    border-color: #ff4d8c;
    color: #fff;
}

/* ============================================
   TITLE ROW
   ============================================ */
.title-row {
    display: flex;
    justify-content: space-between;
    margin: var(--spacing-lg) 0;
    align-items: center;
}

.title-row h1 {
    margin: 0;
}

/* ============================================
   SECTION WRAPPER
   ============================================ */
.section-wrapper {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 20px;
    color: var(--color-accent);
}

.section-title h2 {
    font-size: 20px;
    margin: 0;
    color: var(--color-text-primary);
}

.section-link {
    color: #ff2d75;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.section-link:hover {
    text-decoration: underline;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    border-radius: 3px;
}

/* ============================================
   GRID & CARDS
   ============================================ */
.grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.grid__item {
    position: relative;
    padding: 0 8px;
    width: 100%;
    margin-bottom: 20px;
}

.grid__item-link {
    display: block;
    text-decoration: none;
}

.grid__item-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    background: #1a1a2e;
}

.grid__item-img img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.grid__item:hover .grid__item-img img {
    filter: brightness(70%);
    transform: scale(1.05);
}

.grid__item-duration {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    font-size: 12px;
    font-weight: 500;
    color: #d9d9d9;
    background-color: rgba(24, 24, 27, 0.62);
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    z-index: 1;
}

.grid__item-date {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 12px;
    font-weight: 500;
    color: #d9d9d9;
    background-color: rgba(24, 24, 27, 0.62);
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    z-index: 1;
}

.badge--featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffd700;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.badge--hd {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff4d8c, #e82c2f);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

/* Video Model Info */
.video-model-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.model-avatar-wrapper {
    position: relative;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.model-avatar-link {
    display: block;
}

.model-avatar {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid #aeaaa7;
    transition: all var(--transition-fast);
}

.model-avatar:hover {
    transform: scale(1.05);
    border-color: var(--color-accent);
}

.model-name-wrapper {
    flex: 1;
}

.model-name {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1.2;
}

.model-name:hover {
    color: var(--color-accent);
    background: rgba(24, 24, 27, 1);
    border-color: rgba(255, 77, 140, 0.3);
}

/* Video Stats */
.video-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.video-stats i {
    margin-right: 3px;
    font-size: 10px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    justify-content: center;
}

.tag {
    padding: var(--spacing-xs) var(--spacing-lg);
    font-weight: 500;
}

.tag--small {
    display: flex;
    align-items: center;
    padding: 1px 7px;
    margin-left: 6px;
    border: 1px solid #18181b14;
    border-radius: var(--radius-2xl);
    transition: var(--transition-smooth);
    white-space: nowrap;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tag--small:hover {
    background-color: var(--color-bg-dark);
    color: #fff;
}

.tag--small i {
    margin-right: 4px;
    font-size: 10px;
}

/* ============================================
   MODELS GRID
   ============================================ */
.grid--models {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.model-card {
    position: relative;
    width: calc(16.666% - 15px);
    min-width: 140px;
    background: #18181b;
    border-radius: 10px;
    border: 1px solid rgba(255, 77, 140, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 140, 0.5);
    box-shadow: 0 8px 24px rgba(255, 77, 140, 0.15);
}

.model-card__link {
    text-decoration: none;
    display: block;
}

.model-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;  
    background: #1a1a2e;
}

.model-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

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

.model-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(24, 24, 27, 0.95), transparent);
    padding: 15px 8px 8px;  /* Reduced from 20px 12px 12px */
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.model-card:hover .model-card__overlay {
    transform: translateY(0);
}

.model-card__view-btn {
    display: inline-block;
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.model-card__content {
    padding: 6px 8px 10px;  /* Reduced padding */
    text-align: center;
    position: relative;
    background: #18181b;
}

.model-card__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model-card__stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}


.model-card__stat {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.model-card__stat i {
    font-size: 9px;
    color: #ff4d8c;
}

.model-card__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #ff4d8c, #e82c2f);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.model-card__videos-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 7px;
    font-weight: 700;
    z-index: 2;
    color: white;
    display: flex;
    align-items: center;
    gap: 2px;
}

.model-card__verified {
    color: #ffd700;
    font-size: 11px;
    margin-left: 4px;
}

.model-card__country {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* ============================================
   CATEGORY & SOURCE CARDS
   ============================================ */
.grid--categories,
.grid--sources {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.category-card,
.source-card {
    position: relative;
    width: calc(20% - 20px);
    min-width: 180px;
    background: #18181b;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 77, 140, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.category-card:hover,
.source-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 140, 0.5);
    box-shadow: 0 8px 24px rgba(255, 77, 140, 0.15);
}

.category-card__image,
.source-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a1a2e;
}

.category-card__img,
.source-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-card__img,
.source-card:hover .source-card__img {
    transform: scale(1.05);
}

.category-card__placeholder,
.source-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4d8c, #b93b6e);
    color: white;
}

.category-card__placeholder i,
.source-card__placeholder i {
    font-size: 32px;
}

.category-card__overlay,
.source-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.category-card:hover .category-card__overlay,
.source-card:hover .source-card__overlay {
    opacity: 1;
}

.category-card__overlay i,
.source-card__overlay i {
    font-size: 2rem;
    color: white;
}

.category-card__content,
.source-card__content {
    padding: 12px;
    text-align: center;
    background: #18181b;
}

.category-card__name,
.source-card__name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card__stats,
.source-card__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.category-card__stats i,
.source-card__stats i {
    font-size: 10px;
    color: #ff4d8c;
}

/* ============================================
   SOURCE / CATEGORY INFO BAR
   ============================================ */
.source-info-bar,
.category-info-bar {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(17, 17, 20, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 45, 117, 0.15);
}

.source-info-bar__content,
.category-info-bar__content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.source-info-bar__item,
.category-info-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-info-bar__item i,
.category-info-bar__item i {
    color: var(--color-accent);
}

.source-info-bar__item span,
.category-info-bar__item span {
    color: var(--color-text-light);
}

.source-info-bar__item small,
.category-info-bar__item small {
    color: var(--color-text-muted);
    font-size: 12px;
}

.source-info-bar__item a,
.category-info-bar__item a {
    color: var(--color-accent);
    text-decoration: none;
}

.source-info-bar__description,
.category-info-bar__description {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.source-info-bar__description i,
.category-info-bar__description i {
    color: var(--color-accent);
    font-size: 12px;
    margin-top: 2px;
}

.source-info-bar__description p,
.category-info-bar__description p {
    color: var(--color-text-secondary);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   HERO BANNER (HOMEPAGE)
   ============================================ */
.hero-banner {
    margin-bottom: 40px;
}

.hero-banner__container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
}

.hero-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px;
}

.hero-banner__title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.hero-banner__model {
    color: #ccc;
    margin-bottom: 20px;
}

.hero-banner__btn {
    display: inline-flex;
    width: auto;
    padding: 12px 28px;
}

/* ============================================
   SEARCH QUERY & TABS
   ============================================ */
.search-query {
    background: rgba(255, 45, 117, 0.1);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    border: 1px solid rgba(255, 45, 117, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.search-query i {
    color: var(--color-accent);
    font-size: 12px;
}

.search-query span {
    color: var(--color-text-light);
    font-weight: 500;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.search-tab {
    padding: 8px 20px;
    background: transparent;
    border-radius: 30px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.search-tab i {
    margin-right: 6px;
}

.search-tab:hover {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    color: #fff;
}

/* ============================================
   BOTTOM MOBILE NAVIGATION
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    background-color: #1b1b22;
}

.bottom-nav__menu {
    width: 100%;
}

.bottom-nav__list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    list-style: none;
}

.bottom-nav__link {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    flex-wrap: wrap;
    color: var(--color-text-light);
    cursor: pointer;
}

.bottom-nav__link i {
    font-size: 18px;
}

.bottom-nav__link span {
    font-size: 11px;
    margin-top: 4px;
}

.bottom-nav__link--active {
    color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-bg-dark);
    padding-bottom: var(--spacing-2xl);
}

.footer__top {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
}

.footer__text {
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    max-width: 960px;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
}

.footer__text .txt {
    padding-top: var(--spacing-xl);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
    position: absolute;
    right: 0;
    bottom: 700px;
    z-index: 1;
    font-weight: 900;
    opacity: 0;
    visibility: hidden;
}

.scroll-top--active {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.btn-top {
    position: fixed;
    right: 20px;
    bottom: 160px;
    border-radius: var(--radius-pill);
    transition-property: background-color, color;
    transition-duration: var(--transition-fast);
    transition-timing-function: linear;
    cursor: pointer;
    display: none;
    width: 54px;
    height: 54px;
    background: rgba(90, 90, 90, 0.4196078431);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: ease-out 0.1s;
    color: var(--color-text-light);
    box-shadow: 0 0 1px var(--color-text-primary);
    padding: 0;
}

.btn-top i {
    font-size: 24px;
}

.btn-top:hover {
    background: var(--color-accent-hover);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 14px var(--spacing-lg);
    font-size: 14px;
    font-weight: 500;
    gap: var(--spacing-xs);
    background-color: #1b1b22;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

.btn--red {
    width: 100%;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 34px;
    height: 54px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgba(255, 124, 2, 0.95) 35%, rgba(250, 55, 102, 0.95) 100%);
    border: none;
}

.btn--red:hover {
    background: var(--color-accent-hover);
}

.btn--primary {
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 77, 140, 0.3);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

.pagination__item {
    margin: 5px;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 23px;
    font-weight: 700;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
    background: #2a2a2e;
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
    text-decoration: none;
    color: #ccc;
    cursor: pointer;
}

.pagination__link:hover {
    background-color: #3a3a40;
    color: #fff;
}

.pagination__link.pagination__link_disabled {
    background: #181818;
    color: #666;
    pointer-events: none;
}

.pagination .next,
.pagination .prev {
    text-transform: uppercase;
    display: flex;
    height: 48px;
    max-width: 102px;
    width: 102px;
    padding: 14px 16px;
    align-items: center;
    gap: 4px;
    border-radius: 48px;
    background: #e82c2f;
    color: #fff;
    transition: background ease-in-out .3s;
    margin: 0 8px;
}

.pagination .next:hover,
.pagination .prev:hover {
    background: #c41e21;
}

/* ============================================
   NO RESULTS
   ============================================ */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: var(--border-medium);
}

.no-results__icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.no-results__title {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 24px;
}

.no-results__text {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   MODAL & POPUP
   ============================================ */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    background-color: var(--color-bg-overlay);
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    min-height: 100%;
}

.modal__content {
    position: relative;
    border-radius: 20px;
    padding: var(--spacing-lg);
    width: 100%;
    max-width: 494px;
    background-color: var(--color-bg-modal);
    opacity: 1;
}

.modal__title {
    text-align: center;
    margin-bottom: 31px;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
}

.modal__title span {
    color: var(--color-accent);
}

.modal__text {
    font-size: 14px;
    color: #f9f9f9;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal__text p + p {
    margin-top: var(--spacing-lg);
}

.modal__btn {
    margin-top: var(--spacing-2xl);
}

/* Popup */
.popup {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 500;
    width: 100%;
    height: 101%;
    background-color: var(--color-bg-overlay);
    opacity: 0;
    transform: translate(-50%, -50%);
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popup--active {
    opacity: 1;
    visibility: visible;
}

.popup__body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    min-height: 100%;
}

.popup__content {
    position: relative;
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 350px;
    background-color: var(--color-bg-modal);
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-smooth);
}

.popup--active .popup__content {
    opacity: 1;
    transform: scale(1);
}

.popup__name {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.popup__name h3 {
    color: #fff;
}

.popup__close {
    font-size: var(--spacing-lg);
    cursor: pointer;
    text-align: right;
    color: #fff;
}

.popup__img {
    margin-bottom: var(--spacing-lg);
}

.popup__img img {
    margin: 0 auto;
}

.thanks__txt {
    text-align: center;
    font-weight: 500;
    margin-top: 46px;
    color: #fff;
}

.thanks__btn {
    max-width: max-content;
    margin: var(--spacing-lg) auto 0;
}

/* Orientation List */
.orientation-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.orientation-item {
    margin-bottom: 12px;
}

.orientation-item:last-child {
    margin-bottom: 0;
}

.orientation-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.orientation-option:hover {
    background: rgba(255, 77, 140, 0.2);
    transform: translateX(4px);
}

.orientation-item.active .orientation-option {
    background: rgba(255, 77, 140, 0.3);
    border: 1px solid rgba(255, 77, 140, 0.5);
}

.orientation-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 77, 140, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.orientation-icon i {
    font-size: 18px;
    color: var(--color-accent-glow);
}

.orientation-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-light);
}

.orientation-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.orientation-item.active .orientation-check {
    opacity: 1;
}

.orientation-check i {
    font-size: 18px;
    color: var(--color-accent-glow);
}

/* Checkbox Styling */
.checkbox {
    display: none;
}

.checkbox-label {
    position: relative;
    display: inline-block;
    padding-left: 25px;
    font-size: 15px;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding-bottom: 6px;
}

.checkbox-label::before {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    border: 1px solid #7f7a8c;
    border-radius: var(--radius-sm);
    width: 16px;
    height: 16px;
    background-color: #fff;
    transform: translateY(15%);
    cursor: pointer;
}

.checkbox:checked + .checkbox-label::before {
    background: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.73995 0.327334C10.1115 0.735992 10.0813 1.36844 9.67268 1.73995L4.17268 6.73995C3.79126 7.08669 3.20876 7.08669 2.82733 6.73995L0.327334 4.46722C-0.0813234 4.09571 -0.11144 3.46326 0.260067 3.05461C0.631574 2.64595 1.26402 2.61583 1.67268 2.98734L3.50001 4.64855L8.32733 0.260067C8.73599 -0.11144 9.36844 -0.0813234 9.73995 0.327334Z' fill='%23FFFFFF'/%3E%3C/svg%3E") center/10px no-repeat #7f7a8c;
}

fieldset {
    margin-bottom: var(--spacing-xl);
    border: none;
}

/* ============================================
   ANIMATED CONTENT PLACEHOLDER
   ============================================ */
.load-wraper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #2a2a35;
    overflow: hidden;
    z-index: 1;
}

.load-wraper.circular {
    border-radius: 50%;
}

.load-wraper.circular .activity {
    border-radius: 50%;
}

.activity {
    position: absolute;
    left: -45%;
    top: 0;
    height: 100%;
    width: 45%;
    background-image: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.02)
    );
    animation: loading 1.2s infinite;
    z-index: 2;
}

@keyframes loading {
    0% {
        left: -45%;
    }
    100% {
        left: 100%;
    }
}

.load-wraper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.load-wraper img.loaded {
    opacity: 1;
}

/* Skeleton text lines */
.skeleton-line {
    height: 12px;
    background-color: #2a2a35;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.skeleton-line:last-child {
    margin-bottom: 0;
}

.skeleton-line .activity {
    position: absolute;
    left: -45%;
    top: 0;
    height: 100%;
    width: 45%;
    background-image: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.02)
    );
    animation: loading 1.2s infinite;
}

/* ============================================
   ERROR PAGES (404, 500)
   ============================================ */
.error-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.error-code {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.error-number {
    font-size: 120px;
    font-weight: 800;
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(255, 77, 140, 0.3);
    animation: bounce 0.6s ease-out;
}

.error-zero {
    color: var(--color-text-light);
    animation: bounce 0.6s ease-out 0.1s both;
}

@keyframes bounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    margin-bottom: 40px;
}

.error-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.error-text {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 140, 0.3);
}

.error-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.error-btn:hover i:first-child {
    transform: scale(1.1);
}

.error-btn:hover i:last-child {
    transform: translateX(4px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none;
}

.accent {
    background: var(--color-text-primary);
    color: #fff;
    white-space: nowrap;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    padding: 7px var(--spacing-md);
}

hr {
    background-color: var(--color-border-dark);
    height: 1px;
    width: 100%;
    margin: var(--spacing-xl) 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    border-radius: var(--spacing-xs);
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px #1b1b22;
    border-radius: var(--spacing-xs);
}
::-webkit-scrollbar-thumb {
    background: #2b2f35;
    border-radius: var(--spacing-xs);
}

/* Animation */
@keyframes btnExit {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btnExit {
    animation-name: btnExit;
    animation-duration: 0.25s;
    animation-fill-mode: both;
}

/* Lazy Load Images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media all and (min-width: 350px) {
    .grid__item {
        width: 50%;
    }
}

@media only screen and (min-width: 374px) {
    .container {
        padding-inline: 15px;
    }
    .search--mobile {
        right: 15px;
    }
}

@media all and (min-width: 374px) {
    .search {
        min-width: 290px;
    }
}

@media all and (min-width: 410px) {
    .grid__item .tags {
        height: 25px;
        overflow: hidden;
        display: flex;
    }
}

@media only screen and (min-width: 479.98px) {
    .bottom-nav {
        display: none;
    }
    .sidebar {
        background-color: transparent;
    }
    .sidebar__container {
        width: var(--sidebar-width);
    }
    .grid__item {
        width: 50%;
    }
}

@media only screen and (min-width: 679.98px) {
    .search--mobile {
        display: block;
        position: static;
    }
    .search__btn--mobile {
        display: none;
    }
}

@media only screen and (min-width: 767.98px) {
    main {
        margin-top: 90px;
    }
    .header__logo {
        margin-right: auto;
        margin-left: 0;
        flex: 0 0 135px;
    }
    .grid__item {
        width: 33.3333333333%;
    }
    .footer__top {
        border-bottom: 1px solid #261f1f;
    }
}

@media all and (min-width: 767.98px) {
    .bottom-nav__link {
        font-size: 16px;
    }
    .header {
        padding: var(--spacing-md) 0;
    }
}

@media only screen and (min-width: 1023.98px) {
    .container {
        padding-inline: var(--spacing-xl);
    }
    main {
        margin-top: 20px;
    }
    .tag--small:hover {
        background-color: var(--color-accent-hover);
        color: #fff;
    }
    .grid__item {
        width: 25%;
    }
    .sidebar {
        background-size: 50%;
    }
    .grid__item {
        margin-bottom: 14px;
    }
    .btn-top {
        right: 40px;
    }
}

@media (min-width: 1023.98px) {
    .modal__content {
        padding: var(--spacing-xl);
    }
}

@media only screen and (min-width: 1073.98px) {
    .nav-desktop {
        margin: 0 auto;
        display: flex;
    }
}

@media only screen and (min-width: 1250px) {
    .grid__item {
        width: 20%;
    }
}

@media all and (min-width: 1300px) {
    .nav-desktop__link {
        font-size: 16px;
    }
}

@media all and (min-width: 1400px) {
    .model-card {
        width: calc(13.666% - 20px);
    }
    .category-card,
    .source-card {
        width: calc(16.666% - 20px);
    }
}

@media all and (min-width: 1500px) {
    .nav-desktop__list {
        gap: var(--spacing-xl);
    }
    .grid__item {
        width: 14.22225%;
    }
}

@media all and (min-width: 1502px) {
    .bottom-nav {
        display: none;
    }
}

@media all and (min-width: 1600px) {
    .nav-desktop__link {
        display: flex;
    }
}

@media only screen and (max-width: 1023.98px) {
    .sidebar__item {
        overflow: hidden;
        border-radius: var(--radius-md);
    }
    .modal__title {
        text-align: center;
    }
}

@media only screen and (max-width: 767.98px) {
    .header__logo {
        margin: 0 auto;
    }
    .error-number {
        font-size: 70px;
        gap: 10px;
    }
    .error-title {
        font-size: 22px;
    }
    .error-text {
        font-size: 14px;
    }
    .error-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-header__stats {
        margin-top: 8px;
    }
    .section-title h2 {
        font-size: 20px;
    }
    .section-title i {
        font-size: 20px;
    }
    .hero-banner__container {
        height: 300px;
    }
    .hero-banner__title {
        font-size: 24px;
    }
    .hero-banner__content {
        padding: 20px;
    }
    .model-avatar {
        width: 30px;
        height: 30px;
    }
    .model-name {
        font-size: 11px;
        padding: 3px 8px;
    }
    .pagination__item {
        margin: 2px;
    }
    .pagination__link {
        height: 34px;
        padding: 0 10px;
        min-width: 34px;
        max-width: 34px;
        min-height: 34px;
        max-height: 34px;
    }
    .pagination .next,
    .pagination .prev {
        height: 34px;
        max-width: 70px;
        width: 70px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 575px) {
    .model-card {
        width: calc(100% - 20px);
        max-width: 280px;
        margin: 0 auto;
    }
    .category-card,
    .source-card {
        width: calc(100% - 20px);
        max-width: 260px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 480px) {
    .error-number {
        font-size: 50px;
        gap: 8px;
    }
    .error-title {
        font-size: 18px;
    }
    .error-btn {
        padding: 8px 16px;
    }
    .error-btn span {
        font-size: 11px;
    }
}

@media only screen and (max-width: 479.98px) {
    .footer__nav {
        padding-top: 0;
    }
}

@media (any-hover: hover) {
    .tag--small:hover {
        background-color: var(--color-bg-dark);
        color: #fff;
    }
    .sidebar__link:hover {
        color: #fff;
    }
    .grid__item:hover .grid__item-img {
        filter: brightness(70%);
    }
}


/* ============================================
   DROPDOWN SORT STYLES (for Models Page)
   ============================================ */

/* Sort Section */
.sort-section {
    margin-bottom: 24px;
}

.sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sort p {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Dropdown Container */
.dropdown {
    position: relative;
}

/* Dropdown Toggle Button */
.dropdown .dropdown-toggle {
    min-width: 120px;
    position: relative;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: #2a2a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.2s ease;
}

.dropdown .dropdown-toggle:hover {
    background: #3a3a40;
    color: #fff;
}

.dropdown .dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 100;
    display: none;
    margin-top: 8px;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    background-color: #2a2a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    list-style: none;
}

.dropdown.open .dropdown-menu {
    display: block;
}

/* Dropdown Menu Items */
.dropdown .dropdown-menu .sort-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
}

.dropdown .dropdown-menu a:hover {
    background: rgba(255, 77, 140, 0.15);
    color: #fff;
}

.dropdown .dropdown-menu .sort-item.active a {
    background: linear-gradient(105deg, #ff4d8c, #b93b6e);
    color: #fff;
}

.dropdown .dropdown-menu .sort-item.active a i {
    color: #fff;
}

.dropdown .dropdown-menu a i {
    font-size: 12px;
    color: #ff4d8c;
}

/* Desktop View - Show as inline buttons (like category page) */
@media only screen and (min-width: 768px) {
    .dropdown .dropdown-toggle {
        display: none;
    }
    
    .dropdown {
        display: flex;
        gap: 8px;
    }
    
    .dropdown .dropdown-menu {
        position: relative;
        display: flex !important;
        padding: 0;
        gap: 8px;
        margin-top: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        flex-wrap: wrap;
    }
    
    .dropdown .dropdown-menu .sort-item {
        width: auto;
    }
    
    .dropdown .dropdown-menu a {
        display: inline-flex;
        padding: 6px 16px;
        background: #2a2a2e;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 30px;
        width: auto;
        gap: 8px;
    }
    
    .dropdown .dropdown-menu a:hover {
        background: #3a3a40;
        transform: translateY(-1px);
    }
    
    .dropdown .dropdown-menu .sort-item.active a {
        background: linear-gradient(105deg, #ff4d8c, #b93b6e);
        border-color: #ff4d8c;
        color: #fff;
    }
}

/* Mobile View - Dropdown style */
@media only screen and (max-width: 767.98px) {
    .dropdown .dropdown-menu {
        left: auto;
        right: 0;
        min-width: 160px;
    }
    
    .dropdown .dropdown-menu a {
        padding: 12px 16px;
    }
}

.profile-card__avatar-wrapper {
    flex-shrink: 0;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8c8c8, #a2a2a2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #18181b;
}

.profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-section {
    margin-top: 35px;
}

.video-player {
    text-align: center;
}

.video-player video,
.video-player img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}

/* Video Details */
.video-details {
    margin-top: var(--spacing-xl);
}

.video-details__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .video-details__row {
        flex-wrap: nowrap;
    }
}

.video-details__info {
    flex: 1;
}

.video-details__card {
    padding: var(--spacing-sm) 0;
}

.video-details__title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 0;
    overflow: hidden;
    white-space: normal;
    color: var(--color-text-primary);
}

@media (min-width: 768px) {
    .video-details__title {
        font-size: 1.5rem;
    }
}

.video-details__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    line-height: 20px;
    color: rgba(24, 24, 27, 0.4784313725);
}

.video-details__dot {
    color: rgba(24, 24, 27, 0.4);
}

.video-details__download {
    flex-shrink: 0;
}

.tag--download {
    display: inline-block;
    background: var(--color-text-primary);
    color: #fff;
    white-space: nowrap;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    padding: 7px var(--spacing-md);
    text-decoration: none;
    transition: var(--transition-fast);
}

.tag--download:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

/* Video Details Content */
.video-details__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Model Info */
.model-info {
    position: relative;
}

.model-info__card {
    margin-bottom: 56px;
}

.model-info__wrapper {
    overflow-x: auto;
    white-space: nowrap;
}

.model-info__group {
    display: flex;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-lg);
}

@media (min-width: 768px) {
    .model-info__group {
        padding: 0;
    }
}

.model-info__avatar {
    width: 104px;
    height: 104px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.model-info__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: filter .2s ease-in;
    border-radius: 50%;
    border: 5px solid #fff;
    margin-bottom: 4px;
}

.model-info__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 320px;
}

.model-info__name {
    font-weight: 500;
    font-size: 1rem;
}

.model-info__name a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.model-info__name a:hover {
    color: var(--color-accent);
}

.model-info__stats {
    font-size: 12px;
    line-height: 20px;
    color: rgba(49, 48, 48, 0.4);
}

.model-info__chips {
    margin-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    overflow-x: auto;
    white-space: nowrap;
}

/* Chip Component */
.chip {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    height: 32px;
    line-height: 20px;
    max-width: 100%;
    outline: none;
    padding: 0 var(--spacing-md);
    position: relative;
    text-decoration: none;
    transition: background-color var(--transition-fast);
    vertical-align: middle;
    white-space: nowrap;
}

.chip--clickable {
    cursor: pointer;
}

.chip--clickable:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* Description Box */
.description-box {
    position: relative;
    margin-bottom: 56px;
}

.description-box__quote {
    font-size: 1.2em;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    color: #555555;
    padding: 1.2em 30px 1.2em 75px;
    border-left: 8px solid #575757;
    line-height: 1.6;
    position: relative;
    background: #EAE1DC;
    border-radius: var(--radius-sm);
    max-width: 1091px;
}

.description-box__quote::before {
    font-family: Arial;
    content: "\201C";
    color: #575757;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}

/* Divider */
.divider {
    background-color: var(--color-border-dark);
    height: 1px;
    width: 100%;
    margin: var(--spacing-xl) 0;
}

/* Suggested Section */
.suggested-section {
    margin-top: var(--spacing-lg);
}

/* Related Videos Container */
.related-videos {
    margin-top: var(--spacing-lg);
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-indicator p {
    color: var(--color-text-muted);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    color: var(--color-text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .model-info__group {
        padding: 0 var(--spacing-md);
    }
    
    .description-box__quote {
        padding: 1em 20px 1em 55px;
        font-size: 1em;
    }
    
    .description-box__quote::before {
        font-size: 3em;
        left: 5px;
        top: -5px;
    }
    
    .video-details__title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .video-details__meta {
        font-size: 0.75rem;
    }
}

