
* {
    box-sizing: border-box;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
}
body {
    background: linear-gradient(to bottom, #000000ab 0%, rgba(43, 43, 43, 0.4) 27%, rgba(25, 25, 25, 0.9) 100%),
    url(https://static-assets.chicagorum.com/images/chicagobg.png?duotone=000000,FFFFFF&duotone-alpha=75&bri=-10&q=85);
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}
.container {
    height: 100vh;
    min-width: 1000px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}
.content {
    width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.masthead {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: 24px;
    margin-bottom: 12px;
    width: 1000px;
}
.mastheadLogo {
    color: #fff;
    width: fit-content;
    padding: 6px 18px 6px 2px;
    border-radius: 8px;
}

.mastheadLogo .mastheadDiscord {
    display: none;
}
.mastheadLogo span {
    background: linear-gradient(to bottom, #f5deb3 0%, #e6ac00 20%, #d79b3b 45%, #d5bf70 75%, #5c4033 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.21);
    transition: font-size 0.3s ease;
    font-size: 40px;
    font-family: 'BodegaSmallCaps', sans-serif;
    font-weight: 400;
    font-style: normal;
}
.mastheadFeed {
    flex-grow: 1;
    height: 51px;
    padding: 6px 18px;
    margin-left: 6px;
    margin-right: 6px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
}

.mastheadFeedLeft {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.mastheadFeedRight {
    width: 50%;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.mastheadStat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 6px solid #00000055;
    height: 100%;
    padding-left: 12px;
}

.mastheadStatValue {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mastheadStatIcon {
    width: 18px;
    height: 18px;
}

.mastheadStatIcon.players {
    filter: grayscale(100%);
    opacity: 0.95;
}
.mastheadFeedTitle {
    color: #c8c6c6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
}

.mastheadFeedList {
    overflow: hidden;
    width: 100%;
    height: 24px;
    position: relative;
}

.feedScrollContainer {
    display: flex;
    flex-direction: column;
    height: max-content;
    transition: transform 0.3s ease;
}

.feedItem {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    height: 24px;
    flex-shrink: 0;
}

.feedItem img {
    width: 14px;
    height: 14px;
    filter: brightness(0.8) drop-shadow(0 0 6px #f4eae155);
    flex-shrink: 0;
}

.feedItem span {
    color: #e0e0e0;
    font-size: 12px;
    font-weight: 400;
}

.feedTimestamp {
    margin-left: 4px;
    color: #666 !important;
    font-weight: 500 !important;
}
.videoBox {
    /*background-color: rgba(48, 47, 47, 0.47);*/
    height: fit-content;
    width: 1000px;
    overflow: hidden;
    position: relative;
}

.videoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.loginBox {
    text-shadow: unset;
    color: #f4d8b8;
    backdrop-filter: blur(4px) grayscale(20%);
    height: 100%;
    width: 340px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 12px;
    font-family: "Fira Sans Condensed", sans-serif;
    background: linear-gradient(to bottom, rgba(91, 91, 91, 0.1) 0%, rgba(81, 81, 81, 0.1) 27%);
    gap: 24px;
    position: relative;
}

.loginSection {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.loginHeader {
    color: #eebb7c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsSection {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.newsHeader {
    color: #eebb7c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsItem {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #fff3;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.newsItem:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: #eebd7f55;
    transform: translateX(2px);
}

.newsItemTitle {
    color: #f4d8b8;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.newsItemTime {
    color: #f4d8b855;
    font-size: 11px;
}

.forgotLink, .backLink {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-color: rgba(161, 161, 161, 0.47) !important;
    color: #d6d6d6 !important;
    font-size: 13px;
    display: inline-block;
    float: right;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

.buttonRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
}

.formLander {
    width: 100%;
}

input {
    border: 1px solid #fff5;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 14px;
    padding: 14px;
    margin: 4px;
    width: 100%;
    font-family: "Fira Sans Condensed", sans-serif;
}

button {
    border: 2px solid #eebd7faa;
    margin: 4px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    font-style: normal;
    border-radius: 6px;
    text-align: left;
    margin-top: 12px;
    background: linear-gradient(to bottom, #6a553aab, rgba(49, 31, 8, 0.67));
    color: #fffdf9;
    font-size: 16px;
    padding: 8px 48px;
    opacity: 0.8;
    cursor: pointer;
    transition: 0.4s all;
    width: fit-content;
}

.registerButton {
    width: 100%;
    background: linear-gradient(to bottom, #5a7a3a, #2d4a1a);
    border-color: #7aad4a;
    color: #fff;
    font-size: 15px;
    padding: 10px;
    margin-bottom: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.loginSection a {
    text-decoration: none !important;
}

.registerButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: swoosh 6s ease-in-out infinite;
}

@keyframes swoosh {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

.registerButton:hover {
    background: linear-gradient(to bottom, #6a8a4a, #3d5a2a);
}

.registerButton img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    opacity: 0.6;
    margin-left: 12px;
    margin-right: 6px;
}

.registerButton .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.registerButton .subtle {
    display: block;
    color: #ccc;
    font-size: 12px;
}

button span {
    transition: 0.4s all;
    display: inline-block;
}

button:hover {
    opacity: 1;
    color: #f6cb96;
    box-shadow: 12px 12px 22px #0006;
}

.noticeBox {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 12px;
    width: 100%;
    background: #5b5b5b55;
    border-radius: 12px;
    box-shadow: 0 0 34px #3c3c3ccc;
    padding: 12px;
    margin: 4px;
    border: 1px solid #00000055;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
}

.errorBox {
    color: #f9d9d9;
    background: rgba(103, 61, 61, 0.33);
    border: 1px solid #9c3c3c;
}

.successBox {
    color: #e5f9d9;
    background: rgba(72, 103, 61, 0.33);
    border: 1px solid #629c3c;
}

.reminder {
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    color: #aaa;
}

.videoBox video {
    max-width: 100%;
    /*opacity: 0.6;*/
    /*mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);*/
    /*-webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);*/
}

.featuresContainer {
    width: 1000px;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.featureCard {
    background: linear-gradient(to bottom, rgba(95, 95, 95, 0.2) 0%, rgba(81, 81, 81, 0.14) 27%);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: #f4d8b8;
    padding: 12px;
    gap: 6px;
    backdrop-filter: blur(4px);
}

.featureCard img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.featureCardContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.featureCard h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #eebb7c;
    margin-bottom: 1px;
    font-weight: 600;
    margin: 0 0 1px 0;
    font-family: "Fira Sans Condensed", sans-serif;
}

.featureCard p {
    color: #c8c6c6;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    font-family: "Fira Sans Condensed", sans-serif;
}

.credits {
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: left;
    color: #888;
    font-size: 11px;
    font-family: "Fira Sans Condensed", sans-serif;
    line-height: 1.6;
    width: 1000px;
}

.mastheadDiscord {
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: 0.6;
}

.mastheadDiscord:hover {
    opacity: 0.8;
}

.mastheadDiscord img {
    width: 92px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.countdownOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px) grayscale(100%) brightness(0.6);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.countdownBox {
    text-align: center;
    max-width: 500px;
    background: #373737dd;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 6px 36px;
    font-variant-numeric: tabular-nums;
}

.countdownBox h2 {
    color: #eebb7c;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 16px 0;
    font-family: "Fira Sans Condensed", sans-serif;
}

.countdownTimer {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 24px 0;
    font-family: "Fira Sans Condensed", sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.countdownDescription {
    color: #c8c6c6;
    font-size: 14px;
    line-height: 1.8;
    margin: 16px 0 0 0;
    font-family: "Fira Sans Condensed", sans-serif;
}

.loginSection.disabled {
    pointer-events: none;
}

.error-message {
    margin-top: 12px;
    padding: 12px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    border-radius: 6px;
    color: #f44336;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.formButton.loading {
    opacity: 0.5;
    cursor: not-allowed;
}

.formButton.loading:hover {
    transform: none;
    box-shadow: none;
}

@media only screen and (max-width: 767px) {
    body {
        /*background: linear-gradient(to right, #393939 0%, #2c2a2a 10%, #2c2a2a 90%, #393939 100%);*/
    }

    .container {
        min-width: unset;
        height: auto;
    }

    .content {
        width: 100%;
    }

    .masthead {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 12px;
        gap: 0;
        padding: 6px 14px;
    }

    .mastheadLogo {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: space-between;
    }

    .mastheadLogo .mastheadDiscord {
        display: flex !important;
        margin-left: 0;
    }

    .mastheadFeedRight .mastheadDiscord {
        display: none !important;
    }

    .mastheadFeed {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        height: auto;
        padding-left: 4px;
    }

    .mastheadFeedLeft {
        width: 100%;
    }

    .mastheadFeedRight {
        display: none;
    }

    .videoBox {
        width: 98%;
        margin: auto;
        height: 580px;
        background: url(https://img.chicagorum.com/images/mainloop.png?q=99) center center;
        background-size: cover;
        border-radius: 24px;
    }

    .videoBox video {
        display: none;
    }

    .videoOverlay {
        background: #00000033;
    }

    .loginBox {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .featuresContainer {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .credits {
        width: 100%;
        padding: 0 12px;
    }
}