/*
Theme Name: Schedule Rehab Landing
Theme URI: https://paislop.com/
Author: Paislop Studio
Description: A lightweight one-page game landing theme inspired by modern indie game websites. Includes editable Steam, Discord and social links, hero text, logo and background image.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: schedule-rehab-landing
*/

:root {
    --sr-bg: #0a0d11;
    --sr-bg-soft: #111720;
    --sr-text: #f5f2e9;
    --sr-muted: #abb1ba;
    --sr-accent: #f2bd43;
    --sr-accent-2: #d95f3e;
    --sr-line: rgba(255,255,255,.14);
    --sr-card: rgba(12,15,19,.62);
    --sr-max: 1180px;
}

* { box-sizing: border-box; }

html {
    margin: 0 !important;
    scroll-behavior: smooth;
    background: var(--sr-bg);
}

body {
    margin: 0;
    background: var(--sr-bg);
    color: var(--sr-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.admin-bar .sr-topbar { top: 32px; }

a { color: inherit; }

.sr-site {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 12%, rgba(67,79,96,.26), transparent 36%),
        #0a0d11;
}

.sr-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 76px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.sr-topbar-inner {
    width: min(calc(100% - 38px), var(--sr-max));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sr-topbar a { pointer-events: auto; }

.sr-studio {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.sr-studio-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--sr-accent);
    box-shadow: 0 0 24px rgba(242,189,67,.65);
}

.sr-top-nav {
    display: flex;
    gap: 26px;
}

.sr-top-nav a {
    text-decoration: none;
    color: rgba(255,255,255,.72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.sr-top-nav a:hover { color: #fff; }

.sr-hero {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.sr-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(180deg, rgba(5,7,9,.18) 0%, rgba(5,7,9,.38) 55%, #0a0d11 100%),
        var(--sr-hero-image, none),
        radial-gradient(circle at 55% 35%, #24303c, #0b0e12 58%);
    background-size: cover;
    background-position: center;
    transform: scale(1.035);
    transition: transform .2s linear;
}

.sr-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 45%, rgba(214,91,62,.20), transparent 24%),
        radial-gradient(circle at 80% 38%, rgba(242,189,67,.16), transparent 25%),
        linear-gradient(90deg, rgba(0,0,0,.22), transparent 24%, transparent 76%, rgba(0,0,0,.22));
    mix-blend-mode: screen;
    opacity: .7;
}

.sr-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .075;
    background-image:
        linear-gradient(rgba(255,255,255,.40) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.40) 1px, transparent 1px);
    background-size: 84px 84px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 26%, #000 68%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 4%, #000 26%, #000 68%, transparent 95%);
}

.sr-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .7;
    z-index: -2;
    animation: srFloat 16s ease-in-out infinite alternate;
}

.sr-glow-a {
    width: 540px;
    height: 540px;
    left: -230px;
    top: 18%;
    background: radial-gradient(circle, rgba(217,95,62,.27), transparent 66%);
}

.sr-glow-b {
    width: 620px;
    height: 620px;
    right: -270px;
    top: 5%;
    animation-delay: -6s;
    animation-duration: 20s;
    background: radial-gradient(circle, rgba(242,189,67,.20), transparent 66%);
}

.sr-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, #0a0d11);
}

.sr-hero-inner {
    width: min(calc(100% - 36px), 860px);
    margin: auto;
    padding: 112px 0 96px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sr-kicker {
    margin: 0 0 20px;
    color: var(--sr-accent);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.sr-logo {
    display: block;
    max-width: min(640px, 88vw);
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 2px auto 22px;
    filter: drop-shadow(0 18px 36px rgba(0,0,0,.45));
}

.sr-wordmark {
    margin: 0;
    max-width: 900px;
    font-size: clamp(3rem, 10.5vw, 7.6rem);
    line-height: .82;
    letter-spacing: -.07em;
    font-weight: 1000;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 15px 45px rgba(0,0,0,.46);
}

.sr-tagline {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: clamp(1.05rem, 2.5vw, 1.55rem);
    line-height: 1.35;
    letter-spacing: -.02em;
    font-weight: 800;
    text-wrap: balance;
}

.sr-description {
    max-width: 670px;
    margin: 14px auto 0;
    color: var(--sr-muted);
    font-size: .98rem;
    line-height: 1.72;
    text-wrap: pretty;
}

.sr-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sr-button {
    min-width: 210px;
    min-height: 66px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 18px 48px rgba(0,0,0,.30);
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.sr-button:hover {
    transform: translateY(-3px);
}

.sr-button-primary {
    background: var(--sr-accent);
    color: #111317;
    box-shadow: 0 16px 42px rgba(242,189,67,.20);
}

.sr-button-primary:hover {
    background: #ffd064;
    box-shadow: 0 20px 48px rgba(242,189,67,.28);
}

.sr-button-secondary {
    background: rgba(255,255,255,.075);
    color: #fff;
    border-color: rgba(255,255,255,.16);
    backdrop-filter: blur(12px);
}

.sr-button-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
}

.sr-button-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0,0,0,.11);
    display: grid;
    place-items: center;
    font-size: .9rem;
    font-weight: 950;
}

