/*
Theme Name: Pornstar Directory Pro
Theme URI: https://pornstardirectory.xyz/
Author: PornstarDirectory Team
Description: Ultra-fast, SEO-optimized Pornstar Directory and Video Hub Theme.
Version: 1.0.0
*/

:root {
    --bg-main: #0d0f12;
    --bg-card: #16191f;
    --bg-hover: #1f232b;
    --primary: #ff2a5f;
    --primary-hover: #e01e4f;
    --text-main: #f0f2f5;
    --text-muted: #8b949e;
    --border-color: #262c36;
    --badge-bg: rgba(255, 42, 95, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--primary); }

.container { max-width: 1380px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Navbar */
header.site-header {
    background: #11141a;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.site-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-logo span { color: var(--primary); }
.site-nav { display: flex; gap: 24px; align-items: center; font-weight: 600; font-size: 15px; }
.site-nav a { color: var(--text-muted); }
.site-nav a:hover, .site-nav a.active { color: #fff; }

.header-search { display: flex; align-items: center; }
.header-search form { display: flex; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.header-search input {
    background: transparent;
    border: none;
    padding: 9px 14px;
    color: #fff;
    outline: none;
    font-size: 14px;
    width: 220px;
}
.header-search button {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
}
.header-search button:hover { background: var(--primary-hover); }

/* Hero */
.hero-section {
    padding: 40px 0 20px;
    text-align: center;
}
.hero-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.hero-subtitle { color: var(--text-muted); font-size: 16px; max-width: 650px; margin: 0 auto; }

/* Sections */
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}
.section-title .accent { color: var(--primary); }
.section-title a.view-all { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.section-title a.view-all:hover { color: var(--primary); }

/* Pornstar Cards Grid */
.pornstar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}
.pornstar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    transition: transform 0.2s, border-color 0.2s;
}
.pornstar-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}
.pornstar-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #222;
}
.pornstar-card-name {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 10px 4px;
}
.pornstar-card-stats {
    font-size: 12px;
    color: var(--text-muted);
}
.badge-count {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    margin-top: 5px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}
.video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    overflow: hidden;
}
.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card:hover .video-thumb-wrap img {
    transform: scale(1.04);
}
.video-badge-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}
.video-badge-hd {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
}
.video-info { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.video-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.video-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Single Video Page */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.single-video-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}
.single-video-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.model-starring-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    margin: 18px 0;
}
.model-starring-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

/* Model Profile Hub Page */
.model-profile-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    gap: 30px;
}
.model-profile-avatar {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}
.model-profile-info { flex: 1; }
.model-profile-name { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.model-stats-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.model-stat-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
.model-stat-label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.model-stat-value { font-size: 15px; font-weight: 700; color: #fff; margin-top: 3px; }
.model-bio-text { font-size: 14px; color: #ccc; line-height: 1.7; margin-top: 15px; }

/* Footer */
footer.site-footer {
    background: #11141a;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: auto;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
footer.site-footer p { margin-bottom: 10px; }
.compliance-badge {
    display: inline-block;
    border: 1px solid #444;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 10px;
}
