/* Custom styles for Subcams borrowing from MZR template */

:root {
    --primary: #ff0000;
    --secondary: #1a1a1a;
    --bg-light: #f4f7f6;
}

body {
    background-color: var(--bg-light);
    font-family: 'Open Sans', sans-serif;
}

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

/* Custom Overrides for Header/Nav to match MILFZR exactly if theme CSS is not enough */
#header .wrap {
    max-width: 1800px;
}

#main-nav .wrap {
    max-width: 1800px;
}

/* Hero Section */
.hero {
    background: #fff;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

#main {
    padding: 20px 0;
}

#content {
    float: none;
    width: 100%;
    max-width: none;
}

#content .wrap {
    max-width: 1800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 0;
}

.main-container {
    padding: 30px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    text-align: left;
}

.section-title span {
    color: var(--primary);
}

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Model Card Styles */
.model-card {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.model-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
}

.model-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.model-info {
    padding: 12px;
}

.model-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #222;
    font-weight: 700;
    display: block;
    text-decoration: none;
}

.model-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.viewers-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.viewers-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.platform-badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-chaturbate { background: #ff7f50; }
.badge-stripchat { background: #5352ed; }

/* Profile Page */
.profile-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-thumb-container {
    width: 100%;
}

.profile-thumb {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #eee;
}

.profile-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    color: #666;
}

.stat-item b {
    color: var(--primary);
    display: block;
    font-size: 18px;
}

.profile-desc {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.iframe-container {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.iframe-container iframe {
    width: 100%;
    border: none;
    display: block;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag-item {
    background: #eee;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Footer Ads */
.footer-ads {
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .model-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 28px;
    }
    .main-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .model-grid {
        grid-template-columns: 1fr;
    }
}
