/* =========================================================
   WATCHOUT WALLS — SHARED COLLECTION DESIGN
   Used by:
   desktop-wallpapers.php
   mobile-wallpapers.php
   live wallpaper.php
   category.php
========================================================= */

:root{
    --wo-bg:#030605;
    --wo-card:#080d0b;
    --wo-card-2:#0b110e;
    --wo-border:rgba(255,255,255,.09);
    --wo-text:#f5f7f6;
    --wo-muted:#8c9992;
    --wo-green:#22c55e;
    --wo-green-light:#4ade80;
    --wo-green-dark:#16a34a;
}


/* =========================================================
   PAGE
========================================================= */

.wo-page{
    min-height:100vh;
    background:var(--wo-bg);
    color:var(--wo-text);
    font-family:Segoe UI,Arial,sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.wo-hero{
    position:relative;
    padding:110px 7% 80px;
    text-align:center;
    overflow:hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(34,197,94,.10),
            transparent 45%
        );
}

.wo-hero::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-120px;
    transform:translateX(-50%);

    width:500px;
    height:220px;

    background:rgba(34,197,94,.06);
    filter:blur(80px);

    pointer-events:none;
}

.wo-eyebrow{
    display:inline-block;

    padding:9px 16px;

    border:1px solid rgba(34,197,94,.35);
    border-radius:999px;

    color:var(--wo-green-light);

    font-size:12px;
    font-weight:800;

    letter-spacing:1.5px;
    text-transform:uppercase;

    background:rgba(34,197,94,.06);
}

.wo-hero h1{
    position:relative;
    z-index:2;

    margin:25px auto 15px;

    max-width:1000px;

    font-size:clamp(42px,6vw,76px);
    line-height:1.02;

    font-weight:900;
    letter-spacing:-2px;

    background:
        linear-gradient(
            90deg,
            #f5f7f6,
            #b9f7cf,
            #f5f7f6
        );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.wo-hero p{
    position:relative;
    z-index:2;

    max-width:720px;

    margin:0 auto;

    color:#91a09a;

    font-size:18px;
    line-height:1.7;
}


/* =========================================================
   SEARCH
========================================================= */

.wo-search{
    position:relative;
    z-index:5;

    max-width:650px;

    margin:32px auto 0;
}

.wo-search form{
    position:relative;
}

.wo-search input{
    width:100%;
    box-sizing:border-box;

    padding:17px 24px;

    background:#090e0c;

    border:1px solid rgba(255,255,255,.10);
    border-radius:999px;

    color:white;

    font-size:15px;

    outline:none;

    transition:.25s;
}

.wo-search input::placeholder{
    color:#65736c;
}

.wo-search input:focus{
    border-color:rgba(34,197,94,.65);

    box-shadow:
        0 0 0 4px rgba(34,197,94,.08);
}


/* =========================================================
   STATS
========================================================= */

.wo-stats{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:12px;

    padding:0 7% 55px;
}

.wo-stat{
    min-width:150px;

    padding:18px 25px;

    background:#070c0a;

    border:1px solid var(--wo-border);
    border-radius:16px;

    text-align:center;
}

.wo-stat strong{
    display:block;

    color:var(--wo-green-light);

    font-size:24px;
    font-weight:900;
}

.wo-stat span{
    display:block;

    margin-top:4px;

    color:#748079;

    font-size:12px;
}


/* =========================================================
   CATEGORY PILLS
========================================================= */

.wo-category-bar{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:9px;

    padding:0 7% 55px;
}

.wo-category-bar a{
    padding:9px 15px;

    border:1px solid rgba(255,255,255,.09);
    border-radius:999px;

    background:#080d0b;

    color:#aab4af;

    text-decoration:none;

    font-size:13px;
    font-weight:600;

    transition:.25s;
}

.wo-category-bar a:hover,
.wo-category-bar a.active{
    color:#041008;

    background:var(--wo-green);

    border-color:var(--wo-green);
}


/* =========================================================
   COLLECTION HEADER
========================================================= */

.wo-section{
    max-width:1400px;

    margin:0 auto;

    padding:0 7% 90px;
}

.wo-section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;

    gap:20px;

    margin-bottom:25px;
}

.wo-section-head h2{
    margin:0;

    font-size:32px;
    font-weight:850;

    letter-spacing:-.7px;
}

.wo-section-head p{
    margin:0;

    color:#68756f;

    font-size:13px;
}


/* =========================================================
   WALLPAPER GRID
========================================================= */

.wo-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(270px,1fr));

    gap:18px;
}


/* =========================================================
   CARD
========================================================= */

