
/* =========================================================
   CLOUDRIFT HOSTING — WILD ROSE GAMING STATUS PAGE
   Theme: Dark / Orange / Modern Infrastructure
   ========================================================= */

:root {
    --st-bg: #090b10;
    --st-surface: #10141d;
    --st-surface-2: #151b26;
    --st-border: rgba(255,255,255,.075);
    --st-border-hover: rgba(255,145,55,.35);

    --st-orange: #ff9137;
    --st-orange-light: #ffad63;
    --st-green: #36d399;
    --st-yellow: #fbbf24;
    --st-red: #fb626b;
    --st-text: #f3f4f6;
    --st-muted: #929baa;

    --online: var(--st-green);
    --warning: var(--st-yellow);
    --offline: var(--st-red);
    --orange: var(--st-orange);
    --red: var(--st-red);
}

/* PAGE BACKGROUND */

.st-page {
    position: relative;
    padding: 65px 20px 85px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,145,55,.065), transparent 55%),
        var(--st-bg);
    color: var(--st-text);
    min-height: 500px;
}

.st-page .container {
    position: relative;
    z-index: 1;
}

/* HERO */

.st-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #0a0d13;
    border-bottom: 1px solid rgba(255,145,55,.2);
}

.st-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.st-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .24;
    filter: saturate(.65);
}

.st-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(9,11,16,.97), rgba(9,11,16,.65), rgba(9,11,16,.95)),
        linear-gradient(0deg, #090b10, transparent 65%),
        radial-gradient(ellipse at center, rgba(255,145,55,.13), transparent 65%);
}

.st-hero__content {
    width: 100%;
    max-width: 900px;
    padding: 70px 24px;
    text-align: center;
}

.st-hero__title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -1.8px;
    color: #fff;
}

.st-hero__title span {
    color: var(--st-orange) !important;
}

.st-hero__sub {
    margin-bottom: 25px;
    color: var(--st-muted);
    font-family: monospace;
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.st-hero__indicator {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 19px;
    border: 1px solid var(--st-border);
    border-radius: 50px;
    background: rgba(255,255,255,.035);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    backdrop-filter: blur(12px);
}

.st-hero__indicator--online {
    color: var(--st-green);
    border-color: rgba(54,211,153,.22);
    background: rgba(54,211,153,.07);
}

.st-hero__indicator--maintenance {
    color: var(--st-yellow);
    border-color: rgba(251,191,36,.25);
    background: rgba(251,191,36,.07);
}

.st-hero__indicator--offline {
    color: var(--st-red);
    border-color: rgba(251,98,107,.25);
    background: rgba(251,98,107,.07);
}

/* STATUS DOTS */

.t-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: currentColor;
}

.t-dot--online {
    color: var(--st-green);
}

.t-dot--warning {
    color: var(--st-yellow);
}

.t-dot--offline {
    color: var(--st-red);
}

.t-dot--pulse {
    animation: stPulse 2s infinite;
}

@keyframes stPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 currentColor;
    }
    50% {
        opacity: .8;
        box-shadow: 0 0 0 5px transparent;
    }
}

/* SUMMARY STATISTICS */

.st-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 35px;
}

.st-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 112px;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--st-border);
    border-radius: 13px;
    background: linear-gradient(145deg, #151b26, #10141d);
    transition: border-color .2s, transform .2s;
}

.st-stat:hover {
    border-color: var(--st-border-hover);
    transform: translateY(-3px);
}

.st-stat__val {
    color: #fff;
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -1px;
}

.st-stat__val--green {
    color: var(--st-green);
}

.st-stat__label {
    color: var(--st-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* NOTICES */

#stNotices {
    display: grid;
    gap: 12px;
    margin-bottom: 35px;
}

.st-notice {
    padding: 18px 20px;
    border: 1px solid var(--st-border);
    border-left: 3px solid var(--st-orange);
    border-radius: 10px;
    background: var(--st-surface);
}

.st-notice--info {
    border-left-color: #60a5fa;
}

.st-notice--warning {
    border-left-color: var(--st-yellow);
}

.st-notice--error {
    border-left-color: var(--st-red);
}

.st-notice--success {
    border-left-color: var(--st-green);
}

.st-notice__title {
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
}

.st-notice__body {
    color: var(--st-muted);
    font-size: .85rem;
    line-height: 1.7;
}

/* SECTION HEADINGS */

.st-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--st-orange);
    font-family: monospace;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
}

