/*
Theme Name: Schedule Rehab One Page V7
Theme URI: https://paislop.com/
Author: Paislop Studio
Description: One-page Schedule Rehab Business website with stacked Steam/Discord buttons, social icons, and a centered Paislop/Press Kit row.
Version: 7.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: schedule-rehab-onepage
*/

:root{
    --sr-accent:#91cf3b;
    --sr-text:#fff;
    --sr-max:1540px;
}

*{box-sizing:border-box}

html{
    margin:0!important;
    background:#07180b;
    scroll-behavior:smooth;
}

body{
    margin:0;
    min-width:320px;
    background:#07180b;
    color:var(--sr-text);
    font-family:Arial,Helvetica,sans-serif;
    -webkit-font-smoothing:antialiased;
}

body.home{overflow:hidden}
a{color:inherit}

.sr-page{
    min-height:100vh;
    min-height:100svh;
    position:relative;
    overflow:hidden;
    background:#07180b;
}

.sr-bg{
    position:absolute;
    inset:0;
    z-index:0;
    background-image:
        linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.01) 55%,rgba(0,18,7,.18) 78%,rgba(0,13,6,.54) 100%),
        var(--sr-background-image);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    transform:scale(1.015);
    will-change:transform;
}

.sr-bg:after{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 50% 47%,rgba(170,255,95,.10),transparent 34%),
        linear-gradient(90deg,rgba(0,0,0,.12),transparent 18%,transparent 82%,rgba(0,0,0,.12));
    pointer-events:none;
}

.sr-vignette{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    box-shadow:inset 0 0 150px rgba(0,0,0,.12);
}

.sr-main{
    position:relative;
    z-index:2;
    min-height:100vh;
    min-height:100svh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:66px 24px 82px;
}

.sr-content{
    width:min(100%,1050px);
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    margin-top:2px;
}

.sr-logo{
    display:block;
    width:min(900px,82vw);
    max-height:300px;
    object-fit:contain;
    filter:drop-shadow(0 18px 28px rgba(0,0,0,.28));
    animation:srIntro .72s cubic-bezier(.2,.8,.2,1) both;
}

.sr-description{
    max-width:830px;
    margin:15px auto 0;
    padding:10px 18px;
    border-radius:17px;
    color:#fff;
    background:rgba(3,32,14,.20);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    font-size:clamp(15px,1.25vw,19px);
    line-height:1.48;
    font-weight:700;
    text-shadow:0 2px 8px rgba(0,0,0,.50);
    animation:srIntro .72s .07s cubic-bezier(.2,.8,.2,1) both;
}

.sr-cta-stack{
    width:100%;
    margin-top:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    animation:srIntro .72s .14s cubic-bezier(.2,.8,.2,1) both;
}

.sr-image-button{
    display:block;
    text-decoration:none;
    transition:transform .16s ease,filter .16s ease;
    filter:drop-shadow(0 12px 18px rgba(0,0,0,.24));
}

.sr-image-button:hover{
    transform:translateY(-4px) scale(1.025);
    filter:drop-shadow(0 18px 23px rgba(0,0,0,.29)) brightness(1.04);
}

.sr-image-button img{
    display:block;
    height:auto;
}

.sr-steam img{width:min(340px,77vw)}
.sr-discord img{width:min(300px,70vw)}

.sr-social-icons{
    margin-top:6px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

.sr-social-icon{
    width:76px;
    height:76px;
    display:block;
    overflow:visible;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    text-decoration:none;
    transition:transform .16s ease,filter .16s ease;
}

.sr-social-icon:hover{
    transform:translateY(-4px) scale(1.045);
    filter:brightness(1.04);
}

.sr-social-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:transparent;
    border:0;
    box-shadow:none;
}

.sr-brand-row{
    margin-top:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    min-height:54px;
}

.sr-studio-logo-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:transform .16s ease,filter .16s ease;
    filter:drop-shadow(0 7px 14px rgba(0,0,0,.22));
}

.sr-studio-logo-link:hover{
    transform:translateY(-2px);
    filter:drop-shadow(0 10px 18px rgba(0,0,0,.28)) brightness(1.035);
}

.sr-studio-logo{
    display:block;
    width:112px;
    height:auto;
    max-height:66px;
    object-fit:contain;
}

.sr-press-kit{
    min-height:42px;
    padding:0 17px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(4,21,11,.42);
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:950;
    letter-spacing:.12em;
    text-transform:uppercase;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    text-shadow:0 2px 8px rgba(0,0,0,.35);
    transition:transform .16s ease,background .16s ease,border-color .16s ease;
}

