/* thai */
@font-face {
    font-family: 'FC Iconic Text';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('FCIconicTextLight'), local('FC Iconic Text Light'), url(https://asset.cloudigame.co/fonts/FC-Iconic-Text/FC-Iconic-Text-Light.ttf) format('truetype');
}
@font-face {
    font-family: 'FC Iconic Text';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('FCIconicTextRegular'), local('FC Iconic Text Regular'), url(https://asset.cloudigame.co/fonts/FC-Iconic-Text/FC-Iconic-Text-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'FC Iconic Text';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('FCIconicTextMedium'), local('FC Iconic Text Medium'), url(https://asset.cloudigame.co/fonts/FC-Iconic-Text/FC-Iconic-Text-Medium.ttf) format('truetype');
}
@font-face {
    font-family: 'FC Iconic Text';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('FCIconicTextSemiBold'), local('FC Iconic Text SemiBold'), url(https://asset.cloudigame.co/fonts/FC-Iconic-Text/FC-Iconic-Text-SemiBold.ttf) format('truetype');
}
@font-face {
    font-family: 'FC Iconic Text';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('FCIconicTextBold'), local('FC Iconic Text Bold'), url(https://asset.cloudigame.co/fonts/FC-Iconic-Text/FC-Iconic-Text-Bold.ttf) format('truetype');
}

@keyframes x-glow-button {
    from {
        box-shadow: 0 0 5px rgba(255, 255, 255, .125),
        0 0 8px rgba(255, 255, 255, .125),
        0 0 10px rgba(255, 255, 255, .125),
        0 0 11px rgba(255, 182, 0, .3),
        0 0 14px rgba(255, 182, 0, .3),
        0 0 26px rgba(255, 182, 0, .3),
        0 0 34px rgba(255, 182, 0, .3),
        0 0 40px rgba(255, 182, 0, .3);
    }
    to {
        box-shadow: 0 0 2px rgba(255, 255, 255, .125),
        0 0 3px rgba(255, 255, 255, .125),
        0 0 6px rgba(255, 255, 255, .125),
        0 0 8px rgba(255, 182, 0, .3),
        0 0 6px rgba(255, 182, 0, .3),
        0 0 12px rgba(255, 182, 0, .3),
        0 0 16px rgba(255, 182, 0, .3),
        0 0 20px rgba(255, 182, 0, .3);
    }
}

@keyframes ping {
    0% {
        transform: scale(0.2);
        opacity: 0.8;
    }
    80% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

@keyframes heartbeat {
    from {
        transform: scale(1);
        transform-origin: center center;
        animation-timing-function: ease-out;
    }
    10% {
        transform: scale(0.91);
        animation-timing-function: ease-in;
    }
    17% {
        transform: scale(0.98);
        animation-timing-function: ease-out;
    }
    33% {
        transform: scale(0.87);
        animation-timing-function: ease-in;
    }
    45% {
        transform: scale(1);
        animation-timing-function: ease-out;
    }
}

:root {
    --swiper-pagination-color: #ffd573;
    --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, .4);
}

html {
    height: 100%;
    font-family: FC Iconic Text, Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #090909;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: "FC Iconic Text", sans-serif;
    color: #e5e7eb;
    background-color: #090909;
    overflow-x: hidden;
}

.x-main-container {
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 1rem 2rem;
    overflow: hidden;
    background-image: url("./img/provider-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.x-main-container .h1 {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    visibility: hidden;
}

.x-cover {
    border-radius: .625rem;
}

.x-btn-social {
    display: flex;
    gap: .375rem;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    font-size: .875rem;
    color: #fff;
    border-radius: 0.25rem;
    transition: all .2s;
}

.x-btn-social:hover {
    filter: brightness(.875);
}

.x-btn-social.-line {
    background: linear-gradient(180deg, #05C453 0%, #008737 100%);
}

.x-btn-social.-telegram {
    background: linear-gradient(180deg, #2BA3DF 0%, #2276D8 100%);
}

.x-btn-social.-facebook {
    background: linear-gradient(180deg, #5168B0 0%, #27408E 100%);
}

.x-social-wrapper {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}

.x-social-wrapper > * {
    flex: 1;
}

.x-social-wrapper .-ic {
    width: 22px;
}

.img-fluid {
    height: auto;
    max-width: 100%;
}

.x-provider-entry-wrapper {
    margin-top: 1.5rem;
}

.x-provider-box {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    text-align: center;
}

.x-provider-box .-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: .375rem auto 0;
}

.x-provider-box .-btn-play {
    position: relative;
    /*position: absolute;*/
    /*top: 62%;*/
    /*right: 5%;*/
    z-index: 1;
    display: inline-block;
    width: 170px;
    margin-top: 0;
    padding: .5rem;
    border-radius: 999px;
    transition: all .2s;
    animation: heartbeat 1.25s ease-in-out infinite both, x-glow-button 1.5s infinite alternate;
    border: 2px solid #ffb600;
}

.x-provider-box .-btn-play::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 0 0 #F1B727;
    background: #F1B727;
    border-radius: 999px;
    animation: ping .65s ease-in-out infinite both;
}

.x-provider-box .-btn-play::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fbe9a8 0%, #9c7e31 100%);
    /*background: linear-gradient(180deg, #474541 0%, #1E1F13 100%);*/
    border-radius: 999px;
}

.x-provider-box .-btn-play:hover {
    filter: brightness(.75);
}

.x-provider-box .-btn-play span {
    position: relative;
    z-index: 2;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.x-how-to-container {
    display: none;
    margin-top: 3rem;
}

.x-btn-tab {
    min-width: 120px;
    padding: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: #f5f5f5;
    background: #262626;
}

.x-btn-tab:hover {
    color: #262626;
    background: linear-gradient(180deg, #ffedaf 0%, #a9852b 100%);
}

.x-btn-tab:first-child {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

.x-btn-tab:last-child {
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
}

.x-btn-tab.-active {
    color: #262626;
    background: linear-gradient(180deg, #ffedaf 0%, #a9852b 100%);
}

.x-tab-wrapper {
    display: none;
    justify-content: center;
}

.x-tab-wrapper.-show {
    display: flex;
}

.x-tab-content-track {
    margin: 1.5rem auto 0;
}

.x-tab-content {
    display: none;
}

.x-tab-content .-description-wrapper {
    margin: 0 auto;
    max-width: 380px;
}

.x-tab-content .-video {
    margin-top: 1.5rem;
}

.x-how-to-content-heading {
    padding: .375rem .75rem;
    border-radius: 0.375rem;
    font-size: .875rem;
    font-weight: 600;
    background: #262626;
    text-align: center;
}

.x-how-to-content-heading span {
    color: #FFD573;
}

.x-how-to-content-description {
    margin-top: 1rem;
    font-size: .8125rem;
    font-weight: 300;
    color: #e5e7eb;
}

.x-slide-container {
    margin-top: 1rem;
}

.x-swiper {
    padding-bottom: 1.5rem;
}

.x-swiper-slide {
    border: 1px solid #2b2b2b;
    border-radius: .625rem;
    overflow: hidden;
}

.x-swiper-paginate {
    bottom: 0 !important;
}