/* SERVICE CARDS */

#stServices {
    display: grid;
    gap: 12px;
}

.st-service,
.t-panel {
    position: relative;
    padding: 21px 23px;
    border: 1px solid var(--st-border);
    border-radius: 13px;
    background: linear-gradient(120deg, #141a24, #10141d);
    transition: border-color .2s, transform .2s, background .2s;
}

.st-service:hover {
    transform: translateY(-2px);
    border-color: var(--st-border-hover);
    background: linear-gradient(120deg, #191f2b, #121721);
}

.st-service__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 13px;
}

.st-service__name {
    color: #f5f6f8;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -.2px;
}

.st-service__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: monospace;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.st-service__badge--online {
    color: var(--st-green);
    background: rgba(54,211,153,.08);
    border-color: rgba(54,211,153,.17);
}

.st-service__badge--maintenance {
    color: var(--st-yellow);
    background: rgba(251,191,36,.08);
    border-color: rgba(251,191,36,.17);
}

.st-service__badge--offline {
    color: var(--st-red);
    background: rgba(251,98,107,.08);
    border-color: rgba(251,98,107,.17);
}

/* SERVICE METADATA */

.st-service__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
    margin-bottom: 17px;
    color: var(--st-muted);
    font-size: .73rem;
}

.st-service__uptime {
    margin-left: auto;
    color: var(--st-green);
    font-family: monospace;
    font-size: .82rem;
    font-weight: 800;
}

/* UPTIME HISTORY BARS */

.st-bars {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: 29px;
}

.st-bar {
    flex: 1;
    min-width: 0;
    border-radius: 3px;
    opacity: .85;
    transition: opacity .2s, transform .2s;
}

.st-bar:hover {
    opacity: 1;
    transform: scaleY(1.15);
}

.st-bar--excellent {
    background: var(--st-green);
}

.st-bar--good {
    background: #a3d977;
}

.st-bar--poor {
    background: var(--st-yellow);
}

.st-bar--down {
    background: var(--st-red);
}

/* LEGEND */

.st-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: rgba(255,255,255,.018);
}

.st-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--st-muted);
    font-size: .7rem;
}

.st-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* REFRESH FOOTER */

.st-refresh {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
    color: var(--st-muted);
    font-size: .75rem;
    text-align: center;
    line-height: 1.8;
}

.st-refresh a {
    color: var(--st-orange);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.st-refresh a:hover {
    color: var(--st-orange-light);
}

/* FALLBACK */

.angry-fallback {
    padding: 55px 20px !important;
    border: 1px solid rgba(251,98,107,.16);
    border-radius: 14px;
    background: var(--st-surface);
}

.angry-fallback p {
    color: var(--st-muted);
}

/* RESPONSIVE */

@media (max-width: 700px) {
    .st-hero {
        min-height: 290px;
    }

    .st-hero__content {
        padding: 55px 18px;
    }

    .st-page {
        padding: 40px 14px 60px;
    }

    .st-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .st-stat {
        min-height: 95px;
        padding: 16px;
    }

    .st-stat__val {
        font-size: 1.7rem;
    }

    .st-service {
        padding: 18px 15px;
    }

    .st-service__name {
        font-size: .88rem;
    }

    .st-service__meta {
        gap: 10px;
        font-size: .68rem;
    }

    .st-bars {
        gap: 3px;
        height: 23px;
    }

    .st-legend {
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .st-service__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .st-service__uptime {
        margin-left: 0;
    }

    .st-hero__title {
        letter-spacing: -1px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t-dot--pulse {
        animation: none;
    }

    .st-service,
    .st-stat,
    .st-bar {
        transition: none;
    }
}