/* =========================================================
   RAMPAGE GAMING COMMUNITY
   LIVE WEBSITE CONTROL
========================================================= */


/* ANNOUNCEMENT */

#rgc-site-announcement {
    position: relative;
    z-index: 99990;
    box-sizing: border-box;
    width: 100%;
    padding: 11px 55px 11px 20px;
    border-bottom: 1px solid rgba(227,27,45,.55);
    background:
        linear-gradient(
            90deg,
            #7c0712,
            #b80f1f 45%,
            #7c0712
        );
    color: #fff;
    text-align: center;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .25px;
}

#rgc-site-announcement::before {
    content: "RAMPAGE GAMING COMMUNITY";
    margin-right: 13px;
    color: rgba(255,255,255,.7);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

#rgc-site-announcement button {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 25px;
    height: 25px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.18);
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}

#rgc-site-announcement button:hover {
    background: rgba(0,0,0,.35);
}


/* =========================================================
   MAINTENANCE SCREEN
========================================================= */

html.rgc-maintenance-active,
html.rgc-maintenance-active body {
    margin: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #050709 !important;
}

#rgc-maintenance {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 30px;
    overflow: auto;
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(227,27,45,.13),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #07090c,
            #030405
        );
    color: #fff;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

#rgc-maintenance::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
}

.rgc-maintenance-card {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    box-sizing: border-box;
    border: 1px solid #252b32;
    background: rgba(8,11,14,.97);
    box-shadow:
        0 30px 100px rgba(0,0,0,.65);
}

.rgc-maintenance-top {
    height: 3px;
    background: #e31b2d;
}

.rgc-maintenance-content {
    padding: 55px 55px 50px;
    text-align: center;
}

.rgc-maintenance-logo {
    display: block;
    width: 210px;
    max-width: 70%;
    max-height: 120px;
    margin: 0 auto 35px;
    object-fit: contain;
}

.rgc-maintenance-eyebrow {
    margin-bottom: 12px;
    color: #e31b2d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rgc-maintenance-content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 6vw, 58px);
    font-weight: 900;
    line-height: .98;
    text-transform: uppercase;
}

.rgc-maintenance-content p {
    max-width: 540px;
    margin: 24px auto 0;
    color: #8b949e;
    font-size: 13px;
    line-height: 1.75;
}

.rgc-maintenance-line {
    width: 80px;
    height: 2px;
    margin: 30px auto;
    background: #e31b2d;
}

.rgc-maintenance-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border: 1px solid #282e35;
    background: #0d1115;
    color: #9aa3ac;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.rgc-maintenance-status i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e31b2d;
    box-shadow:
        0 0 10px rgba(227,27,45,.7);
}

.rgc-maintenance-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.rgc-maintenance-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 18px;
    border: 1px solid #343a42;
    background: #101419;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}

.rgc-maintenance-actions a.rgc-discord {
    border-color: #e31b2d;
    background: #e31b2d;
}

.rgc-maintenance-actions a:hover {
    filter: brightness(1.15);
}


/* LOGIN DISABLED */

a.rgc-login-disabled,
button.rgc-login-disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}


/* STORE CLOSED */

.rgc-store-closed-notice {
    box-sizing: border-box;
    max-width: 1000px;
    margin: 25px auto;
    padding: 18px 20px;
    border: 1px solid rgba(227,27,45,.3);
    border-left: 3px solid #e31b2d;
    background: #0c1014;
    color: #a0a8b0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 11px;
    line-height: 1.6;
}

.rgc-store-closed-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}


/* LOADER */

#rgc-control-loader {
    position: fixed;
    left: -99999px;
    top: -99999px;
}


/* MOBILE */

@media (max-width: 650px) {

    #rgc-site-announcement {
        padding-left: 12px;
        padding-right: 45px;
        font-size: 10px;
    }

    #rgc-site-announcement::before {
        display: block;
        margin: 0 0 4px;
    }

    .rgc-maintenance-content {
        padding: 40px 22px 35px;
    }

    .rgc-maintenance-actions {
        flex-direction: column;
    }

    .rgc-maintenance-actions a {
        width: 100%;
    }
}

/* =========================================================
   RGC MAINTENANCE STAFF LOGIN
========================================================= */

#rgc-maintenance .rgc-staff-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    min-height: 44px;

    padding: 11px 22px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 3px;

    background: rgba(255,255,255,.055);

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


#rgc-maintenance .rgc-staff-login:hover {
    background: #d71920;
    border-color: #d71920;

    transform: translateY(-1px);

    box-shadow:
        0 8px 28px rgba(215,25,32,.22);
}


#rgc-maintenance .rgc-staff-login:active {
    transform: translateY(0);
}


@media (max-width: 600px) {

    #rgc-maintenance .rgc-staff-login {
        width: 100%;
    }
}


/* END RGC MAINTENANCE STAFF LOGIN */