/* ----------------------------------------------------------------
   StripCams.me — clean minimal theme
---------------------------------------------------------------- */

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

:root {
    --bg:        #f5f5f5;
    --surface:   #ffffff;
    --border:    #e0e0e0;
    --accent:    #c0392b;
    --accent-dk: #96281b;
    --text:      #222222;
    --muted:     #888888;
    --radius:    6px;
    --shadow:    0 1px 4px rgba(0,0,0,.10);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); text-decoration: underline; }

/* ---- Header ---- */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

header .logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

header .logo a { color: inherit; }

/* ---- Search bar ---- */
.search-wrap {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.search-wrap input {
    width: 100%;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.search-wrap input:focus { border-color: var(--accent); }

.suggest-box {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 200;
    max-height: 360px;
    overflow-y: auto;
}

.suggest-box .item {
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggest-box .item:hover { background: var(--bg); }

.suggest-box .item .meta {
    font-size: 11px;
    color: var(--muted);
}

/* ---- Main layout ---- */
main { max-width: 1400px; margin: 0 auto; padding: 24px 16px; }

h1 { font-size: 20px; margin-bottom: 16px; }
h2 { font-size: 16px; margin-bottom: 12px; color: var(--muted); font-weight: 500; }

/* ---- Performer grid (homepage) ---- */
.performer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.performer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: box-shadow .2s;
}

.performer-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }

.performer-card .name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    word-break: break-word;
}

.performer-card .platform {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.performer-thumb {
    width: 100%;
    aspect-ratio: 350/277;
    overflow: hidden;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    margin: -14px -14px 10px -14px;
    background: #ddd;
}

.performer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}

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

.performer-card .stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.performer-card .stats span strong { color: var(--text); }

/* ---- Performer page ---- */
.performer-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.performer-header h1 { margin-bottom: 6px; }

.performer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.performer-meta span strong { color: var(--text); }

/* ---- Image gallery ---- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
}

.image-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ddd;
    aspect-ratio: 350/277;
}

.image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}

.image-tile:hover img { transform: scale(1.05); }

.image-tile .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    color: #fff;
    font-size: 11px;
    opacity: 0;
    transition: opacity .2s;
}

.image-tile:hover .overlay { opacity: 1; }

/* ---- Video page ---- */
.video-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.video-wrap img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    background: #111;
    display: block;
}

.video-details {
    padding: 20px 24px;
}

.video-details h1 { font-size: 18px; margin-bottom: 12px; }

.video-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.video-meta .field label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.video-meta .field span { font-weight: 500; }

.btn-download {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}

.btn-download:hover { background: var(--accent-dk); color: #fff; text-decoration: none; }

/* ---- Pagination ---- */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    background: var(--surface);
    color: var(--text);
}

.pagination a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .dots { border: none; background: none; color: var(--muted); }
.pagination .page-jump { display:flex; align-items:center; gap:5px; font-size:13px; color:var(--muted); border:none; background:none; padding:0; }

/* ---- Breadcrumb ---- */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---- Misc ---- */
.badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.badge-platform { background: #eef; color: #446; }
.badge-gender   { background: #ffe; color: #663; }

footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

/* ---- Chaturbate live profile ---- */
.live-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0d3b0d;
    color: #4cff4c;
    border: 1px solid #2a7a2a;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    margin-bottom: 16px;
    width: fit-content;
}
.live-banner:hover { background: #144d14; }
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4cff4c;
    animation: pulse 1.4s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}
.cb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.cb-tag {
    background: #1e2a3a;
    color: #7ab3e0;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
}
.cb-subject {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    max-width: 700px;
    line-height: 1.5;
}
.cb-last-seen {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}
