* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Microsoft YaHei;
    src: url("src/Fonts/Microsoft-YaHei/MicrosoftYaHeiUI.ttf") format("truetype");
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-BoldItalic.ttf');
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-BoldItalic\(1\).ttf');
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-Heavy.ttf');
    font-weight: bolder;
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-HeavyItalic.ttf');
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-Italic.ttf');
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-Light.ttf');
    font-weight: normal;
}

@font-face {
    font-family: Beaufort for LOL;
    src: url('src/Fonts/BeaufortForLoL-TTF/BeaufortforLOL-Medium.ttf');
    font-weight: 600;
}

body {
    background-color: black;
    opacity: 0;
}


.navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 30px;
}

.nav-button {
    border-radius: 5px;
    border: 2px solid var(--dourado-2, #C38934);
    width: 183px;
    height: 55px;
    background: #16171C;
    cursor: pointer;
}

.nav-button>span {
    text-align: center;
    font-family: "Beaufort for LOL";
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;

    text-align: center;
    background-image: var(--dourado-2, linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-text {
    font-family: "Beaufort for LOL";
    font-size: 40px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-transform: uppercase;
    background: var(--LOL---gradient, linear-gradient(180deg, #67471F 0%, #CBAC62 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    padding-bottom: 40px;
}

.league-banners {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: auto;
    justify-content: center;
    position: relative;
    background-image: url('src/img/banner.webp');
    overflow: hidden;
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    transition-duration: .35s;
}

.banners {
    display: flex;
    align-items: center;
    justify-content: start;
}

.skin-container>img {
    width: inherit;
    height: inherit;
}

.banner-image {
    margin: auto;
    width: 100%;
    height: 100%;
    position: relative;
}

.skin-container {
    /* transition-delay: .1s; */
    transition-duration: .2s;
    padding: 0;
    margin: 17px;
    width: 600px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    position: relative;

}

.active {
    transform: scale(1.11);
    /* transition-delay: .1s; */
    transition-duration: .2s;
    position: relative;
}

.sampletxt {
    color: #C4B998;
    text-align: center;
    font-family: "Beaufort for LOL";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    /* 70% */
    letter-spacing: 4px;
    text-transform: uppercase;
}

.sampletxt>span {
    color: #937341;
    text-align: center;
    font-family: "Beaufort for LOL";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    /* 150% */
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nameplate {
    background-image: url('src/img/NamePlateBG.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 544px;
    height: 213px;
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: center;

}

.button-container {
    position: absolute;
    display: flex;
    gap: 36vw;
    justify-content: center;
    align-items: center;
    width: 100vw;
    padding: 0;
    margin-top: 12vw;
}

.button-container>button {
    background: transparent;
    border: none;
    cursor: pointer;

    &:active {
        content: "";
        width: 40px;
        animation-name: btnClick;
        animation-play-state: running;
        animation-duration: 2s;
    }
}

@keyframes btnClick {
    from {
        transform: scale(1.1);
        transition-duration: .3s;
    }

    to {
        transform: scale(1.0);
        transition-duration: .3s;
    }


}

.nav-button-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.banner-name-text {
    width: 100%;
    height: 146px;
    background: #16171B;
    position: absolute;
    top: -73px;

}

.skin-info-container {
    background-image: url('src/img/infoBG.png');
    background-size: 100vw;
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 180px;
    position: relative;
    transition-duration: .3s;
    height: auto;
    /* opacity: 0; */
}

.splash-art {
    width: 100%;
    height: auto;
}

.skin-info-container>h3 {
    color: #C4B998;
    text-align: center;
    font-family: "Beaufort for LOL";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 100% */
    letter-spacing: 7px;
    text-transform: uppercase;
    /* width: min-content; */
    margin: auto;
    position: relative;

    &::before {
        content: "";
        height: 2px;
        width: 20vw;
        background: linear-gradient(90deg, transparent, #cbab6277);
        position: absolute;
        left: 20vw;
        top: 50%;

    }

    &::after {
        content: "";
        height: 2px;
        width: 20vw;
        background: linear-gradient(90deg, #cbab6277, transparent);
        position: absolute;
        right: 20vw;
        top: 50%;
    }
}

.skin-info-container>.row {
    display: flex;
    flex-direction: row;
    gap: 4vw;
    padding: 120px 0;
    align-items: center;

}

.skin-info-column {
    max-width: 50%;
    flex-basis: 50%;
    opacity: 0;
}

.skin-info-column>h4 {
    font-family: "Beaufort for LOL";
    font-size: 23px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    /* 385% */
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--Dourado-LOL, linear-gradient(180deg, #67471F 0%, #CBAC62 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top: 2px;
    position: relative;

    &:first-child::before {
        content: "";
        position: absolute;
        background-image: url('src/img/image\ 61.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        top: 0;
        left: 0;
        width: 25px;
        height: 25px;
    }

}

.skin-info-column>h4:first-child {
    padding-left: 30px;
}

.skin-info-column>p {
    color: #FFF;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.skin-info-column>ul li {
    color: #FFF;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 30px;
    padding-bottom: 10px;
}

.skin-iframe {
    position: relative;
    padding-top: 30px;

}

.skin-info-container>.row {
    display: none;
}

.cssAnims {
    animation-name: cssAnim;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes cssAnim {
    0% {
        opacity: 0;
        transform: translateY(30px);

        &::after {
            content: " ";
            opacity: 0 !important;
        }

        &::before {
            content: " ";
            opacity: 0 !important;
        }
    }

    50% {
        opacity: .5;

        &::after {
            content: " ";
            opacity: .5 !important;
        }

        &::before {
            content: " ";
            opacity: .5 !important;
        }
    }

    100% {
        opacity: 1;
        transform: translateY(0);

        &::after {
            opacity: 1 !important;
        }

        &::before {
            opacity: 1 !important;
        }
    }
}

@media screen and (max-width: 1440px) {
    .banner-container {
        transition-duration: .4s;
    }

    .button-container {
        gap: 47vw;
        margin-top: 14vw;
    }
}

@media screen and (max-width: 1024px) {
    .banner-container {

        transition-duration: .4s;
    }

    .button-container {

        gap: 65vw;
        margin-top: 18vw;
    }

    .skin-info-container>.row {
        padding: 40px;
    }

    .skin-info-column {
        max-width: 100%;
        flex-basis: 100%;
        justify-content: center;
        align-items: center;

    }

    .skin-info-container>h3 {
        &::before {
            content: "";
            height: 2px;
            width: 15vw;
            background: linear-gradient(90deg, transparent, #cbab6277);
            position: absolute;
            left: 20vw;
            top: 50%;

        }

        &::after {
            content: "";
            height: 2px;
            width: 15vw;
            background: linear-gradient(90deg, #cbab6277, transparent);
            position: absolute;
            right: 20vw;
            top: 50%;
        }
    }

    .skin-iframe>iframe {
        display: block;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .banner-container {
        transition-duration: .4s;
    }

    .button-container {

        gap: 90vw;
        margin-top: 30vh;
    }

    .skin-info-container>.row {
        padding: 15px;
        flex-direction: column;
    }

    .skin-info-container>h3 {
        &::before {
            content: "";
            height: 2px;
            width: 20vw;
            background: linear-gradient(90deg, transparent, #cbab6277);
            position: absolute;
            left: 10vw;
            top: 50%;

        }

        &::after {
            content: "";
            height: 2px;
            width: 20vw;
            background: linear-gradient(90deg, #cbab6277, transparent);
            position: absolute;
            right: 10vw;
            top: 50%;
        }
    }
}

@media screen and (max-width:430px) {

    .nav-column:first-child {
        width: 30%;
        flex-basis: 30%;
    }

    .banner-text {
        font-family: Beaufort for LOL;
        font-size: 20px;
        font-weight: bold;
        line-height: 17.7px;
        padding-top: 60px;
        padding-bottom: 30px;

    }

    .nav-column {
        width: 70%;
        flex-basis: 70%;
    }

    .banner-container {
        transition-duration: .4s;
    }

    .skin-container {
        width: 240px;
        height: auto;
        margin: 15px;
    }

    .active {
        transform: scale(1.2);
    }

    .button-container {
        gap: 58vw;
        margin-top: 16vh;
    }

    .banner-name-text {
        height: 59px;
        top: -30px;
    }

    .nameplate {
        top: -15px;
        width: 221px;
        height: 86.98px;
        background-size: cover;
    }

    .sampletxt {
        font-family: Beaufort for LOL;
        font-size: 10px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: 4px;
        text-align: center;

    }

    .sampletxt>span {
        font-family: Beaufort for LOL;
        font-size: 10px;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: 3px;
        text-align: center;

    }

    .navigation {
        padding: 10px;
    }

    .nav-button-container {
        gap: 10px;
        justify-content: end;
    }

    .nav-button {
        width: 130.02px;
        height: auto;
        padding: 10px 5px;

    }

    .nav-button>span {
        font-family: Beaufort for LOL;
        font-size: 9px;
        font-weight: bolder;
        letter-spacing: 2px;
        text-align: center;

    }

    .nav-column>a>svg {
        width: 95px;
        height: 29px;
    }

    .skin-info-container {
        padding-top: 60px;
    }

    .skin-iframe>iframe {
        width: 320px;
        height: 180px;
        padding-top: 15px;
    }

    .skin-info-container>h3 {
        letter-spacing: .08em;

        &::before {
            content: "";
            height: 2px;
            width: 20vw;
            background: linear-gradient(90deg, transparent, #cbab6277);
            position: absolute;
            left: 5vw;
            top: 50%;

        }

        &::after {
            content: "";
            height: 2px;
            width: 20vw;
            background: linear-gradient(90deg, #cbab6277, transparent);
            position: absolute;
            right: 5vw;
            top: 50%;
        }
    }
}


/* LOL TC English Styles */

/* Modal header styles */
.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #0A0A0C;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-header span {
    text-align: center;
    font-family: "Beaufort for LOL", "Beaufort for LOL Custom", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
    background: linear-gradient(90deg, #FFC75F -10.52%, #B8A581 84.31%, #FFF 127.92%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.close-modal img {
    margin-top: 5px;
    margin-right: 5px;
}

/* Existing dialog modal styles */
dialog {
    background: linear-gradient(144.54deg, #16171B 20.8%, #081827 153.14%);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    border: none;
    padding: 0 0 10px 0;
    margin: auto;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.toggle-button {
    padding: 10px 20px;
    font-family: "Beaufort for LOL", "Beaufort for LOL Custom", sans-serif;
    background-color: #FFC75F;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

/* Modal close button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: #FFF;
    cursor: pointer;
}

#formModal1 h2 {
    color: #EAE2BB;
    text-align: center;
    font-family: "Microsoft YaHei", serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    text-align: center;
    padding: 44px 50px 40px 50px;
}

#formModal1 p {
    color: #C5C5C5;
    font-family: "Microsoft YaHei", serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    padding: 0 30px 37px 30px;
}

.tc-content h1 {
    color: #FFF;
    font-family: "Microsoft YaHei", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    padding-bottom: 40px;
    padding-left: 30px;
    text-align: left;
}

.tc-content ul {
    padding: 0 50px 40px 45px;
}

.tc-content ul li {
    color: #C5C5C5;
    font-family: "Microsoft YaHei", serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 15px;
    text-align: left;
    list-style-type: disc;
}

@media screen and (max-width: 480px) {
    #formModal1 h2 {
        padding: 44px 30px 40px 30px;
    }

    #formModal1 p {
        padding: 0 20px 37px 20px;
    }

    .tc-content h1 {
        padding-bottom: 30px;
    }

}

@media screen and (max-width: 414px) {
    .modal-header span {
        font-size: 15px;
    }

    .close-modal img {
        margin-top: 5px;
        height: 18px;
        width: 18px;
    }
}

/*LOL Register Styles*/
.form-container img {
    width: 100%;
}

.form-container h2 {
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.form-container p {
    color: #C5C5C5;
    text-align: center;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    padding: 25px;
    margin: 0;
}

.form-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left;
    font-size: 17px;
    line-height: 21.49px;
    font-family: "Beaufort for LOL", "Beaufort for LOL Custom", sans-serif !important;
    background: linear-gradient(180deg, #67471F 0%, #CBAC62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-container input[type="text"]:focus {
    border: 2px solid #a67b1a;
    outline: none;
}

.form-container input[type="text"],
.form-container input:-webkit-autofill,
.form-container input:-webkit-autofill:hover,
.form-container input:-webkit-autofill:active,
.form-container input:-webkit-autofill:focus {
    width: 100%;
    height: 56px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333333;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: "Beaufort for LOL", "Beaufort for LOL Custom", sans-serif !important;
    font-size: 16px;
    background-color: #3A3A3A !important;
    color: #C5C5C5 !important;
    caret-color: white;
    -webkit-text-fill-color: #C5C5C5 !important;
    transition: background-color 5000s ease-in-out 0s !important;
    /* Trick to keep background color */
}


.form-container button {
    max-width: 155px;
    width: 100%;
    height: 56px;
    padding: 19px 22px 19px 23px;
    margin: 30px 0;
    border-radius: 5px;
    border: 2px solid #767676;
    background: rgba(25, 28, 33, 0.80);
    cursor: pointer;
    color: #DBC598;
    text-align: center;
    font-family: "Beaufort for LOL", "Beaufort for LOL Custom", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.form-container button .loading-icon {
    display: none;
    border: 3px solid transparent;
    border-radius: 50%;
    border-top: 3px solid #DBC598;
    width: 20px;
    /* Increased width */
    height: 20px;
    /* Set height equal to width */
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-container button.submitting .loading-icon {
    display: block;
}

.form-container button.submitting span {
    visibility: hidden;
}

#ultimateSkinForm {
    max-width: 371px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ultimateSkinForm label {
    align-self: flex-start;
}


#ultimateSkinForm label:nth-of-type(1) {
    padding-top: 10px;
}

#ultimateSkinForm label:nth-of-type(2) {
    padding-top: 20px;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 25%;
    transform: translate(-50%, 0);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 375px;
}

.modal.success {
    background-color: #28a745;
}

.modal.error {
    background-color: #ee3945;
}

.modal p {
    margin: 0;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal p svg {
    margin-right: 8px;
}

@media screen and (max-width: 431px) {

    .form-container input[type="text"],
    .form-container input:-webkit-autofill,
    .form-container input:-webkit-autofill:hover,
    .form-container input:-webkit-autofill:active,
    .form-container input:-webkit-autofill:focus {
        height: 56px;
    }

    .form-container button {
        height: auto;
        padding: 15px;
    }

    .form-container p {
        font-size: 12px;
        padding: 15px;
    }

    .modal p {
        font-size: 11px;
    }

    .modal {
        max-width: 300px;
    }

    .modal.success svg {
        height: 18px;
        width: 18px;
    }

    .modal.error svg {
        height: 18px;
        width: 18px;
    }
}

@media screen and (max-width: 380px) {

    .form-container input[type="text"],
    .form-container input:-webkit-autofill,
    .form-container input:-webkit-autofill:hover,
    .form-container input:-webkit-autofill:active,
    .form-container input:-webkit-autofill:focus {
        width: 95%;
    }

    #ultimateSkinForm label {
        margin-left: 12px;
    }
}