* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
    overflow-y: auto;
    overflow-x: hidden;
}

body,
html {
	max-width: 100%;
    scroll-behavior: smooth;
}

:root {
    --body: #030a0b;
    --secondBG: rgb(16, 28, 29, 80%);
    --thirdBG: #010505; /* footer */
    --forthBG: #0f191a;
    --fiveBG: #151e20;

    --accent: #8557cb;
    --accentHover: rgb(133, 87, 203, 80%);

    --thirdBG-border: rgba(42,56,57,80%);

    --btnHover: #142123;

    --text-color: #fff;
    --grey-text: #828282;
    --grey-text-dark: #839293;

    --widthMain: 1168px;
    --borderRadius: 10px;

    --font-inter: "Inter", serif;
    --transition: 0.3s ease;
}

body {
	color: var(--text-color);
	background: var(--body);
    font-family: var(--font-inter);
    position: relative;
    font-size: 17px;
    background-image: url(https://gamegridservers.com/stars.png);
    background-size: contain;
    background-repeat: no-repeat;
}

p {
    margin-bottom: 0px;
}

:focus-visible {
    outline: inherit;
}

a {
	text-decoration: inherit;
	color: var(--text-color);
    font-size: 17px;
    font-family: var(--font-inter);
    transition: var(--transition);
}

:hover, :focus {
    transition: var(--transition);
}

a:hover {
    text-decoration: inherit;
    color: inherit;
}

a:focus {
    text-decoration: inherit;
    color: inherit;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin: 0px;
    font-family: var(--font-inter);
    font-weight: 700;
}

button {
    font-family: var(--font-inter);
    transition: var(--transition);
    cursor: pointer;
}

input {
    font-family: var(--font-inter);
    transition: var(--transition);
}

dl, ul, ol {
    margin: 0px;
}

/* MAIN DESIGN */
.JC-Topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
}

.JC-Topbar-width {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: var(--widthMain);
    margin: 0 auto;
    height: 32px;
    font-size: 15px;
}

.JC-Topbar p {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 6px;
    justify-content: center;
    opacity: 85%;
}

