/* Navbar component */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background-color: rgba(9, 9, 11, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-transform: none;
}

.navbar-links {
    display: flex;
    gap: 20px;
    margin-left: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.search-form {
    flex: 0 1 350px;
    margin-left: auto;
    margin-right: 16px;
    display: flex;
    align-items: center;
}

@media (max-width: 600px) {
    .navbar {
        height: auto;
        padding: 12px 0;
    }
    
    .navbar-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .search-form {
        flex: 0 0 100%;
        margin: 0;
        order: 3;
    }
    
    body {
        padding-top: 120px !important;
    }
}

.search-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 9999px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Model circles slider strip */
.model-slider-wrapper {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(9, 9, 11, 0.3);
    overflow: hidden;
}

.model-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 14px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
}

.model-slider::-webkit-scrollbar {
    display: none;
}

.slider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    width: 72px;
    cursor: pointer;
    user-drag: none;
    -webkit-user-drag: none;
}

.slider-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background-color: var(--bg-card);
    transition: border-color 0.2s ease;
    pointer-events: none;
}

.slider-item:hover .slider-avatar {
    border-color: rgba(255, 255, 255, 0.3);
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.slider-name {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: 6px;
    font-weight: 500;
    pointer-events: none;
}

/* Video Grid Layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 24px 0;
}

@media (min-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Video Card Component */
.video-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-card);
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.video-card:hover .card-thumbnail {
    opacity: 0.85;
}

.card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.card-meta {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.card-info {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Photo Grid Component */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 24px 0;
}

@media (min-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .photo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.photo-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-card);
    cursor: pointer;
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.2s ease;
}

.photo-card:hover .photo-img {
    filter: brightness(0.85);
}

/* Models list grid view */
.models-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 32px 0;
}

@media (min-width: 480px) {
    .models-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .models-list-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .models-list-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.model-list-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-card);
    padding: 20px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.model-list-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.model-list-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    margin-bottom: 12px;
}

.model-list-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.model-list-photos {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Model Profile Details */
.model-profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    background-color: var(--bg-card);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Lightbox overlay styling */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 9, 11, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 36px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    padding: 16px;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ffffff;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85%;
    max-height: 85%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-title {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

/* Watch Page Layout */
.watch-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
}

.watch-player-section {
    width: 100%;
}

.watch-info-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.watch-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.watch-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.recommendations-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
}

/* Site Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    margin-top: 64px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.policy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
}

.policy-header {
    text-align: center;
    margin-bottom: 48px;
}

.policy-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.policy-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.policy-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.policy-card-alert {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.policy-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.policy-card-alert .policy-num {
    color: #ef4444;
}

.policy-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.policy-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-content p {
    margin-bottom: 12px;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.policy-content li {
    margin-bottom: 6px;
}
