/* ============================================================
   GLOBAL STYLES & VARIABLES
   ============================================================ */

:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --card-bg: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Default avatar for models without profile pictures */
img.default-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(233, 30, 99, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand a {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
}

.btn-login,
.btn-register {
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
}

.btn-register {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background: rgba(233, 30, 99, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Shining Brand Title - Enhanced */
.brand-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.brand-title-main {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: brandGlow 4s ease-in-out infinite;
    text-shadow: 
        0 0 8px rgba(233, 30, 99, 0.3),
        0 0 15px rgba(233, 30, 99, 0.2);
    z-index: 1;
}

.brand-title-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    animation: brandShine 4s ease-in-out infinite;
    z-index: 2;
}

.brand-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 120%;
    background: radial-gradient(ellipse at center, 
        rgba(233, 30, 99, 0.15) 0%, 
        rgba(0, 188, 212, 0.1) 40%,
        transparent 70%);
    filter: blur(25px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Legacy support */
.brand-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: brandGlow 4s ease-in-out infinite;
}

.brand-cam {
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 50%, #ff4081 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.4));
}

.brand-girls {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 50%, #e91e63 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(194, 24, 91, 0.4));
}

.brand-world {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00bcd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 188, 212, 0.5));
    animation: worldPulse 2s ease-in-out infinite;
}

.brand-dot {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

@keyframes brandGlow {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(233, 30, 99, 0.3),
            0 0 10px rgba(233, 30, 99, 0.2);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(233, 30, 99, 0.4),
            0 0 20px rgba(233, 30, 99, 0.25),
            0 0 30px rgba(0, 188, 212, 0.15);
    }
}

@keyframes brandShine {
    0% { left: -50%; }
    100% { left: 150%; }
}

@keyframes worldPulse {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 188, 212, 0.4)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 3px 6px rgba(0, 188, 212, 0.6)) brightness(1.1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ============================================================
   FILTERS
   ============================================================ */

.filters {
    padding: 2rem 0;
    background: rgba(15, 52, 96, 0.3);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.filter-select {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
}

.filter-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem;
}

.filter-select option:hover,
.filter-select option:checked {
    background: #0f3460;
    color: #ffffff;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================================
   MODELS GRID
   ============================================================ */

.models-grid {
    padding: 3rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.model-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.3);
    border-color: var(--primary-color);
}

.model-image {
    position: relative;
    padding-top: 133%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker-bg), var(--card-bg));
}

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

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

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.online {
    background: var(--success-color);
    color: white;
}

.status-badge.offline {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-secondary);
}

.model-info {
    padding: 1.2rem;
}

.model-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.model-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.model-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.model-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rating,
.views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
}

.rating i {
    color: #ffc107;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    background: var(--card-bg);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================================
   FORMS (REGISTER & LOGIN)
   ============================================================ */

.register-section,
.login-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.register-container,
.login-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.register-header,
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1,
.login-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.register-header p,
.login-header p {
    color: var(--text-secondary);
}

.alert {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.alert ul {
    list-style-position: inside;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.verification-info {
    background: rgba(233, 30, 99, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.8rem;
    align-items: start;
}

.verification-info i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"] {
    width: 100%;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.btn-large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
}

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

.register-footer,
.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.register-footer a,
.login-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(233, 30, 99, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.warning {
    color: var(--warning-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .navbar .container {
        position: relative;
    }

    /* Ensure logo is always visible on mobile */
    .nav-brand {
        z-index: 1004;
        flex-shrink: 0;
    }
    
    .nav-brand a {
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    
    .nav-brand i {
        -webkit-text-fill-color: var(--primary-color);
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1003;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid rgba(233, 30, 99, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        color: #ffffff;
        width: 100%;
    }

    .nav-menu li a:hover {
        background: rgba(233, 30, 99, 0.15);
    }

    /* Mobile dropdown styling */
    .nav-menu li.dropdown {
        position: relative;
    }

    .nav-menu li.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu li.dropdown.open .dropdown-menu {
        max-height: 500px;
    }

    .nav-menu li.dropdown .dropdown-menu li {
        border-bottom: none;
    }

    .nav-menu li.dropdown .dropdown-menu li a {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        background: rgba(0, 0, 0, 0.2);
    }

    .nav-menu li.dropdown .dropdown-menu li a:hover {
        background: rgba(233, 30, 99, 0.2);
    }

    /* Make buttons full width on mobile */
    .btn-login,
    .btn-register {
        width: 90%;
        margin: 0.5rem auto;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .brand-title,
    .brand-title-main {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        word-break: break-word;
    }
    
    .brand-title-wrapper {
        max-width: 100%;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats .stat {
        min-width: 80px;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .hero-stats .stat-number {
        font-size: 1.2rem;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
    }

    .filter-bar {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .register-container,
    .login-container {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Additional stats styling for followers and likes */
.model-stats .followers,
.model-stats .likes {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.model-stats .followers i,
.model-stats .likes i {
    color: var(--primary-color);
}

/* Mobile responsive styles for model cards */
@media (max-width: 768px) {
    /* Fix for overlapping stats on mobile */
    .model-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-items: start;
    }
    
    .model-stats span {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .model-stats .rating,
    .model-stats .followers,
    .model-stats .views,
    .model-stats .likes {
        font-size: 0.75rem;
    }
    
    .model-info {
        padding: 0.8rem;
    }
    
    .model-name {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .model-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .model-meta span {
        white-space: nowrap;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .model-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .model-stats span {
        font-size: 0.7rem;
    }
    
    .model-info {
        padding: 0.6rem;
    }
    
    .model-name {
        font-size: 0.9rem;
    }
    
    .model-meta {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
}

/* ============================================================
   PERFORMANCE OPTIMIZATIONS - Video Thumbnails & Lazy Loading
   ============================================================ */

/* Video thumbnail container - no video loading until clicked */
.video-thumb-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumb-container .video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-container .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-thumb-container:hover .video-play-icon {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video story placeholder */
.video-story-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-story-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skeleton loading for images */
.skeleton-loading {
    background: linear-gradient(90deg, #0f3460 25%, #1a1a2e 50%, #0f3460 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image fade-in on load */
.lazy-fade {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-fade.loaded {
    opacity: 1;
}

/* Aspect ratio containers to prevent layout shift */
.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
}

.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-ratio-9-16 {
    aspect-ratio: 9 / 16;
}

/* Improve image rendering */
img {
    content-visibility: auto;
}

/* Reduce layout shift with fixed dimensions */
.model-image img,
.post-media img,
.video-thumb-container img {
    background-color: #1a1a2e;
}

/* Very small screens */
@media (max-width: 400px) {
    .brand-title,
    .brand-title-main {
        font-size: 1.1rem;
        letter-spacing: 0;
    }
    
    .brand-title-wrapper {
        max-width: 100%;
        padding: 0 2px;
    }
}