[data-bs-theme="dark"] {
    --bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-bg: #141719;
    --bs-body-color: #DEE2E6;
    --bs-secondary-color: #ADB5BD;
    --bs-tertiary-bg: #1B1E22;
    --bs-border-color: #24282D;
    --bs-link-color: #3591ED;
    --bs-link-color-rgb: 53, 145, 237;
    --bs-link-hover-color: #64ABF2;
    --bs-link-hover-color-rgb: 100, 171, 242;
}

.navbar {
    background: #101214;
    --bs-navbar-active-color: #3591ED;
}

.card,
.list-group {
    --bs-card-bg: #1B1E22;
    --bs-list-group-bg: #1B1E22;
    --bs-list-group-action-hover-bg: #24282D;
}

.btn-primary {
    --bs-btn-bg: #1063B7;
    --bs-btn-border-color: #1063B7;
    --bs-btn-hover-bg: #147AE0;
    --bs-btn-hover-border-color: #147AE0;
    --bs-btn-active-bg: #0C4C8D;
    --bs-btn-active-border-color: #0C4C8D;
}

.btn-sky {
    --bs-btn-color: #fff;
    --bs-btn-bg: #434e5a;
    --bs-btn-border-color: #3591ED;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #405870;
    --bs-btn-hover-border-color: #64ABF2;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #147AE0;
    --bs-btn-active-border-color: #147AE0;
}

.hero {
    position: relative;
    padding: 140px 0;
    background: url("/assets/img/hero.webp") center / cover;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 23, 25, .75);
}

.hero-page::before {
    background: rgba(20, 23, 25, .3);
}

.hero-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px;
    border-radius: var(--bs-border-radius-lg);
    background: rgba(20, 23, 25, .88);
}

.hero-screen {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 57px);
}

.hero-screen .hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 64px 0;
}

@media (max-width: 575px) {
    .hero-box {
        padding: 28px 20px;
    }
}

.hero-up {
    animation: slide-up .6s cubic-bezier(.2, .9, .3, 1) both;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-up {
        animation: none;
    }
}

@media (max-width: 1280px) {
    .hero {
        background-image: url("/assets/img/hero-1280.webp");
    }
}

.hero .container {
    position: relative;
}

.heading-line::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: #1063B7;
}

.service {
    border: 0;
    transition: background-color .15s;
}

.service:hover,
.service:focus-visible {
    background: #24282D;
}

.dropdown-menu {
    --bs-dropdown-link-hover-bg: #1063B7;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-active-bg: #1063B7;
}

.dropdown-item:hover .text-primary,
.dropdown-item:focus .text-primary {
    color: #fff !important;
}

@media (max-width: 767px) {
    .navbar-collapse {
        padding: 12px 0 16px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-nav .dropdown-menu {
        margin: 0 0 4px;
        padding: 0;
        border: 0;
        background: none;
    }

    .navbar-nav .dropdown-item {
        padding: 10px 12px 10px 26px;
        border-radius: var(--bs-border-radius);
    }
}

.pop {
    opacity: 0;
}

.pop-in {
    animation: pop .3s cubic-bezier(.2, .9, .3, 1.2) both;
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.85);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pop {
        opacity: 1;
    }

    .pop-in {
        animation: none;
    }
}

.discord-cta {
    position: relative;
    padding: 48px;
    border-radius: var(--bs-border-radius);
    background: #1B1E22;
}

.btn-discord {
    --bs-btn-color: #fff;
    --bs-btn-bg: #5865F2;
    --bs-btn-border-color: #5865F2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4752C4;
    --bs-btn-hover-border-color: #4752C4;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3C45A5;
    --bs-btn-active-border-color: #3C45A5;
}

.discord-wumpus {
    position: absolute;
    right: 48px;
    bottom: 0;
    height: 300px;
}

.nav-social {
    font-size: 22px;
    color: #ADB5BD;
    transition: color .15s;
}

.nav-social:hover,
.nav-social:focus-visible {
    color: #5865F2;
}

.switch {
    display: inline-flex;
    width: 100%;
    max-width: 600px;
    padding: 4px;
    border-radius: var(--bs-border-radius);
    background: #1B1E22;
    --bs-nav-pills-link-active-bg: #1063B7;
    --bs-nav-link-color: #ADB5BD;
    --bs-nav-link-hover-color: #fff;
}

.switch .nav-link {
    flex: 1;
    padding: 10px 16px;
}

.legal {
    max-width: 800px;
}

.legal h2 {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 600;
}

.sold-out {
    opacity: .5;
    filter: grayscale(1);
}

.sold-out:hover {
    background: #1B1E22;
}

main {
    overflow-x: clip;
}

.drift {
    opacity: 0;
}

.drift.from-left {
    transform: translateX(-80px);
}

.drift.from-right {
    transform: translateX(80px);
}

.drift.drift-in {
    opacity: 1;
    transform: none;
    transition: opacity .4s, transform .4s cubic-bezier(.2, .9, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
    .drift {
        opacity: 1;
        transform: none;
    }
}

.shot {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.shot img {
    transition: filter .15s;
}

.shot:hover img,
.shot:focus-visible img {
    filter: brightness(1.15);
}

.shots-close {
    position: absolute;
    top: -40px;
    right: 0;
    filter: invert(1);
}

#shots .modal-dialog {
    max-width: min(1800px, 94vw);
}

#shots .carousel-item img {
    max-height: 88vh;
    object-fit: contain;
}

.marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee .shot {
    flex: none;
    width: min(520px, 80vw);
}

@keyframes marquee {
    to {
        transform: translateX(calc(-50% - 8px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        overflow-x: auto;
    }

    .marquee-track {
        animation: none;
    }
}

.st-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6C757D;
}

.st-dot.ok,
.st-bars .g {
    background: #2EA043;
}

.st-dot.warn,
.st-bars .y {
    background: #D29922;
}

.st-dot.down,
.st-bars .r {
    background: #DA3633;
}

.st-dot.maint,
.st-bars .mx {
    background: #3591ED;
}

.st-bars {
    display: flex;
    gap: 2px;
    height: 34px;
}

.st-bars i {
    flex: 1;
    border-radius: 2px;
    background: #2C3136;
}

.st-bars .g2 {
    background: #57AB5A;
}

.st-bars .o {
    background: #DB6D28;
}

.st-bars .pre {
    opacity: .5;
}
