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

:root{
    --bg:#0a0a0f;
    --bg-card:#16161d;
    --bg-card-hover:#1e1e28;
    --bg-surface:#111118;
    --accent:#00aff0;
    --accent-hover:#0090cc;
    --accent-glow:rgba(0,175,240,.15);
    --text:#e8e8ed;
    --text-muted:#8e8e9a;
    --text-dim:#5a5a66;
    --border:#2a2a35;
    --radius:12px;
    --radius-sm:8px;
    --radius-lg:16px;
    --shadow:0 4px 24px rgba(0,0,0,.4);
    --font:'Inter',system-ui,-apple-system,sans-serif;
    --max-w:1320px;
}

html{scroll-behavior:smooth}
body{
    font-family:var(--font);
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    min-height:100vh;
}
a{color:var(--accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--accent-hover)}
img{max-width:100%;height:auto;display:block}

.container{max-width:var(--max-w);margin:0 auto;padding:0 20px}

/* ─── Header ─── */
.site-header{
    background:var(--bg-surface);
    border-bottom:1px solid var(--border);
    position:sticky;top:0;z-index:100;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.header-inner{
    display:flex;align-items:center;gap:24px;
    height:64px;
}
.logo{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:700;font-size:1.2rem;white-space:nowrap}
.logo:hover{color:var(--text)}
.logo-icon{color:var(--accent);flex-shrink:0}
.logo-text .accent{color:var(--accent)}

.main-nav{display:flex;gap:4px;margin-left:auto}
.main-nav a{
    color:var(--text-muted);font-size:.875rem;font-weight:500;
    padding:8px 14px;border-radius:var(--radius-sm);transition:all .2s;
    white-space:nowrap;
}
.main-nav a:hover,.main-nav a.active{color:var(--text);background:var(--bg-card)}

.header-search{margin-left:8px}
.search-form{
    display:flex;align-items:center;
    background:var(--bg-card);border:1px solid var(--border);
    border-radius:999px;overflow:hidden;transition:border-color .2s;
}
.search-form:focus-within{border-color:var(--accent)}
.search-form input{
    background:none;border:none;color:var(--text);
    padding:8px 16px;font-size:.875rem;width:200px;outline:none;
    font-family:var(--font);
}
.search-form input::placeholder{color:var(--text-dim)}
.search-form button{
    background:none;border:none;color:var(--text-muted);
    padding:8px 14px 8px 0;cursor:pointer;display:flex;
}
.search-form button:hover{color:var(--accent)}

.mobile-menu-btn{
    display:none;background:none;border:none;color:var(--text);
    cursor:pointer;padding:8px;
}

/* ─── Hero ─── */
.hero{
    text-align:center;
    padding:60px 20px 40px;
    background:linear-gradient(180deg,var(--bg-surface) 0%,var(--bg) 100%);
}
.hero h1{font-size:2.5rem;font-weight:800;margin-bottom:12px;line-height:1.2}
.hero h1 .accent{color:var(--accent)}
.hero p{color:var(--text-muted);font-size:1.1rem;max-width:640px;margin:0 auto 24px}

.hero-stats{
    display:flex;justify-content:center;gap:40px;margin-top:24px;
}
.hero-stat{text-align:center}
.hero-stat .num{font-size:1.8rem;font-weight:800;color:var(--accent)}
.hero-stat .label{font-size:.8rem;color:var(--text-dim);text-transform:uppercase;letter-spacing:.05em}

/* ─── Section ─── */
.section{padding:40px 0}
.section-header{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:24px;
}
.section-title{font-size:1.5rem;font-weight:700;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.section-subtitle{font-size:.85rem;font-weight:500;color:var(--text-dim)}
.section-link{
    font-size:.875rem;color:var(--accent);font-weight:500;
    display:flex;align-items:center;gap:4px;
}
.section-link:hover{color:var(--accent-hover)}

/* ─── Grid ─── */
.girls-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:20px;
}
.girl-card{
    background:var(--bg-card);
    border-radius:var(--radius);
    overflow:hidden;
    transition:all .3s ease;
    border:1px solid var(--border);
    position:relative;
}
.girl-card:hover{
    transform:translateY(-4px);
    border-color:var(--accent);
    box-shadow:0 8px 32px rgba(0,175,240,.12);
}
.girl-card-img{
    aspect-ratio:1;
    overflow:hidden;
    position:relative;
}
.girl-card-img img{
    width:100%;height:100%;object-fit:cover;
    transition:transform .4s ease;
}
.girl-card:hover .girl-card-img img{transform:scale(1.05)}

.girl-card-badge{
    position:absolute;top:10px;left:10px;
    background:var(--accent);color:#fff;
    font-size:.7rem;font-weight:700;
    padding:3px 8px;border-radius:4px;
    text-transform:uppercase;letter-spacing:.03em;
    z-index:2;
}

.girl-card-info{padding:14px}
.girl-card-name{
    font-size:.95rem;font-weight:600;
    color:var(--text);margin-bottom:4px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.girl-card-user{
    font-size:.8rem;color:var(--text-dim);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.girl-card a{color:inherit;text-decoration:none}
.girl-card a::after{
    content:'';position:absolute;inset:0;
}

/* ─── Profile Page ─── */
.profile-hero{
    padding:40px 0;
    background:linear-gradient(180deg,var(--bg-surface) 0%,var(--bg) 100%);
}
.profile-header{
    display:flex;align-items:flex-start;gap:30px;
}
.profile-avatar{
    width:160px;height:160px;border-radius:50%;
    overflow:hidden;border:4px solid var(--accent);
    flex-shrink:0;
    box-shadow:0 0 40px rgba(0,175,240,.2);
}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-info{flex:1;min-width:0}
.profile-name{font-size:2rem;font-weight:800;margin-bottom:4px}
.profile-username{color:var(--accent);font-size:1rem;margin-bottom:16px}
.profile-desc{color:var(--text-muted);font-size:.95rem;margin-bottom:20px;max-width:600px}
.profile-actions{display:flex;gap:12px;flex-wrap:wrap}

.btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:12px 24px;border-radius:999px;
    font-size:.9rem;font-weight:600;font-family:var(--font);
    cursor:pointer;transition:all .2s;border:none;
    text-decoration:none;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover);color:#fff;transform:translateY(-1px)}
.btn-outline{
    background:transparent;color:var(--text);
    border:1px solid var(--border);
}
.btn-outline:hover{border-color:var(--accent);color:var(--accent)}

.profile-stats-bar{
    display:flex;gap:32px;margin-top:24px;
    padding-top:20px;border-top:1px solid var(--border);
}
.profile-stat .val{font-size:1.2rem;font-weight:700}
.profile-stat .lbl{font-size:.75rem;color:var(--text-dim);text-transform:uppercase}

/* ─── Posts Grid ─── */
.posts-section{padding:40px 0}
.posts-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
}
.post-card{
    background:var(--bg-card);
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--border);
    transition:all .3s;
    position:relative;
}
.post-card:hover{
    border-color:var(--accent);
    transform:translateY(-2px);
    box-shadow:var(--shadow);
}
.post-card-thumb{
    aspect-ratio:16/10;overflow:hidden;position:relative;
    background:var(--bg-surface);
}
.post-card-thumb img{
    width:100%;height:100%;object-fit:cover;
    transition:transform .4s;display:block;
}
.post-card:hover .post-card-thumb img{transform:scale(1.05)}