.sr-button-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.sr-button-copy small {
    font-size: .60rem;
    font-weight: 900;
    letter-spacing: .13em;
    opacity: .62;
}

.sr-button-copy strong {
    margin-top: 5px;
    font-size: .94rem;
    letter-spacing: .04em;
}

.sr-scroll {
    margin-top: 54px;
    color: rgba(255,255,255,.50);
    text-decoration: none;
    font-size: .60rem;
    font-weight: 900;
    letter-spacing: .19em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sr-scroll::after {
    content: "";
    width: 1px;
    height: 42px;
    background: linear-gradient(#fff, transparent);
    animation: srPulse 1.9s ease-in-out infinite;
}

.sr-about {
    width: min(calc(100% - 36px), var(--sr-max));
    margin: 0 auto;
    padding: 94px 0 115px;
}

.sr-about-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--sr-line);
    background:
        linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    padding: clamp(30px, 6vw, 74px);
    box-shadow: 0 22px 66px rgba(0,0,0,.27);
}

.sr-about-card::after {
    content: "";
    width: 300px;
    height: 300px;
    border-radius: 999px;
    position: absolute;
    right: -100px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(242,189,67,.16), transparent 68%);
    pointer-events: none;
}

.sr-about-label {
    margin: 0;
    color: var(--sr-accent);
    font-size: .70rem;
    letter-spacing: .22em;
    font-weight: 950;
    text-transform: uppercase;
}

.sr-about h2 {
    margin: 12px 0 18px;
    max-width: 780px;
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.sr-about-text {
    max-width: 760px;
    margin: 0;
    color: var(--sr-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.sr-socials {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sr-social {
    height: 46px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.80);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sr-social:hover {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(255,255,255,.09);
}

.sr-social-mark {
    font-size: .68rem;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.sr-footer {
    border-top: 1px solid rgba(255,255,255,.085);
    background: rgba(0,0,0,.16);
}

.sr-footer-inner {
    width: min(calc(100% - 36px), var(--sr-max));
    margin: auto;
    padding: 34px 0 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.sr-footer-studio {
    display: block;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.sr-footer-copy {
    margin: 8px 0 0;
    color: rgba(255,255,255,.42);
    font-size: .73rem;
}

.sr-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sr-footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,.56);
    font-size: .75rem;
}

.sr-footer-links a:hover { color: #fff; }

.sr-legal-page {
    min-height: 100vh;
    width: min(calc(100% - 36px), 860px);
    margin: auto;
    padding: 110px 0 80px;
}

.sr-legal-page h1 {
    margin: 8px 0 28px;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.sr-legal-page p,
.sr-legal-page li {
    color: var(--sr-muted);
    line-height: 1.8;
}

.sr-back {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 24px;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.sr-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.sr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes srFloat {
    from { transform: translate3d(-12px,-8px,0) scale(.98); }
    to { transform: translate3d(22px,18px,0) scale(1.05); }
}

@keyframes srPulse {
    0%,100% { opacity: .3; transform: scaleY(.65); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

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

@media (max-width: 680px) {
    .sr-topbar { height: 64px; }
    .sr-topbar-inner { width: calc(100% - 28px); }
    .sr-top-nav { display: none; }

    .sr-hero-inner { padding-top: 92px; }
    .sr-wordmark { font-size: clamp(3rem, 16vw, 5.2rem); }
    .sr-description { font-size: .93rem; }
    .sr-actions { width: 100%; }
    .sr-button { width: min(100%, 330px); }

    .sr-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

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