.wo-card{
    position:relative;

    overflow:hidden;

    background:var(--wo-card);

    border:1px solid var(--wo-border);
    border-radius:18px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.wo-card:hover{
    transform:translateY(-6px);

    border-color:
        rgba(34,197,94,.35);

    box-shadow:
        0 22px 55px rgba(0,0,0,.45),
        0 0 35px rgba(34,197,94,.07);
}


/* =========================================================
   IMAGE
========================================================= */

.wo-card-image{
    position:relative;

    overflow:hidden;

    background:#020403;
}

.wo-card-image img{
    display:block;

    width:100%;
    height:260px;

    object-fit:cover;

    transition:
        transform .6s ease;
}

.wo-card:hover .wo-card-image img{
    transform:scale(1.045);
}


/* =========================================================
   MOBILE IMAGE
========================================================= */

.wo-mobile-card .wo-card-image img{
    height:410px;
}


/* =========================================================
   LIVE VIDEO
========================================================= */

.wo-card-image video{
    display:block;

    width:100%;
    height:300px;

    object-fit:cover;

    background:#000;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.wo-card-content{
    padding:18px;
}

.wo-tag{
    display:inline-block;

    margin-bottom:9px;

    color:var(--wo-green-light);

    font-size:11px;
    font-weight:800;

    letter-spacing:1px;

    text-transform:uppercase;
}

.wo-card h3{
    margin:0 0 8px;

    color:#f5f7f6;

    font-size:18px;
    line-height:1.3;

    font-weight:800;
}

.wo-card p{
    margin:0;

    color:#75827b;

    font-size:13px;
    line-height:1.5;
}


/* =========================================================
   CARD ACTION
========================================================= */

.wo-card-action{
    display:flex;

    gap:9px;

    margin-top:17px;
}

.wo-btn{
    flex:1;

    padding:11px 13px;

    border-radius:10px;

    text-align:center;

    text-decoration:none;

    font-size:13px;
    font-weight:750;

    transition:.25s;
}

.wo-btn-primary{
    background:var(--wo-green);

    color:#031008;
}

.wo-btn-primary:hover{
    background:var(--wo-green-light);

    transform:translateY(-2px);
}

.wo-btn-secondary{
    background:#0c120f;

    color:#d4ddd8;

    border:1px solid rgba(255,255,255,.10);
}

.wo-btn-secondary:hover{
    background:#121b16;

    border-color:rgba(34,197,94,.3);
}


/* =========================================================
   LIVE DOWNLOAD
========================================================= */

.wo-live-card .wo-card-image{
    aspect-ratio:16/10;
}

.wo-live-card .wo-card-image video{
    width:100%;
    height:100%;
}


/* =========================================================
   EMPTY
========================================================= */

.wo-empty{
    padding:90px 20px;

    text-align:center;

    border:1px solid var(--wo-border);
    border-radius:18px;

    background:#070c0a;
}

.wo-empty h2{
    margin:0 0 8px;

    font-size:25px;
}

.wo-empty p{
    margin:0;

    color:#748079;
}


/* =========================================================
   GUIDE
========================================================= */

.wo-guide{
    max-width:900px;

    margin:0 auto;

    padding:0 7% 90px;
}

.wo-guide button{
    width:100%;

    padding:20px;

    background:#080d0b;

    border:1px solid var(--wo-border);
    border-radius:15px;

    color:white;

    text-align:left;

    font-size:16px;
    font-weight:750;

    cursor:pointer;
}

.wo-guide-content{
    display:none;

    padding:25px;

    background:#070c0a;

    border:1px solid var(--wo-border);
    border-top:none;

    border-radius:0 0 15px 15px;
}

.wo-guide-content h3{
    color:var(--wo-green-light);

    font-size:17px;
}

.wo-guide-content li{
    margin-bottom:8px;

    color:#aab5af;

    line-height:1.6;
}


/* =========================================================
   FOOTER
========================================================= */

.wo-footer{
    padding:45px 20px;

    border-top:1px solid rgba(255,255,255,.06);

    text-align:center;

    color:#56625c;

    font-size:13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .wo-hero{
        padding:75px 20px 60px;
    }

    .wo-hero h1{
        font-size:43px;
        letter-spacing:-1.5px;
    }

    .wo-hero p{
        font-size:15px;
    }

    .wo-stats{
        padding:0 20px 40px;

        gap:8px;
    }

    .wo-stat{
        min-width:100px;

        padding:14px 15px;
    }

    .wo-stat strong{
        font-size:20px;
    }

    .wo-section{
        padding:0 20px 65px;
    }

    .wo-section-head{
        align-items:start;

        flex-direction:column;
    }

    .wo-section-head h2{
        font-size:27px;
    }

    .wo-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:10px;
    }

    .wo-card{
        border-radius:13px;
    }

    .wo-card-image img{
        height:220px;
    }

    .wo-mobile-card .wo-card-image img{
        height:285px;
    }

    .wo-card-content{
        padding:12px;
    }

    .wo-card h3{
        font-size:14px;
    }

    .wo-card p{
        font-size:11px;
    }

    .wo-tag{
        font-size:9px;
    }

    .wo-card-action{
        flex-direction:column;

        gap:6px;

        margin-top:12px;
    }

    .wo-btn{
        padding:9px 8px;

        font-size:11px;
    }

    .wo-category-bar{
        padding:0 20px 40px;

        justify-content:flex-start;

        overflow-x:auto;

        flex-wrap:nowrap;

        scrollbar-width:none;
    }

    .wo-category-bar::-webkit-scrollbar{
        display:none;
    }

    .wo-category-bar a{
        flex-shrink:0;
    }

    .wo-card-image video{
        height:220px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:430px){

    .wo-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .wo-mobile-card .wo-card-image img{
        height:245px;
    }

    .wo-hero h1{
        font-size:37px;
    }

}