/* CamsMonitor - Complete CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #252525;
    --bg-card-hover: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #ff6b35;
    --accent-hover: #ff8555;
    --accent-secondary: #00d4ff;
    --online-green: #00ff88;
    --border-color: #333333;
    
    --chaturbate: #f47321;
    --stripchat: #00a8ff;
    --myfreecams: #ff0066;
    --bongacams: #7b68ee;
    --camsoda: #ff1493;
    --cam4: #00ff00;
    --livejasmin: #ff6600;
    --flirt4free: #9933cc;
    --imlive: #ff3366;
    --streamate: #0099ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-bottom: 3px solid var(--accent-primary);
    padding: 40px 0 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header.compact {
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.logo a {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
}

.header-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.stat strong {
    color: var(--accent-primary);
    font-size: 1.2em;
}

.stat-divider {
    color: var(--border-color);
}

/* Back Link */
.back-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateX(-5px);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
}

.category-section.trans-section {
    background: var(--bg-secondary);
    padding: 40px 20px;
    border-radius: 15px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.category-header h2 {
    font-size: 2em;
    font-weight: 700;
}

.view-all-link {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s;
}

.view-all-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

/* Model Grid Preview (10 items per row) */
.model-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

/* Model Card Small (for homepage previews) */
.model-card-small {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.model-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    border-color: var(--accent-primary);
}

.model-card-small a {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 133.33%;
    overflow: hidden;
}

.model-card-small img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.model-card-small:hover img {
    transform: scale(1.1);
}

.model-card-small h4 {
    padding: 12px;
    font-size: 0.95em;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-live-sm {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--online-green);
    color: #000;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.65em;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.6);
}

.overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.model-card-small a:hover .overlay-hover {
    opacity: 1;
}

/* Model Grid (full pages) */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Model Card */
.model-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    border-color: var(--accent-primary);
}

.model-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 133.33%;
    background: var(--bg-primary);
    overflow: hidden;
}

.model-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.model-card:hover .model-thumbnail img {
    transform: scale(1.08);
}

.badge-online {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--online-green);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 3px 15px rgba(0, 255, 136, 0.6);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.platform-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

.badge {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-chaturbate { background: var(--chaturbate); }
.platform-stripchat { background: var(--stripchat); }
.platform-myfreecams { background: var(--myfreecams); }
.platform-bongacams { background: var(--bongacams); }
.platform-camsoda { background: var(--camsoda); }
.platform-cam4 { background: var(--cam4); color: #000; }
.platform-livejasmin { background: var(--livejasmin); }
.platform-flirt4free { background: var(--flirt4free); }
.platform-imlive { background: var(--imlive); }
.platform-streamate { background: var(--streamate); }

.badge-more {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.model-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.watch-now-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
}

.watch-now-btn svg {
    filter: drop-shadow(0 4px 10px rgba(255, 107, 53, 0.8));
}

.model-info {
    padding: 18px;
}

.model-name {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.model-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-bottom: 12px;
}

.btn-view-profile {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.btn-view-profile:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0 60px;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Model Detail Page */
.model-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin: 40px 0 60px;
}

.model-detail-image {
    position: relative;
}

.model-detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.status-badge.online {
    background: var(--online-green);
    color: #000;
}

.status-badge.offline {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-secondary);
}

.pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.model-title {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 15px;
}

.model-subtitle {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 40px;
}

.platforms-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
}

.platform-cards {
    display: grid;
    gap: 20px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.platform-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.platform-logo {
    font-size: 1.2em;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
}

.platform-logo.platform-chaturbate { background: var(--chaturbate); }
.platform-logo.platform-stripchat { background: var(--stripchat); }
.platform-logo.platform-myfreecams { background: var(--myfreecams); }
.platform-logo.platform-bongacams { background: var(--bongacams); }
.platform-logo.platform-camsoda { background: var(--camsoda); }
.platform-logo.platform-cam4 { background: var(--cam4); color: #000; }
.platform-logo.platform-livejasmin { background: var(--livejasmin); }
.platform-logo.platform-flirt4free { background: var(--flirt4free); }
.platform-logo.platform-imlive { background: var(--imlive); }
.platform-logo.platform-streamate { background: var(--streamate); }

.platform-status {
    color: var(--text-secondary);
}

.platform-status.online {
    color: var(--online-green);
    font-weight: 600;
}

.platform-username {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.platform-username strong {
    color: var(--text-primary);
}

.btn-platform {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
}

.btn-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-chaturbate { background: var(--chaturbate); }
.btn-stripchat { background: var(--stripchat); }
.btn-myfreecams { background: var(--myfreecams); }
.btn-bongacams { background: var(--bongacams); }
.btn-camsoda { background: var(--camsoda); }
.btn-cam4 { background: var(--cam4); color: #000; }
.btn-livejasmin { background: var(--livejasmin); }
.btn-flirt4free { background: var(--flirt4free); }
.btn-imlive { background: var(--imlive); }
.btn-streamate { background: var(--streamate); }

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: 15px;
    margin: 40px 0;
}

.no-results h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 3px solid var(--accent-primary);
    padding: 30px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 968px) {
    .model-detail {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2em;
    }
    
    .model-grid-preview {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .model-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .model-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