.post-card-placeholder{
    width:100%;height:100%;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,var(--bg-card) 0%,var(--bg-surface) 100%);
}

.post-card-overlay{
    position:absolute;inset:0;
    display:flex;align-items:center;justify-content:center;
    background:rgba(0,0,0,.25);opacity:0;transition:opacity .3s;
}
.post-card:hover .post-card-overlay{opacity:1;background:rgba(0,0,0,.45)}

.post-card-play{
    width:48px;height:48px;
    min-width:48px;min-height:48px;
    max-width:48px;max-height:48px;
    border-radius:50%;
    background:rgba(0,175,240,.9);
    display:inline-flex;align-items:center;justify-content:center;
    box-shadow:0 0 20px rgba(0,175,240,.3);
    transition:transform .3s,box-shadow .3s;
    flex-shrink:0;
}
.post-card:hover .post-card-play{
    transform:scale(1.1);
    box-shadow:0 0 30px rgba(0,175,240,.5);
}
.post-card-play svg{
    width:20px!important;height:20px!important;
    margin-left:2px;display:block;flex-shrink:0;
}
.post-card-info{padding:14px}
.post-card-title{font-size:.9rem;font-weight:500;color:var(--text);margin-bottom:4px}
.post-card-meta{font-size:.8rem;color:var(--text-dim)}

