/* =====================================================================
   site.css - FreePornCamsLive (tema inchisa, layout in stil Stripchat)
   ===================================================================== */
:root {
    --bg: #0c0c0c;
    --panel: #1a1a1a;
    --panel2: #1e1e1e;
    --line: #2d2d2d;
    --accent: #ff3366;
    --accent2: #ff5050;
    --green: #2ecc71;
    --text: #cbd5e1;
    --muted: #8a8a8a;
}

body { background: var(--bg); color: #fff; font-family: 'Segoe UI', Arial, sans-serif; }
a { text-decoration: none; transition: .2s; }
img { max-width: 100%; }

/* ---------- Navbar ---------- */
.navbar-custom { background: #111; border-bottom: 1px solid #222; padding: 10px 0; }
.logo { font-size: 24px; font-weight: bold; color: var(--accent2); letter-spacing: -1px; }
.logo span { color: #fff; }
.logo:hover { color: #fff; }
.nav-link { color: #fff !important; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.nav-link:hover { color: var(--accent2) !important; }
.nav-link.active { color: var(--accent2) !important; font-weight: bold; border-bottom: 2px solid var(--accent2); }
.search-box { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 6px 15px; border-radius: 20px; font-size: 14px; }
.search-box:focus { outline: none; border-color: var(--accent2); background: #222; }
.btn-signup { background: var(--accent2); border: none; padding: 8px 20px; font-weight: bold; border-radius: 20px; color: #fff; }
.btn-signup:hover { background: #fff; color: var(--accent2); }

/* ---------- Layout: sidebar + continut ---------- */
.site-layout { display: flex; gap: 20px; padding: 10px 20px 20px; width: 100%; box-sizing: border-box; }
.sidebar { width: 250px; min-width: 250px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 15px; align-self: flex-start; box-sizing: border-box; }
.content { flex: 1 1 auto; min-width: 0; }

.sb-title { font-size: 11px; font-weight: bold; color: #666; text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 8px; }
.sb-title:first-child { margin-top: 0; }
.sb-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sb-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; color: var(--text); border-radius: 6px; }
.sb-list a:hover { background: #242424; color: #fff; }
.sb-list a.on { background: var(--line); color: var(--accent); font-weight: bold; }
.sb-list .cnt { color: #888; font-size: 13px; }
.sb-list .lbl { display: flex; align-items: center; gap: 8px; }
.sb-select { width: 100%; padding: 10px; margin-top: 10px; background: #262626; border: 1px solid var(--accent); color: #fff; border-radius: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }

.page-title { font-size: 22px; text-transform: uppercase; margin: 0 0 6px; color: #fff; }
.page-sub { color: var(--muted); font-size: 13px; margin: 0 0 18px; }

/* ---------- Grila de modele ---------- */
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.empty-msg { color: #aaa; padding: 20px; grid-column: 1 / -1; }

.mc { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s, border-color .15s; }
.mc:hover { transform: translateY(-2px); border-color: var(--accent); }
.mc-link { display: block; color: inherit; }
.mc-thumb { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-live, .b-hd, .b-vr { position: absolute; top: 8px; font-size: 11px; font-weight: bold; padding: 2px 7px; border-radius: 4px; z-index: 2; }
.b-live { left: 8px; background: var(--accent); color: #fff; letter-spacing: .5px; }
.b-hd { right: 8px; background: rgba(0,0,0,.75); color: #00ffcc; }
.b-vr { right: 8px; top: 30px; background: rgba(0,0,0,.75); color: #a29bfe; }
.mc-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mc-name { font-weight: bold; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-viewers { font-size: 12px; color: #fff; white-space: nowrap; }
.mc-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px 2px; font-size: 12px; color: #bbb; }
.mc-country { display: inline-flex; align-items: center; gap: 5px; text-transform: uppercase; }
.mc-langs { color: var(--muted); text-transform: uppercase; font-size: 11px; }
.mc-tags { padding: 2px 10px 10px; height: 26px; overflow: hidden; white-space: nowrap; }
.mc-tags span { color: #666; font-size: 11px; margin-right: 6px; }
.flag { display: inline-block; border-radius: 2px; vertical-align: middle; object-fit: contain; }

/* ---------- Paginare ---------- */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 35px 0 10px; }
.pager a { color: #fff; background: var(--panel); border: 1px solid var(--line); padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.pager a:hover { border-color: var(--accent); }
.pager a.on { background: var(--accent); border-color: var(--accent); font-weight: bold; }
.pager .dots { color: #666; }

/* ---------- Pagina de model ---------- */
.model-page { max-width: 1400px; margin: 0 auto; padding: 0 12px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--text); }
.player-box { width: 100%; aspect-ratio: 16 / 9; min-height: 320px; max-height: 75vh; background: #000; border: 2px solid var(--accent2); border-radius: 8px 8px 0 0; overflow: hidden; }
.player-box.offline { display: flex; align-items: center; justify-content: center; color: #999; }
.player-cta { display: block; background: var(--accent2); color: #fff; text-align: center; padding: 15px; font-weight: 900; border-radius: 0 0 8px 8px; animation: pulse 1.5s infinite; }
.player-cta:hover { color: #fff; filter: brightness(1.1); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .82; } }

.box { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-top: 16px; color: var(--text); font-size: 14px; line-height: 1.6; }
.box h2 { color: var(--accent); font-size: 16px; text-transform: uppercase; font-weight: bold; margin: 0 0 10px; }
.goal-bar { height: 10px; background: #333; border-radius: 6px; overflow: hidden; margin-top: 8px; }
.goal-bar > div { height: 100%; background: linear-gradient(90deg, var(--accent), #ff9966); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #262626; border: 1px solid var(--line); color: var(--text); padding: 4px 12px; border-radius: 16px; font-size: 12px; }
.chip:hover { border-color: var(--accent); color: #fff; }

.info-card { background: var(--panel); border: 1px solid #333; border-radius: 8px; padding: 20px; }
.info-card h1 { font-size: 2rem; margin: 0; word-break: break-word; }
.status-on { color: var(--green); font-weight: bold; margin: 4px 0 14px; }
.status-off { color: #999; font-weight: bold; margin: 4px 0 14px; }
.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.stat-pill { background: #333; padding: 4px 10px; border-radius: 4px; font-size: .8rem; }
.invite { margin: 18px 0; background: rgba(46,204,113,.06); padding: 15px; border-radius: 6px; border-left: 3px solid var(--green); }
.invite .t { color: var(--green); font-weight: bold; text-transform: uppercase; font-size: .75rem; margin-bottom: 5px; }
.btn-green { display: block; text-align: center; font-weight: bold; font-size: 1.1rem; padding: 14px; border-radius: 5px; background: var(--green); color: #fff; animation: pulse-green 2s infinite; }
.btn-green:hover { background: #27ae60; color: #fff; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.7); } 70% { box-shadow: 0 0 0 15px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
.btn-red { display: block; text-align: center; font-weight: bold; font-size: 1.1rem; padding: 14px; border-radius: 5px; background: var(--accent2); color: #fff; margin-top: 16px; }
.btn-red:hover { color: #fff; filter: brightness(1.1); }
.details p { margin: 0 0 10px; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.tech { background: #222; padding: 8px; border-radius: 4px; text-align: center; font-size: .75rem; border: 1px solid transparent; }
.tech span { display: block; color: #888; }
.tech.yes { background: #1e3a1e; border-color: var(--green); }
.tech.yes strong { color: var(--green); }
.tech strong { color: #555; }
.section-title { font-size: 18px; text-transform: uppercase; margin: 28px 0 14px; }

.notfound { text-align: center; padding: 50px 20px 30px; }
.notfound h1 { color: #ef4444; font-size: 24px; margin-bottom: 10px; }
.notfound p { color: var(--text); font-size: 14px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #ccc; padding: 40px 0; margin-top: 50px; border-top: 1px solid #222; }
.footer-links a { color: #eee; margin: 0 10px; font-size: 14px; }
.footer-links.small a { font-size: 13px; color: #fff; }
.footer-hr { border-color: #222; max-width: 600px; margin: 0 auto 25px; }
.footer-text { max-width: 800px; margin: 0 auto; font-size: 12px; color: #ddd; line-height: 1.6; }

/* ---------- Age gate + cookie (tema inchisa) ---------- */
#age-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: #ddd; padding: 35px 30px 28px; max-width: 430px; width: 94vw; font-size: 1.05em; text-align: center; line-height: 1.66; }
.age-btn { margin-top: 24px; background: var(--accent); color: #fff; font-weight: bold; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; margin-right: 8px; }
.age-btn-secondary { margin-top: 24px; background: #333; color: #ddd; border: none; padding: 12px 22px; border-radius: 8px; cursor: pointer; }
#cookie-notice { position: fixed; bottom: 22px; right: 22px; z-index: 3500; }
.cookie-box { background: var(--panel); border: 1px solid var(--line); color: #ddd; border-radius: 13px; padding: 20px 22px 14px; box-shadow: 0 4px 24px rgba(0,0,0,.6); min-width: 228px; max-width: 340px; font-size: 14px; }
.cookie-box a { color: var(--accent); text-decoration: underline; display: inline-block; margin: 7px 0 3px; }
.cookie-label { display: flex; align-items: center; gap: 8px; margin-top: 12px; cursor: pointer; }
.cookie-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.cookie-btn { background: var(--accent); color: #fff; font-weight: bold; border: none; padding: 7px 20px; border-radius: 8px; cursor: pointer; }
.slider { display: inline-block; width: 36px; height: 20px; border-radius: 20px; background: #555; position: relative; transition: background .18s; flex: none; }
#ga-opt { position: absolute; opacity: 0; width: 0; height: 0; }
.slider:before { content: ''; position: absolute; left: 2.5px; top: 2.5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: .15s; }
#ga-opt:checked + .slider { background: var(--accent); }
#ga-opt:checked + .slider:before { transform: translateX(16px); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .sidebar { width: 210px; min-width: 210px; }
}
@media (max-width: 768px) {
    .site-layout { flex-direction: column; padding: 10px; gap: 15px; }
    .content { order: 1; width: 100%; }
    .sidebar { order: 2; width: 100%; min-width: 100%; }
    .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .mc-tags { display: none; }
    .player-box { min-height: 220px; }
    #cookie-notice { left: 5vw; right: 5vw; }
    .cookie-box { max-width: 95vw; }
}
