html, body {
    margin: 0; 
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #e4e4e4;
}
#bg-video {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}
#top-left-image {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 150px;
    aspect-ratio: 3 / 4;
    z-index: 100; /* Increased to ensure it appears above all other elements */
}
#top-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.center-text {
    background: #484c64;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 2rem;
    max-width: 90vw;
    z-index: 10; /* Ensure center-text is below top-left-image but above video */
}
.under-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fcfcfc;
    color: #333;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    z-index: 10;
}
#discordData, #discordInfo {
    display: flex;
    height: 50px;
}
#callToAction, #callToAction-clicked {
    bottom: 0;
    cursor: pointer;
    height: 40px;
    left: 0;
    min-height: 32px;
    min-width: 73px;
    position: relative;
    right: 0;
    top: 0;
    align-self: center;
    margin: 0 0 0 10px;
    padding: 2px 16px;
}
#buttonText, #introText, #serverNameBox, #status {
    text-overflow: ellipsis;
    overflow: hidden;
}
@font-face {
    font-family: Whitney;
    font-weight: 300;
    src: url(https://discordapp.com/assets/6c6374bad0b0b6d204d8d6dc4a18d820.woff) format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 400;
    src: url(https://discordapp.com/assets/e8acd7d9bf6207f99350ca9f9e23b168.woff) format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 500;
    src: url(https://discordapp.com/assets/3bdef1251a424500c1b3a78dea9b7e57.woff) format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 600;
    src: url(https://discordapp.com/assets/be0060dafb7a0e31d2a1ca17c0708636.woff) format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 700;
    src: url(https://discordapp.com/assets/8e12fb4f14d9c4592eb8ec9f22337b04.woff) format("woff");
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#discordInviteBox {
    background-color: #5c6f9e;
    display: inline-block;
    width: 400px;
    box-sizing: border-box;
    z-index: 10;
}
#discordInvite {
    text-align: left;
    box-sizing: border-box;
    color: #fff;
    background: rgba(47, 49, 54, .6);
    border-radius: 3px;
    font: normal normal 400 normal 16px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 10px 15px 10px 10px;
    display: inline-block;
    width: 100%;
}
#offlineInd, #onlineInd {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    margin: 0 4px 0 0;
    display: block;
}
#introText {
    color: #b9bbbe;
    height: 16px;
    letter-spacing: .5px;
    text-transform: uppercase;
    flex: 1 1 0%;
    font: normal normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0 0 8px;
}
#serverImg {
    background-position: 50% 50%;
    bottom: 0;
    cursor: pointer;
    height: 50px;
    left: 0;
    position: relative;
    right: 0;
    top: 0;
    width: 50px;
    border-radius: 15px;
    flex: 0 0 auto;
    margin: 0 10px 0 0;
}
#discordInviteError {
    background-color: red;
    color: #fff;
}
#discordInfo {
    align-items: stretch;
    justify-content: center;
    flex: 1 1 auto;
    flex-flow: column nowrap;
}
#callToAction, #statusIndicators {
    align-items: center;
    display: flex;
}
#serverNameBox {
    color: #f6f6f7;
    cursor: pointer;
    height: 20px;
    font: normal normal 600 normal 16px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0 0 4px;
}
#serverNameBox:hover {
    text-decoration: underline;
}
#status, #statusIndicators {
    font: normal normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #72767d;
    height: 16px;
}
#statusIndicators {
    justify-content: flex-start;
}
#onlineInd {
    color: #72767d;
    column-rule-color: #72767d;
    background: #43b581;
    font: italic normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#numOnline {
    color: #72767d;
    display: block;
    height: 16px;
    font: normal normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0 8px 0 0;
}
#offlineInd {
    color: #72767d;
    background: #747f8d;
    font: italic normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#numTotal {
    color: #72767d;
    display: block;
    height: 16px;
    font: normal normal 600 normal 12px/16px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#callToAction {
    color: #fff;
    border: 0;
    justify-content: center;
    background: #43b581;
    border-radius: 3px;
    font: normal normal 500 normal 14px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: background-color .17s ease 0s;
}
#callToAction:hover {
    background-color: #3ca374;
}
#callToAction-clicked {
    color: #dcddde;
    display: flex;
    overflow-wrap: break-word;
    word-wrap: break-word;
    align-items: center;
    justify-content: center;
    user-select: none;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(114, 118, 126, .298);
    border-radius: 3px;
    font: normal normal 500 normal 14px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: color .17s ease 0s, background-color .17s ease 0s, border-color .17s ease 0s;
}
#discordPoly, #gDiscord {
    white-space: nowrap;
    word-wrap: break-word;
    column-rule-color: #dcddde;
    user-select: none;
    fill: none;
    border: 0 #dcddde;
    overflow-wrap: break-word;
    cursor: pointer;
    text-align: center;
    font: normal normal 500 normal 14px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#callToAction-clicked:hover {
    border-color: hsla(218, 5%, 47%, .6);
}
#discordSVG {
    color: #dcddde;
    height: 18px;
    width: 18px;
    margin: 0 0 0 8px;
}
#gDiscord {
    fill-rule: evenodd;
}
#discordPoly {
    text-decoration: none solid #dcddde;
    fill-rule: evenodd;
    stroke: #dcddde;
    stroke-width: 2px;
    caret-color: #dcddde;
    outline: #dcddde 0;
}
#joinedDiscord {
    color: #dcddde;
    cursor: pointer;
    display: flex;
    height: 20px;
    overflow-wrap: break-word;
    text-align: center;
    font: normal normal 500 normal 14px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
}
#buttonText {
    cursor: pointer;
    display: flex;
    height: 20px;
    text-align: center;
    font: normal normal 500 normal 14px/20px Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0 8.83px;
}
.loadHidden {
    display: none;
}
@media (max-width: 768px) {
    html, body {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    .center-text {
        font-size: 1.2rem;
        padding: 10px 20px;
        margin-top: 20px;
        max-width: 95vw;
        box-sizing: border-box;
        word-wrap: break-word;
        text-align: center;
    }
    .under-text {
        position: static;
        margin: 20px auto;
        font-size: 1rem;
        text-align: center;
        padding: 10px 15px;
        box-shadow: none;
        width: fit-content;
    }
    #discordInviteBox {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    #discordInvite {
        width: 100%;
        max-width: 350px;
        padding: 10px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #discordData {
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 50px;
    }
    #discordInfo {
        flex: 1;
        height: auto;
        min-height: 50px;
        justify-content: center;
        align-items: flex-start;
    }
    #serverImg {
        height: 40px;
        width: 40px;
        margin: 0 8px 0 0;
        flex-shrink: 0;
    }
    #introText {
        font-size: 11px;
        line-height: 14px;
        margin: 0 0 6px;
        height: auto;
        max-width: 100%;
    }
    #serverNameBox {
        font-size: 14px;
        line-height: 18px;
        height: auto;
        margin: 0 0 4px;
        max-width: 100%;
    }
    #status, #numOnline, #numTotal {
        font-size: 11px;
        line-height: 14px;
        height: auto;
    }
    #statusIndicators {
        height: auto;
    }
    #callToAction, #callToAction-clicked {
        font-size: 12px;
        padding: 6px 12px;
        height: auto;
        min-height: 30px;
        margin: 8px 0 0 0;
        width: fit-content;
        align-self: flex-end;
    }
    #onlineInd, #offlineInd {
        height: 6px;
        width: 6px;
        margin: 0 3px 0 0;
    }
    video#bg-video {
        object-position: center;
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }
    #top-left-image {
        display: none;
    }
}