/*
Theme Name:  Prompts Pick Theme
Theme URI:   https://prompts.influencerlobby.com
Description: Lightweight companion theme for the Prompts Pick plugin.
Version:     1.0.0
Author:      Noman Hassan
License:     GPL v2 or later
Text Domain: prompts-pick-theme
*/

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }

body {
    background: #0b1220;
    color: #fafafa;
    font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.pp-light-body { background: #fafafa; }

img { max-width:100%; height:auto; }
a   { color:#a78bfa; text-decoration:none; }
a:hover { color:#c4b5fd; }

/* =========================================================
   SITE LAYOUT
   ========================================================= */
#pp-site-wrapper  { display:flex; flex-direction:column; min-height:100vh; }
#pp-site-content  { flex:1; }

/* =========================================================
   HEADER
   ========================================================= */
#pp-site-header {
    position: sticky; top:0; z-index:1000;
    background: rgba(11,18,32,0.88);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.pp-light-body #pp-site-header {
    background: rgba(255,255,255,0.85);
    border-bottom-color: rgba(0,0,0,0.07);
}

#pp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
#pp-logo-wrap {
    display:flex; align-items:center; gap:9px;
    text-decoration:none; flex-shrink:0;
}
#pp-logo-wrap img { height:32px; width:auto; display:block; }

#pp-site-name {
    font-family: 'Syne', 'Segoe UI', sans-serif;
    font-weight: 800; font-size:1.05rem;
    letter-spacing: -0.5px;
    color: #fafafa;
}
body.pp-light-body #pp-site-name { color: #09090b; }

/* Nav */
#pp-nav-wrap { flex:1; display:flex; justify-content:center; }

#pp-primary-menu {
    display:flex; align-items:center; gap:2px;
    list-style:none; margin:0; padding:0;
}

#pp-primary-menu li { position:relative; }

#pp-primary-menu li a {
    display:flex; align-items:center;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.86rem; font-weight:500;
    color: rgba(255,255,255,0.5);
    text-decoration:none;
    transition: all .18s;
    white-space:nowrap;
}
body.pp-light-body #pp-primary-menu li a { color: rgba(9,9,11,0.5); }

#pp-primary-menu li a:hover,
#pp-primary-menu li.current-menu-item a {
    color: #fafafa;
    background: rgba(255,255,255,0.06);
}
body.pp-light-body #pp-primary-menu li a:hover,
body.pp-light-body #pp-primary-menu li.current-menu-item a {
    color: #09090b;
    background: rgba(0,0,0,0.05);
}

/* Dropdown */
#pp-primary-menu li ul {
    display:none; position:absolute;
    top:calc(100% + 6px); left:0; min-width:170px;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius:8px; padding:5px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    list-style:none; z-index:100;
}
#pp-primary-menu li:hover > ul { display:block; }
#pp-primary-menu li ul li a { padding:6px 11px; font-size:0.83rem; }

/* Header actions */
#pp-header-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }

#pp-mode-toggle {
    display:flex; align-items:center; justify-content:center;
    width:34px; height:34px; border-radius:7px;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.04);
    color:rgba(255,255,255,0.5);
    cursor:pointer; font-size:15px; line-height:1;
    transition:all .18s;
}
#pp-mode-toggle:hover { border-color:rgba(139,92,246,.4); color:#fafafa; background:rgba(139,92,246,.1); }
body.pp-light-body #pp-mode-toggle { border-color:rgba(0,0,0,.1); background:rgba(0,0,0,.03); color:rgba(9,9,11,.5); }
body.pp-light-body #pp-mode-toggle:hover { border-color:rgba(139,92,246,.4); background:rgba(139,92,246,.08); color:#09090b; }

/* Mobile toggle */
#pp-menu-toggle {
    display:none; flex-direction:column; justify-content:center; gap:4px;
    width:34px; height:34px; padding:7px;
    border-radius:6px;
    border:1px solid rgba(255,255,255,.08);
    background:transparent; cursor:pointer;
}
#pp-menu-toggle span { display:block; height:1.5px; background:rgba(255,255,255,.6); border-radius:2px; transition:all .22s; }
body.pp-nav-open #pp-menu-toggle span:nth-child(1) { transform:rotate(45deg) translate(4px,4px); }
body.pp-nav-open #pp-menu-toggle span:nth-child(2) { opacity:0; }
body.pp-nav-open #pp-menu-toggle span:nth-child(3) { transform:rotate(-45deg) translate(4px,-4px); }

/* =========================================================
   FOOTER
   ========================================================= */
#pp-site-footer {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 22px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,.25);
}
body.pp-light-body #pp-site-footer { border-top-color:rgba(0,0,0,.06); color:rgba(9,9,11,.3); }

#pp-footer-inner { max-width:1200px; margin:0 auto; }
#pp-footer-inner p { margin:0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:768px) {
    #pp-nav-wrap { display:none; }
    #pp-menu-toggle { display:flex; }

    body.pp-nav-open #pp-nav-wrap {
        display:block; position:fixed;
        top:60px; left:0; right:0;
        background:#111116;
        border-bottom:1px solid rgba(255,255,255,.06);
        padding:10px 14px 16px;
        z-index:999;
    }
    body.pp-nav-open #pp-primary-menu { flex-direction:column; align-items:flex-start; gap:1px; }
    body.pp-nav-open #pp-primary-menu li { width:100%; }
    body.pp-nav-open #pp-primary-menu li a { width:100%; padding:9px 13px; }
}