.post-card a{color:inherit;text-decoration:none}
.post-card a::after{content:'';position:absolute;inset:0}

/* ─── Categories / A-Z ─── */
.az-nav{
    display:flex;flex-wrap:wrap;gap:6px;
    margin-bottom:30px;justify-content:center;
}
.az-nav a{
    display:flex;align-items:center;justify-content:center;
    width:40px;height:40px;border-radius:var(--radius-sm);
    background:var(--bg-card);border:1px solid var(--border);
    color:var(--text-muted);font-weight:600;font-size:.9rem;
    transition:all .2s;
}
.az-nav a:hover,.az-nav a.active{
    background:var(--accent);color:#fff;border-color:var(--accent);
}

/* ─── Tag Pills ─── */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px;justify-content:center}
.tag{
    padding:8px 18px;border-radius:999px;
    background:var(--bg-card);border:1px solid var(--border);
    color:var(--text-muted);font-size:.85rem;font-weight:500;
    transition:all .2s;
}
.tag:hover,.tag.active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ─── Pagination ─── */
.pagination{
    display:flex;align-items:center;justify-content:center;
    gap:6px;margin:40px 0;flex-wrap:wrap;
}
.page-btn{
    display:flex;align-items:center;justify-content:center;
    min-width:40px;height:40px;padding:0 12px;
    border-radius:var(--radius-sm);
    background:var(--bg-card);border:1px solid var(--border);
    color:var(--text-muted);font-size:.875rem;font-weight:500;
    transition:all .2s;
}
.page-btn:hover{border-color:var(--accent);color:var(--accent)}
.page-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}
.page-dots{color:var(--text-dim);padding:0 4px}

/* ─── Breadcrumb ─── */
.breadcrumb{
    display:flex;align-items:center;gap:8px;
    padding:16px 0;font-size:.85rem;color:var(--text-dim);
}
.breadcrumb a{color:var(--text-muted)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{color:var(--text)}

/* ─── Empty State ─── */
.empty-state{
    text-align:center;padding:80px 20px;
    color:var(--text-dim);
}
.empty-state svg{margin:0 auto 16px;opacity:.3}
.empty-state p{font-size:1.1rem}

/* ─── Footer ─── */
.site-footer{
    background:var(--bg-surface);
    border-top:1px solid var(--border);
    padding:60px 0 30px;margin-top:60px;
}
.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;margin-bottom:40px;
}
.footer-col h4{font-size:.95rem;font-weight:700;margin-bottom:16px;color:var(--text)}
.footer-col p{font-size:.85rem;color:var(--text-muted);line-height:1.7}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:8px}
.footer-col a{color:var(--text-muted);font-size:.85rem;transition:color .2s}
.footer-col a:hover{color:var(--accent)}

.footer-bottom{
    border-top:1px solid var(--border);
    padding-top:24px;text-align:center;
}
.footer-bottom p{font-size:.8rem;color:var(--text-dim);margin-bottom:4px}
.footer-disclaimer{font-size:.75rem!important;opacity:.6}

/* ─── Info Pages ─── */
.info-page{max-width:800px;margin:0 auto;padding:60px 20px}
.info-page h1{font-size:2rem;font-weight:800;margin-bottom:20px}
.info-page h2{font-size:1.3rem;font-weight:700;margin:30px 0 12px}
.info-page p{color:var(--text-muted);margin-bottom:16px;line-height:1.8}

/* ─── Responsive ─── */
@media(max-width:1024px){
    .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:768px){
    .main-nav{
        display:none;position:fixed;top:64px;left:0;right:0;
        background:var(--bg-surface);border-bottom:1px solid var(--border);
        flex-direction:column;padding:16px;gap:4px;z-index:99;
    }
    .main-nav.open{display:flex}
    .mobile-menu-btn{display:flex}
    .header-search{display:none}
    
    .hero h1{font-size:1.8rem}
    .hero-stats{gap:24px}
    .hero-stat .num{font-size:1.4rem}
    
    .girls-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
    .girl-card-info{padding:10px}
    .girl-card-name{font-size:.85rem}
    
    .profile-header{flex-direction:column;align-items:center;text-align:center}
    .profile-avatar{width:120px;height:120px}
    .profile-stats-bar{justify-content:center}
    .profile-actions{justify-content:center}
    
    .posts-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
    
    .footer-grid{grid-template-columns:1fr}
    .footer-col:first-child{text-align:center}
    
    .search-form input{width:100%}
}

