/* Elite Models Directory v5.0 */
.elite-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

.hero-section {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 50px 25px;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 5px solid rgba(255,255,255,0.95);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.profile-data {
    color: white;
    flex: 1;
}

.profile-name {
    font-size: 2.4em;
    margin: 0 0 12px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.elite-badge {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.65em;
    margin-left: 12px;
    font-weight: 700;
}

.profile-handle {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stats-container {
    display: flex;
    gap: 35px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 0.95em;
    opacity: 0.9;
}

.content-section {
    margin-bottom: 45px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.content-header h2 {
    font-size: 2em;
    margin: 0;
    color: #2c3e50;
}

.content-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.content-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: translateY(-8px);
}

.content-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item:hover .image-overlay {
    opacity: 1;
}

.likes-count {
    color: white;
    font-weight: 700;
    font-size: 1.1em;
}

.premium-section {
    text-align: center;
    margin: 50px 0;
}

.premium-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.premium-btn {
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.premium-btn:hover {
    transform: scale(1.05);
}

.similar-section {
    margin-top: 60px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.model-card {
    text-decoration: none;
    color: inherit;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
}

.model-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.model-info {
    padding: 18px;
}

.model-name {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.model-stats {
    color: #666;
    font-size: 0.95em;
}

/* Media Viewer */
.media-viewer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px;
}

.viewer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
}

.media-counter {
    background: #f8f9fa;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
}

.main-image {
    text-align: center;
    margin-bottom: 25px;
}

.primary-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.image-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.media-navigation {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    transform: scale(1.05);
}

/* Elite Catalog */
.elite-catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

.featured-section {
    margin-bottom: 50px;
}

.featured-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.featured-card {
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.featured-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 25px;
    color: white;
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.models-count {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.model-thumb {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.elite-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
}

.model-details {
    padding: 18px;
}

.model-title {
    margin: 0 0 12px 0;
    font-size: 1.15em;
    font-weight: 700;
}

.model-metrics {
    display: flex;
    gap: 18px;
    color: #666;
    font-size: 0.95em;
}

.pagination-section {
    text-align: center;
    margin-top: 50px;
}

.load-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.load-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .content-header {
        flex-direction: column;
        gap: 15px;
    }
}