.home-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.home-page::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: -100px;
    bottom: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,7,13,0.58) 0%,
            rgba(4,7,13,0.38) 18%,
            rgba(4,7,13,0.08) 42%,
            rgba(4,7,13,0.08) 58%,
            rgba(4,7,13,0.38) 82%,
            rgba(4,7,13,0.58) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4,7,13,0.52) 0%,
            rgba(4,7,13,0.18) 16%,
            rgba(4,7,13,0.03) 36%,
            rgba(4,7,13,0.03) 64%,
            rgba(4,7,13,0.18) 84%,
            rgba(4,7,13,0.52) 100%
        ),
        url("../cover.png");

    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    filter: brightness(1.15) saturate(1.08);
    z-index: -2;
}

.home-page::after {
    display: none;
}

.home-hero {
    width: 100%;
    padding-left: 80px;
    padding-right: 40px;
    margin: 0;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.front-text-image {
    width: min(500px, 100%);
    display: block;
    filter:
        drop-shadow(0 10px 0 rgba(0,0,0,0.45))
        drop-shadow(0 0 40px rgba(79,195,215,0.22));
}

.hero-content p {
    margin-top: 0;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.7;
    color: #d4dce2;
}

/* INFOBAR */

.home-infobar {
    width: min(1050px, calc(100% - 40px));
    height: 95px;

    margin: -480px auto 0;

    background-image: url("../infobar.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    position: relative;
    z-index: 11;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateX(-400px);
}

.infobar-grid {
    width: 92%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    transform: translateY(-8px);
}
.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item span {
    font-size: 13px;
    font-weight: 900;
    color: #d6c08a;
    letter-spacing: .08em;
}

.info-item strong {
    font-size: 18px;
    font-weight: 1000;
    color: white;
}

.info-divider {
    width: 1px;
    height: 48px;
    background: rgba(214,190,120,.22);
}

/* MODULES */

.home-modules {
    width: 100%;
    margin: -30px auto 0;

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;

    padding-left: 80px;

    position: relative;
    z-index: 10;

    transform: none;
}

.home-module {
    width: 320px;
    height: 320px;
    padding: 0;

    background-image: url("../module.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    display: grid;
    grid-template-rows: 72px 138px 58px;

    color: #e7dfc5;
    margin: 0;
}

.home-module h2 {
    align-self: end;
    margin-top: -20px;
    text-align: center;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: .08em;
    color: #d8c28a;
    text-shadow: 0 2px 6px rgba(0,0,0,.8);
}

.module-content {
    width: 270px;
    height: 125px;
    margin: -5px auto 0;
    padding: 16px 22px;

    display: flex;
    flex-direction: column;
    gap: 9px;

    font-size: 14px;
    color: #d5cfb8;
}

.module-content p {
    font-size: 14px;
    line-height: 1.45;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(214,190,120,.15);
    padding-bottom: 7px;
}

.status-row:last-child {
    border-bottom: none;
}

.status-row span {
    color: #b7aa83;
    font-weight: 800;
    font-size: 14px;
}

.status-row strong {
    color: #f1e7c5;
    font-size: 14px;
}

.module-button {

    width: 190px;
    height: 30px;

    margin: 8px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    text-decoration: none;

    border: 0;

    background-image:
    url("../button.png");

    background-size:
    100% 100%;

    background-repeat:
    no-repeat;

    background-position:
    center;

    background-color:
    transparent;

    color:
    #e7dfc5;

    font-size:
    12px;

    font-weight:
    1000;

    letter-spacing:
    .06em;

    text-shadow:
    0 2px 5px rgba(0,0,0,.8);

    cursor:
    pointer;

    transition:
    .15s;
}

.module-button:hover {

    filter:
    brightness(1.12);

    transform:
    translateY(-1px);
}

/* STATUS DOTS */

.status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}

.online-dot {
    background: #7cff4f;
    box-shadow: 0 0 10px rgba(124,255,79,.8);
}

.offline-dot {
    background: #ff4f4f;
    box-shadow: 0 0 10px rgba(255,79,79,.8);
}

/* MOBILE */

@media (max-width: 1200px) {
    .home-infobar {
        margin-top: 30px;
        transform: none;
    }

    .home-modules {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .home-hero {
        padding-top: 70px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .front-text-image {
        width: min(430px, 100%);
    }
}

html,
body {
    overflow: hidden;
    height: 100%;
}

.server-ip-item {
    position: relative;
}

.copy-icon-button {
    position: relative;

    border: 0;
    background: transparent;

    cursor: pointer;

    padding: 0;
    margin-left: 12px;
}

.copy-icon-button img {
    width: 30px;
    height: 30px;
}

#infobar-copy-message {
    position: absolute;

    left: 50%;
    top: -34px;

    transform: translateX(-50%);

    opacity: 0;

    background: rgba(5,12,18,.92);
    border: 1px solid rgba(214,190,120,.35);
    border-radius: 8px;

    padding: 6px 10px;

    color: #d8c28a;

    font-size: 12px;
    font-weight: 900;

    white-space: nowrap;

    pointer-events: none;

    transition: .2s;
}

#infobar-copy-message.show {
    opacity: 1;
}

.server-ip-item {
    position: relative;
}

.copy-icon-button {
    position: relative;

    border: 0;
    background: transparent;

    cursor: pointer;

    padding: 0;
    margin-left: 12px;
}

.copy-icon-button img {
    width: 30px;
    height: 30px;
}

#infobar-copy-message {
    position: absolute;

    left: 50%;
    top: -34px;

    transform: translateX(-50%);

    opacity: 0;

    background: rgba(5,12,18,.92);
    border: 1px solid rgba(214,190,120,.35);
    border-radius: 8px;

    padding: 6px 10px;

    color: #d8c28a;

    font-size: 12px;
    font-weight: 900;

    white-space: nowrap;

    pointer-events: none;

    transition: .2s;
}

#infobar-copy-message.show {
    opacity: 1;
}