/* ─── Post View Page ─── */
.post-view{
    max-width:800px;margin:0 auto;padding:20px 0 40px;
}
.post-view-cover{
    position:relative;border-radius:var(--radius-lg);
    overflow:hidden;background:var(--bg-surface);
    border:1px solid var(--border);
}
.post-view-link{
    display:block;position:relative;cursor:pointer;
    text-decoration:none;color:inherit;
}
.post-view-img{
    width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
    display:block;transition:transform .4s,filter .4s;
    filter:brightness(.7);
}
.post-view-link:hover .post-view-img{
    transform:scale(1.02);filter:brightness(.55);
}
.post-view-placeholder{
    width:100%;aspect-ratio:16/9;
    background:linear-gradient(135deg,#1a1a25 0%,#0d0d14 100%);
}
.post-view-play{
    position:absolute;
    top:0;left:0;right:0;bottom:0;
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;
    gap:12px;z-index:2;
    pointer-events:none;
}
.play-circle{
    width:72px;height:72px;
    min-width:72px;min-height:72px;
    max-width:72px;max-height:72px;
    border-radius:50%;
    background:rgba(0,175,240,.92);
    display:inline-flex;align-items:center;justify-content:center;
    box-shadow:0 0 40px rgba(0,175,240,.35);
    transition:transform .3s,box-shadow .3s;
    flex-shrink:0;
}
.play-circle svg{
    width:28px!important;height:28px!important;
    margin-left:3px;display:block;flex-shrink:0;
}
.post-view-link:hover .play-circle{
    transform:scale(1.1);
    box-shadow:0 0 60px rgba(0,175,240,.55);
}
.play-text{
    color:#fff;font-size:.9rem;font-weight:600;
    text-shadow:0 2px 8px rgba(0,0,0,.7);
    opacity:.92;
    line-height:1;
}

.post-view-info{padding:24px 0}
.post-view-author{
    display:flex;align-items:center;gap:12px;margin-bottom:18px;
}
.post-author-avatar{
    width:44px;height:44px;border-radius:50%;overflow:hidden;
    border:2px solid var(--accent);flex-shrink:0;
}
.post-author-avatar img{width:100%;height:100%;object-fit:cover}
.post-author-name{
    font-size:.95rem;font-weight:600;color:var(--text);
    display:block;text-decoration:none;
}
.post-author-name:hover{color:var(--accent)}
.post-author-user{font-size:.8rem;color:var(--text-dim)}

.post-view-title{font-size:1.4rem;font-weight:800;margin-bottom:10px}
.post-view-desc{color:var(--text-muted);font-size:.9rem;line-height:1.7;margin-bottom:18px}

.post-view-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.post-meta-tag{
    padding:5px 12px;border-radius:999px;
    background:var(--bg-card);border:1px solid var(--border);
    color:var(--text-muted);font-size:.78rem;font-weight:500;
}

.post-view-actions{display:flex;gap:10px;flex-wrap:wrap}
.post-view-actions .btn{padding:10px 20px;font-size:.85rem}

@media(max-width:768px){
    .post-view{padding:12px 0 30px}
    .post-view-title{font-size:1.2rem}
    .play-circle{
        width:60px;height:60px;
        min-width:60px;min-height:60px;
        max-width:60px;max-height:60px;
    }
    .play-circle svg{width:24px!important;height:24px!important}
    .play-text{font-size:.8rem}
    .post-view-actions .btn{padding:10px 16px;font-size:.82rem}
}

@media(max-width:480px){
    .girls-grid{grid-template-columns:repeat(2,1fr);gap:10px}
    .posts-grid{grid-template-columns:1fr}
    .hero{padding:40px 16px 24px}
    .hero h1{font-size:1.5rem}
    .post-view-actions{flex-direction:column}
    .post-view-actions .btn{justify-content:center}
}
