html,
body {
    overflow-x: hidden !important;
}

@media (max-width: 991.98px) {
    .header-layout1 .menu-area,
    .header-layout2 .menu-area {
        overflow: hidden;
    }

    .header-layout1 .menu-area:before,
    .header-layout2 .menu-area:before,
    .header-layout1 .menu-area:after,
    .header-layout2 .menu-area:after,
    .header-layout1 .logo-bg,
    .header-layout2 .logo-bg,
    .header-layout1 .logo-bg:before,
    .header-layout2 .logo-bg:before {
        max-width: 100%;
    }

    .header-layout1 .menu-area:before,
    .header-layout2 .menu-area:before {
        clip-path: polygon(75px 0, calc(100% - 75px) 0, 100% 35px, calc(100% - 75px) calc(100% - 20px), 75px calc(100% - 20px), 0 100%) !important;
        -webkit-clip-path: polygon(75px 0, calc(100% - 75px) 0, 100% 35px, calc(100% - 75px) calc(100% - 20px), 75px calc(100% - 20px), 0 100%) !important;
    }

    .th-menu-wrapper .th-menu-toggle {
        right: 8px !important;
    }
}

/* Medium devices */
@media (max-width: 991px) {
  .space,
  .space-top {
    padding-top: var(--section-space-mobile);
  }
  .space,
  .space-bottom {
    padding-bottom: var(--section-space-mobile);
  }
  .space-extra,
  .space-extra-top {
    padding-top: calc(var(--section-space-mobile) - 30px);
  }
  .space-extra,
  .space-extra-bottom {
    padding-bottom: calc(var(--section-space-mobile) - 30px);
  }
  .space-top-md-none {
    padding-top: 0;
  }
  .space-extra2,
  .space-extra2-top {
    padding-top: 70px;
  }
  .space-extra2,
  .space-extra2-bottom {
    padding-bottom: 70px;
  }
}
/* HERO wrapper */
.th-hero-wrapper.hero-1{
  position: relative;
}

/* indicator container */
.ra-scroll-indicator{
  display:flex;
  justify-content:center;
  margin-top:40px;
  opacity:0;
  animation:raFadeIn 0.6s ease forwards;
  animation-delay:2s;
}

/* circle */
.ra-scroll-circle{
  width:55px;
  height:55px;
  border:2px solid rgba(255,255,255,.7);
  border-radius:50%;
  position:relative;
}

/* arrow */
.ra-scroll-circle::before{
  content:"";
  position:absolute;
  top:16px;
  left:18px;
  width:16px;
  height:16px;
  border-left:2px solid rgba(255,255,255,.8);
  border-bottom:2px solid rgba(255,255,255,.8);
  transform:rotate(-45deg);
  animation:raScrollDown 1.5s infinite;
}

/* bounce animation */
@keyframes raScrollDown{
  0%{ transform:translateY(0) rotate(-45deg); }
  30%{ transform:translateY(10px) rotate(-45deg); }
  60%{ transform:translateY(0) rotate(-45deg); }
  100%{ transform:translateY(0) rotate(-45deg); }
}

/* fade-in delay */
@keyframes raFadeIn{
  from{opacity:0}
  to{opacity:1}
}

/* ======================
   MOBILE FIX
   ====================== */

@media (max-width:575px){

  .hero-style1{
    position:relative;
    padding-bottom:120px !important;
  }

  .ra-scroll-indicator{
    position:absolute;
    left:50%;
    bottom:30px;
    transform:translateX(-50%);
    margin-top:0;
    z-index:30;
  }

  .ra-scroll-circle{
    width:48px;
    height:48px;
  }

  .ra-scroll-circle::before{
    top:14px;
    left:16px;
    width:14px;
    height:14px;
  }

  #hero,
  .th-hero-wrapper{
    overflow:visible;
  }
}


.bdo-modal{
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .25s ease, visibility .25s ease !important;
}

.bdo-modal.is-active{
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.bdo-modal__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.78);
}

.bdo-modal__dialog{
    position: relative;
    width: min(1200px, 100%);
    max-height: calc(100vh - 24px);
    overflow: auto;
    background: #f3f3f3;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0,0,0,.45);
    z-index: 2;

    transform: translateY(20px) scale(.75);
    transform-origin: center center;

    transition: transform .25s ease;
}

.bdo-modal.is-active .bdo-modal__dialog{
    transform: translateY(0) scale(.75);
}

.bdo-modal__close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.bdo-modal__close span{
    position: absolute;
    left: 8px;
    top: 20px;
    width: 26px;
    height: 2px;
    background: #b7b7c4;
    border-radius: 999px;
}

.bdo-modal__close span:first-child{ transform: rotate(45deg); }
.bdo-modal__close span:last-child{ transform: rotate(-45deg); }

.bdo-modal__body{
    padding: 90px 40px 55px;
    text-align: center;
}

.bdo-modal__title{
    margin: 0;
    font-size: clamp(28px, 3vw, 58px);
    line-height: 1.2;
    font-weight: 300;
    color: #2b2b2b;
    letter-spacing: -0.02em;
}

.bdo-modal__title span{
    color: #ff8a00;
    font-weight: 700;
}

.bdo-download-card{
    width: min(645px, 100%);
    min-height: 126px;
    margin: 58px auto 48px;
    background: #ff7e02;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 8px 14px rgba(0,0,0,.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 36px 24px 44px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bdo-download-card:hover{
	    background: #ff9c1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(0,0,0,.18);
}

.bdo-download-card__text{
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

.bdo-download-card__icon{
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: rgba(26, 31, 75, .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bdo-download-card__icon svg{
    width: 24px;
    height: 24px;
    color: #fff;
}

.bdo-modal__hint{
    font-size: clamp(18px, 1.6vw, 30px);
    line-height: 1.4;
    color: #2d2d2d;
}

.bdo-modal__footer{
    padding: 28px 52px 34px;
    border-top: 1px solid #e2e2e2;
}

.bdo-install-guide__title{
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 500;
    color: #4a4a4a;
}

.bdo-install-guide__list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.bdo-install-guide__list li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #6d6d6d;
    margin-bottom: 12px;
}

.bdo-install-guide__list strong{
    color: #ff8a00;
    font-weight: 700;
}

.bdo-step{
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #d8d8d8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
}

body.bdo-modal-open{
    overflow: hidden;
}

.color-switch-btns button.active {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--theme-color);
}

.game-logo i.bi {
    font-size: 34px;
    line-height: 1;
    color: #fff;
}

.game-logo.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/***************************************
Dragon coins
***************************************/
.product-img {
    position: relative;
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
    border-radius: 30px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    pointer-events: none;
}

.product-tag::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.th-product:hover .product-tag {
    transform: scale(1.05);
    transition: .25s ease;
}

.th-product .actions {
    opacity: 1;
    visibility: visible;
    width: auto;
}

.th-product .icon-btn {
    transform: none;
}

.th-product:hover .icon-btn {
    transform: none;
}

.th-product:hover .actions {
    opacity: 1;
    visibility: visible;
}

.woocommerce-mini-cart__buttons.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-mini-cart__buttons.buttons .th-btn {
	flex: 1 1 180px;
	width: auto;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.game-card a {
    pointer-events: none;
}