.sr-press-kit:hover{
    transform:translateY(-2px);
    background:rgba(7,35,16,.64);
    border-color:rgba(183,229,109,.80);
}

.sr-press-kit-arrow{
    color:#b7e56d;
    font-size:15px;
    line-height:1;
}

.sr-footer{
    position:absolute;
    z-index:5;
    left:0;
    right:0;
    bottom:0;
    padding:12px 28px 16px;
}

.sr-footer-inner{
    width:min(calc(100% - 6px),var(--sr-max));
    margin:0 auto;
    display:flex;
    justify-content:flex-end;
}

.sr-copyright{
    text-align:right;
    color:rgba(255,255,255,.75);
    font-size:11px;
    line-height:1.5;
    text-shadow:0 1px 6px rgba(0,0,0,.45);
}

.sr-edit-hint{
    position:fixed;
    z-index:100;
    right:18px;
    bottom:18px;
    padding:9px 12px;
    border-radius:10px;
    background:#111;
    color:#fff;
    font-size:12px;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,.32);
}

/* Privacy policy page: deliberately no home/navigation link. */
.sr-policy-body{
    min-height:100vh;
    background:
        radial-gradient(circle at 50% -10%,rgba(145,207,59,.12),transparent 32%),
        linear-gradient(180deg,#0a1a0f,#061008);
    color:#f7f7f2;
}

.sr-policy{
    width:min(calc(100% - 40px),900px);
    margin:0 auto;
    padding:76px 0 100px;
}

.sr-policy-brand{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:46px;
    color:#b9df78;
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.sr-policy-brand-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#91cf3b;
}

.sr-policy h1{
    margin:0 0 14px;
    font-size:clamp(42px,7vw,76px);
    line-height:.95;
    letter-spacing:-.045em;
}

.sr-policy .sr-updated{
    margin:0 0 42px;
    color:rgba(255,255,255,.58);
    font-size:14px;
}

.sr-policy h2{
    margin:38px 0 12px;
    font-size:24px;
    letter-spacing:-.02em;
}

.sr-policy p,
.sr-policy li{
    color:rgba(255,255,255,.78);
    font-size:16px;
    line-height:1.75;
}

.sr-policy ul{padding-left:22px}
.sr-policy a{color:#b7e56d}

@keyframes srIntro{
    from{opacity:0;transform:translateY(16px) scale(.985)}
    to{opacity:1;transform:none}
}

@media(max-width:782px){
    body.admin-bar .sr-header{top:46px}
}

@media(max-width:720px){
    body.home{overflow:auto}

    .sr-main{padding:76px 16px 82px}
    .sr-logo{width:min(94vw,760px)}

    .sr-description{
        max-width:94vw;
        margin-top:9px;
        padding:8px 12px;
        font-size:13px;
    }

    .sr-cta-stack{
        margin-top:12px;
        gap:7px;
    }

    .sr-steam img{width:min(305px,82vw)}
    .sr-discord img{width:min(270px,74vw)}

    .sr-social-icons{
        gap:11px;
        margin-top:5px;
    }

    .sr-social-icon{
        width:60px;
        height:60px;
    }

    .sr-brand-row{
        margin-top:8px;
        gap:13px;
        min-height:46px;
    }

    .sr-studio-logo{
        width:92px;
        max-height:54px;
    }

    .sr-press-kit{
        min-height:36px;
        padding:0 13px;
        font-size:10px;
        letter-spacing:.10em;
    }

    .sr-footer{
        position:absolute;
        padding:9px 14px 12px;
    }

    .sr-footer-inner{
        width:100%;
        justify-content:center;
    }

    .sr-copyright{
        text-align:center;
        font-size:9px;
    }
}

@media(max-height:790px) and (min-width:721px){
    .sr-main{
        padding-top:68px;
        padding-bottom:58px;
    }
    .sr-logo{
        width:min(720px,68vw);
        max-height:240px;
    }
    .sr-description{
        margin-top:8px;
        font-size:14px;
        padding:8px 16px;
    }
    .sr-cta-stack{
        margin-top:10px;
        gap:5px;
    }
    .sr-steam img{width:285px}
    .sr-discord img{width:250px}
    .sr-social-icon{width:62px;height:62px}
    .sr-social-icons{gap:12px}
    .sr-brand-row{margin-top:6px;gap:14px}
    .sr-studio-logo{width:94px;max-height:54px}
    .sr-press-kit{min-height:36px;padding:0 13px;font-size:10px}
}

@media(prefers-reduced-motion:reduce){
    *,*:before,*:after{
        animation-duration:.001ms!important;
        animation-iteration-count:1!important;
        transition-duration:.001ms!important;
    }
}
