#body {
    margin: 0;
    background-color: #cbd5e1;
    background-image: url("../../media/csgo/CSGO-Banner.jpg"), url("../../media/csgo/bg.png");
    background-position: top center, center;
    background-size: 100% min(260px, 32vw), cover;
    background-repeat: no-repeat;
    background-attachment: scroll, fixed;
    color: #111827;
}

.csgo-section {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
    padding-block: 2rem;
    --bs-gutter-x: 1.5rem;
}

.csgo-introduction {
    padding-top: clamp(8rem, 23vw, 15rem);
}

.csgo-introduction > div,
.game-mode-description,
.rainbow {
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.14);
}

.csgo-introduction > div {
    padding: clamp(1rem, 3vw, 2rem);
}

.csgo-introduction p,
.feature-list {
    font-weight: 500;
}

.feature-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.25rem;
}

.info-heading {
    color: #991b1b;
    font-family: "Quantico", sans-serif;
    font-weight: 700;
}

.section-heading {
    width: min(100% - 2rem, 1200px);
    margin: 1rem auto 0;
    font-size: clamp(2.2rem, 7vw, 4.4rem);
    text-align: center;
}

.game-mode-options {
    display: grid;
    gap: 0.75rem;
}

.game-mode-option {
    width: 100%;
    padding: 0.75rem;
    border: 3px solid #111827;
    border-radius: 0.75rem;
    background: #fff;
    color: #111827;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.game-mode-option:hover,
.game-mode-option:focus-visible {
    background: #b91c1c;
    color: #fff;
    transform: translateY(-2px);
}

.game-mode-description {
    min-height: 14rem;
    padding: clamp(1rem, 3vw, 2rem);
}

.gameplay-wrap {
    display: flex;
    justify-content: center;
}

#gameplay {
    width: min(100%, 900px);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.24);
}

#success {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

#success th,
#success td {
    min-width: 8rem;
    padding: 0.8rem;
    border: 1px solid #111827;
    text-align: left;
}

.headerlucky {
    margin: 1.25rem 0;
    font-family: "OCR A", monospace;
    font-size: clamp(2rem, 6vw, 4.4rem);
    font-weight: 700;
    text-align: center;
}

.shanDeng {
    width: 100%;
    overflow-x: auto;
}

.shanDeng table {
    margin: 0 auto;
}

.shanDeng td {
    width: clamp(6.5rem, 15vw, 12.5rem);
    height: clamp(6.5rem, 15vw, 12.5rem);
    padding: 0.25rem;
    border: 4px solid transparent;
    border-radius: 1rem;
    background: url("../../media/csgo/metallic-texture.jpg") center / cover;
    text-align: center;
}

.shanDeng td img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0.75rem !important;
    object-fit: contain;
}

#btn.cjBtn {
    background-image: url("../../media/csgo/button.png");
    background-size: 100% 100%;
    cursor: pointer;
}

#luck .active {
    background-image: url("../../media/csgo/lazer-border.jpg");
}

@keyframes rotate {
    to {
        transform: rotate(1turn);
    }
}

.rainbow {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: clamp(1rem, 4vw, 2rem);
}

.rainbow::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -100%;
    background: conic-gradient(#399953, #fbb300, #d53e33, #377af5, #399953);
    animation: rotate 5s linear infinite;
}

.rainbow::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6px;
    border-radius: 0.75rem;
    background: #fff;
}

.fieldset-csgo {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #111827;
    border-radius: 0.75rem;
}

.legend-csgo {
    width: auto;
    padding-inline: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.form-label-csgo,
#commentlabel {
    display: inline-block;
    width: 12rem;
    margin-right: 0.75rem;
}

#comment textarea {
    display: block;
    width: min(100%, 32rem);
    margin-top: 0.5rem;
}

#status {
    color: #b91c1c;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    #body {
        background-size: auto 10rem, cover;
    }

    .csgo-section {
        width: min(100% - 1.25rem, 1200px);
        padding-block: 1.25rem;
    }

    .csgo-introduction {
        padding-top: 8rem;
    }

    .game-mode-description {
        min-height: 10rem;
        order: -1;
    }

    .form-label-csgo,
    #commentlabel {
        width: 100%;
    }
}