.JC-navBar-width {
    width: var(--widthMain);
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.JC-navBar-between {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.JC-navBar-center {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.JC-Logo {
    width: 42px;
    height: 100%;
    object-fit: contain;
}

.JC-navLink, .JC-navLink-btn {
    position: relative;
    z-index: 2;
    font-size: 15px;
    font-weight: 400;
}

.JC-navButton {
    padding: 8px 15px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    transition: var(--transition);
}

.JC-navLink-btn {
    background: var(--accent);
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 16px;
    justify-content: center;
}

.JC-navButton:hover, .JC-navButton:focus {
    background: var(--accentHover);
    transition: var(--transition);
}

.JC-HeaderTop {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 5;
}

.JC-navBar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.JC-Container {
    padding-top: 100px;
}

.JC-navScrolled {
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--accent), transparent 98%);
}

.JC-SecondaryNavbar {
    background: var(--secondBG);
}

.JC-SecondaryNavbar-width {
    width: var(--widthMain);
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 50px;
}

.JC-Footer {
    background: var(--thirdBG);
    box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
    padding: 20px 0px 60px;
    margin-top: 80px;
}

.JC-FooterWidth {
    padding: 50px 0px;
    width: var(--widthMain);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.JC-FooterLeft {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    gap: 16px;
}

.JC-FooterSocial {
    display: flex;
    align-items: center;
    gap: 15px;
}

.JC-FooterSocialLink, .JC-FooterSocialLink:hover, .JC-FooterSocialLink:focus {
    background: radial-gradient(ellipse at top,color-mix(in srgb,#1b2a2c,transparent 70%),color-mix(in srgb,#1b2a2c,transparent 19.999999999999996%));
    color: var(--accent);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 100%;
    font-size: 14px;
}

.JC-FooterRight {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5rem;
}

.JC-FooterBox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 160px;
}

.JC-FooterBox-title {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}

.JC-FooterSlogan {
    color: var(--grey-text);
    font-size: 17px;
    max-width: 300px;
}

.JC-FooterLogo {
    width: 50px;
}

.JC-FooterBottom {
    width: var(--widthMain);
    margin: 0 auto;
}

.JC-FooterBox-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.JC-FooterBox-link, .JC-FooterBox-link:hover, .JC-FooterBox-link:focus {
    font-size: 17px;
    color: var(--grey-text);
}

.JC-FooterCopy {
    font-size: 15px;
    color: var(--grey-text);
}

.JC-SecondaryNavbar-width a {
    font-size: 15px;
    font-weight: 400;
    color: var(--grey-text);
}

/* mobile menu */
.JC-MobileMenu, .JC-MobileMenu:hover, .JC-MobileMenu:focus {
    height: 45px;
    width: 45px;
    border-radius: 12px;
    border: inherit;
    outline: inherit;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
}

.JC-MobileClose, .JC-MobileClose:hover, .JC-MobileClose:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 20px;
    color: var(--grey-text);
    border: inherit;
    outline: inherit;
}

.JC-MobileBars {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 5px;
    position: relative;
}

.JC-mobilebar-line {
    width: 25px;
    background: var(--text-color);
    height: 2px;
    display: flex;
    transition: var(--transition);
    transform: rotate(0deg);
    top: 0px;
    position: relative;
}

.opened .JC-MobileBars {
    gap: 0px;
}

.opened .JC-mobilebar-line:nth-child(1) {
    transform: rotate(40deg);
    transition: var(--transition);
}

.opened .JC-mobilebar-line:nth-child(3) {
    transform: rotate(-40deg);
    width: 25px;
    top: -2px;
    position: relative;
    transition: var(--transition);
}

.opened .JC-mobilebar-line:nth-child(2) {
    display: none;
    transition: var(--transition);
}

.JC-navMobile {
    position: fixed;
    height: 100%;
    width: 100%;
    max-width: 340px;
    background-color: var(--fiveBG);
    color: var(--text-color);
    z-index: 999;
    transform-origin: 100% 100%;
    transform: translateX(-320px);
    transition: var(--transition);
    opacity: 0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
}

.JC-navMobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #242424;
    padding: 16px 32px;
}

.JC-navMobile-logo {
    width: 42px;
}

.JC-navMobile-col {
    padding-left: 15px;
}

.JC-navMobile-opened {
    transform: translateX(0vh);
    opacity: 1;
}

.JC-navMobile-links {
    padding: 16px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.JC-navMobile-link {
    width: 100%;
}

.JC-navMobile-drop {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.JC-navMobile-col {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.JC-navMobile-col .JC-navMobile-link {
    font-size: 16px;
}

.JC-FadeActive {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 900;
    background: rgba(0, 0, 0, 80%);
    top: 0;
    left: 0;
}

.JC-CartBtn {
    background: radial-gradient(ellipse at top, 
    color-mix(in srgb, #1b2a2c, transparent 70%), 
    color-mix(in srgb, #1b2a2c, transparent 19.999999999999996%));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 45px;
    border: inherit;
    width: 45px;
    border-radius: 8px;
    position: relative;
}

.JC-CartBtn span {
    position: absolute;
    background: var(--thirdBG-border);
    padding: 2px 4px;
    border-radius: 20px;
    top: -10px;
    color: var(--text-color);
    min-width: 25px;
    font-size: 10px;
}

.login-form .form-control {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-left: inherit !important;
}

.login-form .form-control:focus {
    border-left: inherit !important;
}

#inputPassword {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.login-form .btn-reveal-pw {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.mc-promo-login .view-ticket .content, .mc-promo-manage .view-ticket .content, .view-ticket .card-body, .view-ticket .mc-promo-login .content, .view-ticket .mc-promo-manage .content {
    border-bottom: 1px solid var(--thirdBG-border);
}

.md-editor>.md-preview, .md-editor>textarea.markdown-editor {
    border-radius: 0px !important;
}

/* RESPONSIVE */

@media only screen and (max-width: 1200px) {
    :root {
        --widthMain: calc(100% - 50px);
    }

    .JC-FooterRight {
        gap: 2rem;
    }
}

@media only screen and (max-width: 1030px) {
    .JC-FooterWidth {
        flex-direction: column;
        gap: 5rem;
    }

    .JC-FooterRight {
        gap: 5rem;
    }
}

@media only screen and (max-width: 880px) {
    .JC-MobileMenu, .JC-MobileMenu:hover, .JC-MobileMenu:focus {
        display: flex;
    }

    .JC-navBar-center {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .JC-Topbar p {
        font-size: 14px;
    }

    .JC-FooterCopy {
        font-size: 14px;
    }
}