body {
      font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; 
    }

    button.btn.btn-outline-secondary {
      padding: 7px;
    }

    button.btn.btn-outline-primary {
      padding: 7px 40px;
    }

    div.row.row-cols-1.row-cols-md-3.g-5{
      margin: 10px;
    }

    div.col-lg-8.col-lg-push-12{
        padding: 0px 20px;
    }

    div.col-lg-4.col-lg-push-12{
        padding: 0px 20px;
    }
    div.col-lg-4.col-lg-push-12{
        padding: 0px 20px;
    }

    div.w3-container{
        padding: 0.15px 10px;
    }
    div.col{
      margin: 0;
      padding: 7px;
    }

    p {
      margin: 0px;
    }

    input[type=text], select {
      width: 40%;
      padding: 6px 20px;
      margin: 8px 0;
      display: inline-block;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }

    input[type=submit] {
      width: 100%;
      background-color: #4CAF50;
      color: white;
      padding: 14px 20px;
      margin: 8px 0;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    input[type=submit]:hover {
      background-color: #45a049;
    }
    .card {
      padding: 7px;
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
      transition: 0.3s;
      width: 100%;
    }

    .card:hover {
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

    .container {
      padding: 3px 3px;
    }

    .w3-sidebar a {font-family: "Roboto", sans-serif}
    body,h1,h2,h3,h4,h5,h6,.w3-wide {font-family: "Montserrat", sans-serif;
    }

    h2 {
      font-size: 15px;        /* ขนาดฟ้อนต์ */

    }

    h2.main {
      font-size: 20px;        /* ขนาดฟ้อนต์ */

    }

    h3.main {
      font-size: 20px;        /* ขนาดฟ้อนต์ */

    }

    h3 {
      font-size: 15px;        /* ขนาดฟ้อนต์ */

    }

    p.ex1 {
      width: 100%;
      -webkit-transform: rotate(-45deg); 
      font-size: 200%;
      position: absolute;
      color: red;
      top: 42%;
    }

    p.info {
      color: gray;
      font-size: 11px;
    }

    h1 {
      width: 100%;
      font-size: 150%;
      font-weight: bold;
    }

    h2,h3,h4 {

      font-weight: bold;
    }
    .button1 {
      width: 50%;
      margin: 1%;
    }

    div.ex2 {
    /* text-align: center; */
    display:inline;
    color: #FF0000;
    font-family: Verdana, sans-serif, Arial;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}
    h5.ex2 {
    /* text-align: center; */
    display:inline;
    color: #FF0000;
    font-family: Verdana, sans-serif, Arial;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}
.success-animation {
  margin-top: 10px;
  margin-bottom: 20px;
}
p.c {
  text-indent: 20%;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

/*Actual Style*/
 
/*=======================
       C-Container
=========================*/
.c-container {
  max-width: 27rem;
  margin: 1rem auto 0;
  padding: 1rem;
}

/*=======================
       O-Circle
=========================*/

.o-circle {
  display: flex;
  width: 10.555rem; height: 10.555rem;
  justify-content: center;
  align-items: flex-start;
  border-radius: 50%; 
  animation: circle-appearance .8s ease-in-out 1 forwards, set-overflow .1s 1.1s forwards;
}

.c-container__circle {
  margin: 0 auto 5.5rem;
}

/*=======================
    C-Circle Sign
=========================*/
      
.o-circle__sign {
  position: relative;
  opacity: 0;
  background: #fff;
  animation-duration: .8s;
  animation-delay: .2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.o-circle__sign::before, 
.o-circle__sign::after {
  content: "";
  position: absolute;
  background: inherit;
}

.o-circle__sign::after {
  left: 100%; top: 0%;
  width: 500%; height: 95%; 
  transform: translateY(4%) rotate(0deg);
  border-radius: 0;
  opacity: 0;
  animation: set-shaddow 0s 1.13s ease-in-out forwards;
  z-index: -1;
}


/*=======================
      Sign Success
=========================*/
 
.o-circle__sign--success { 
  background: rgb(56, 176, 131);
}

.o-circle__sign--success .o-circle__sign {
  width: 1rem; height: 6rem;
  border-radius: 50% 50% 50% 0% / 10%;
  transform: translateX(130%) translateY(35%) rotate(45deg) scale(.11);  
  animation-name: success-sign-appearance;
}

.o-circle__sign--success .o-circle__sign::before {
   bottom: -17%;
   width: 100%; height: 50%; 
   transform: translateX(-130%) rotate(90deg);
   border-radius: 50% 50% 50% 50% / 20%;

}

/*--shadow--*/
.o-circle__sign--success .o-circle__sign::after {
   background: rgb(56, 176, 131);
}
 

/*=======================
      Sign Failure
=========================*/

.o-circle__sign--failure {
  background: rgb(236, 78, 75);
}

.o-circle__sign--failure .o-circle__sign {
  width: 1rem; height: 7rem;
  transform: translateY(25%) rotate(45deg) scale(.1);
  border-radius: 50% 50% 50% 50% / 10%;
  animation-name: failure-sign-appearance;
}

.o-circle__sign--failure .o-circle__sign::before {
   top: 50%;
   width: 100%; height: 100%; 
   transform: translateY(-50%) rotate(90deg);
   border-radius: inherit;
} 

/*--shadow--*/
.o-circle__sign--failure .o-circle__sign::after {
   background: rgb(236, 78, 75);
}


/*-----------------------
      @Keyframes
--------------------------*/
 
/*CIRCLE*/
@keyframes circle-appearance {
  0% { transform: scale(0); }
  
  50% { transform: scale(1.5); }
          
  60% { transform: scale(1); }
  
  100% { transform: scale(1); }
}

/*SIGN*/
@keyframes failure-sign-appearance {         
  50% { opacity: 1;  transform: translateY(25%) rotate(45deg) scale(1.7); }
    
  100% { opacity: 1; transform: translateY(25%) rotate(45deg) scale(1); }
}

@keyframes success-sign-appearance {      
  50% { opacity: 1;  transform: translateX(130%) translateY(35%) rotate(45deg) scale(1.7); }
    
  100% { opacity: 1; transform: translateX(130%) translateY(35%) rotate(45deg) scale(1); }
}
 

@keyframes set-shaddow {
  to { opacity: 1; }
}

@keyframes set-overflow {
  to { overflow: hidden; }
}

/* กำหนดแอนิเมชันให้กับ flashing-text */
.flashing-text {
  color: yellow;
  background-color: blue;
  text-align: center; /* แทนที่ align="center" ที่ไม่รองรับใน HTML5 */
  animation: flash 2s infinite; /* กำหนดแอนิเมชันให้ทำซ้ำอย่างไม่สิ้นสุด */
}

.flashing-text2 {
  animation: flash 2s infinite; /* กำหนดแอนิเมชันให้ทำซ้ำอย่างไม่สิ้นสุด */
}

/* กำหนดแอนิเมชันสำหรับการกระพริบ */
@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}


/*+++++++++++++++++++
    @Media Queries
+++++++++++++++++++++*/

/* EX Cash redesign */
:root {
  --ex-purple: #9164f6;
  --ex-purple-dark: #7a4ee7;
  --ex-purple-soft: #efe6ff;
  --ex-bg: #eef1f4;
  --ex-panel: #ffffff;
  --ex-muted: #73717b;
  --ex-text: #1d1d23;
  --ex-line: #e4e5ea;
  --ex-danger: #ff315f;
  --ex-warning: #ffc62e;
  --ex-success: #38b083;
  --ex-shadow: 0 18px 45px rgba(34, 29, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ex-bg);
  scroll-behavior: smooth;
}

body.w3-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: var(--ex-bg) !important;
  color: var(--ex-text);
  font-family: "Montserrat", "Roboto", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body::before {
  content: "พิเศษ! เติมเกมออนไลน์รับ Point จุก ๆ เพิ่ม 2 เท่า ตั้งแต่วันนี้ - 25 ธันวาคม 67";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
  background: var(--ex-purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

#mySidebar.w3-sidebar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 40 !important;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  height: 78px !important;
  padding: 0 clamp(22px, 5vw, 82px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(216, 216, 226, 0.8);
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 10px 28px rgba(17, 17, 24, 0.08);
  backdrop-filter: blur(16px);
}

#mySidebar > .w3-container {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 142px;
  padding: 0 !important;
}

#mySidebar center {
  display: flex;
  align-items: center;
}

#mySidebar img {
  width: 96px !important;
  height: auto;
  display: block;
}

#mySidebar .w3-padding-64 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 58px);
  flex: 1;
  padding: 0 !important;
  color: var(--ex-muted) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

#mySidebar .w3-bar-item {
  width: auto !important;
  padding: 27px 0 !important;
  color: #5f5d66 !important;
  line-height: 1 !important;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

#mySidebar .w3-bar-item:hover,
#mySidebar .w3-bar-item:focus {
  color: var(--ex-purple) !important;
  background: transparent !important;
  transform: translateY(-1px);
}

#mySidebar .w3-padding-64::after {
  content: "\f002";
  font-family: FontAwesome;
  color: #a0a0aa;
  font-size: 22px;
  font-weight: 400;
  margin-left: clamp(2px, 3vw, 34px);
}

#mySidebar::after {
  content: "TH  |  THB";
  position: absolute;
  top: -29px;
  right: clamp(22px, 5vw, 82px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

body::before,
#mySidebar::after,
#mySidebar .w3-padding-64::after {
  display: none !important;
  content: none !important;
}

.ex-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a0a0aa;
  font-family: FontAwesome;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ex-search-trigger::before {
  content: "\f002";
}

.ex-search-trigger:hover,
.ex-search-trigger:focus {
  color: var(--ex-purple);
  outline: none;
  transform: translateY(-1px);
}

.ex-search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 18px 24px;
  background: rgba(20, 18, 28, 0.38);
}

.ex-search-panel.is-open {
  display: flex;
}

.ex-search-box {
  width: min(620px, 100%);
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 24, 0.22);
}

.ex-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ex-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ex-line);
  border-radius: 10px;
  color: var(--ex-text);
  font-size: 16px;
  font-weight: 700;
}

.ex-search-input:focus {
  border-color: var(--ex-purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(145, 100, 246, 0.16);
}

.ex-search-submit,
.ex-search-close {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.ex-search-submit {
  padding: 0 18px;
  background: var(--ex-purple);
  color: #fff;
}

.ex-search-close {
  width: 48px;
  margin-top: 12px;
  background: #f1f1f4;
  color: #5f5d66;
}

.ex-search-results {
  display: grid;
  gap: 8px;
  max-height: 330px;
  margin-top: 14px;
  overflow-y: auto;
}

.ex-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f8fa;
  color: #1d1d23;
  font-weight: 800;
  text-decoration: none;
}

.ex-search-result:hover,
.ex-search-result:focus {
  background: var(--ex-purple-soft);
  color: var(--ex-purple-dark);
  outline: none;
}

.ex-search-empty {
  padding: 18px 6px 6px;
  color: var(--ex-muted);
  font-weight: 700;
  text-align: center;
}

header.w3-bar.w3-top.w3-hide-large {
  display: none;
}

.w3-main {
  margin-left: 0 !important;
}

.w3-main > .w3-hide-large:first-child {
  display: none !important;
  margin-top: 0 !important;
}

.ex-home .w3-main {
  max-width: 1240px;
  margin: 0 auto !important;
  padding: 42px 30px 0;
}

.ex-home .w3-main > div:has(> img[src*="ny1"]) {
  position: relative;
  max-width: 1160px;
  margin: 0 auto 34px;
}

.ex-home .w3-main > div:has(> img[src*="ny1"]) img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  border-radius: 38px;
  box-shadow: 0 24px 50px rgba(73, 58, 123, 0.18);
}

.ex-home .w3-main > div:has(> img[src*="ny1"])::after {
  display: none;
  content: none;
}

.ex-home .w3-main > .row:has(> h1.text-center) {
  margin: 0 !important;
}

.ex-home .w3-main > .row:has(> h1.text-center) h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ex-home .w3-main > .row:has(> h2.main),
.ex-home .w3-main > .row:has(h2.text-center) {
  max-width: 1160px;
  margin: 0 auto !important;
}

.ex-home h2.main,
.ex-home .w3-main > .row h2.text-center {
  margin: 0 0 20px;
  color: #111116;
  font-size: 22px;
  font-weight: 800;
  text-align: left !important;
}

.ex-home .ex-game-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px !important;
  max-width: 1160px;
  margin: 0 auto 40px !important;
  padding: 36px 40px !important;
  border: 1px solid rgba(222, 224, 232, 0.7);
  border-radius: 22px;
  background: var(--ex-panel);
  box-shadow: var(--ex-shadow);
}

.ex-home .ex-game-grid:nth-of-type(2) {
  border-color: #ffc833;
  background: #fffbe6;
}

.ex-home .ex-game-grid > .w3-container {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.ex-home .ex-game-grid .w3-display-container {
  overflow: hidden;
  border-radius: 14px;
  background: #eee7ff;
  box-shadow: 0 10px 24px rgba(104, 86, 166, 0.12);
  cursor: pointer;
}

.ex-home .ex-game-grid img.img-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  transition: transform 0.25s ease;
}

.ex-home .ex-game-grid .w3-display-container:hover img {
  transform: scale(1.04);
}

.ex-home .ex-game-grid .w3-display-middle {
  display: none !important;
}

.ex-home .ex-game-grid .w3-tag {
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: #ff7824 !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(255, 96, 35, 0.3);
}

.ex-home .ex-game-grid .w3-tag.bg-danger:not(:empty)::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #fff;
}

.ex-home .ex-game-grid h3.main,
.ex-home .ex-game-grid h3 {
  min-height: 32px;
  margin: 10px 0 0;
  color: #16141a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.ex-home .ex-game-grid br {
  display: none;
}

.ex-home .w3-main > .row:has(> h2:not(.main)) {
  display: none !important;
}

.ex-home .fb-page,
.ex-home .fb-page + .w3-container {
  display: none !important;
}

.ex-product .w3-main,
.ex-thankyou .w3-main {
  padding: 0;
}

.ex-product .w3-main > div:has(> img[src*="ny1"]),
.ex-product .w3-main > div[data-include*="bar.php"],
.ex-thankyou .w3-main > div[data-include*="bar.php"],
.ex-thankyou .w3-main > div:has(> img[src*="ny1"]),
.ex-thankyou .w3-main > header.w3-container {
  display: none !important;
}

.ex-product-layout {
  position: relative;
  display: grid !important;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto 70px !important;
  padding: 300px 36px 0;
}

.ex-product-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 260px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(90deg, #9692a1 0%, #b6a8c7 45%, #efe4ff 100%);
  z-index: 0;
}

.ex-product-layout > * {
  position: relative;
  z-index: 1;
}

.ex-product-layout .col-lg-4,
.ex-product-layout .col-lg-8 {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.ex-product-layout .col-lg-4 > .card:first-child {
  position: absolute;
  top: 70px;
  left: 36px;
  width: 280px;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #f3f4f8;
  box-shadow: 0 22px 45px rgba(56, 48, 90, 0.2);
}

.ex-product-layout .col-lg-4 > .card:first-child img {
  display: block;
  width: 100%;
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
}

.ex-product-layout .col-lg-4 > .card:first-child .w3-tag {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: #ff7824 !important;
  font-size: 12px;
  font-weight: 900;
}

.ex-product-layout .col-lg-4 > .container {
  width: 100%;
  margin: 0 !important;
  padding: 30px 28px !important;
  border-radius: 22px;
  background: var(--ex-panel);
  box-shadow: var(--ex-shadow);
}

.ex-product-layout .col-lg-4 > .container h1 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.25;
}

.ex-product-layout .col-lg-4 > .container h5,
.ex-product-layout .col-lg-4 > .container h6 {
  color: #16141a;
  line-height: 1.7;
}

.ex-product-layout .col-lg-4 > .container p,
.ex-product-layout .col-lg-4 > .container h6 {
  color: #5f5e67;
}

.ex-product-layout .col-lg-4 > .container img {
  margin-top: 14px;
  border-radius: 16px !important;
}

.ex-product-hero-copy {
  position: absolute;
  top: 96px;
  left: 350px;
  color: #fff;
}

.ex-product-hero-copy h1 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.ex-product-hero-copy .ex-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ex-danger);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.ex-product-hero-copy p {
  margin: 10px 0 44px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  font-weight: 700;
}

.ex-platforms {
  display: flex;
  gap: 10px;
}

.ex-platforms span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--ex-purple);
  font-weight: 900;
}

.ex-order-card {
  padding: 28px !important;
  border: 0;
  border-radius: 22px;
  background: var(--ex-panel);
  box-shadow: var(--ex-shadow);
}

.ex-order-card h5 {
  margin: 0 0 18px;
  color: #15141b;
  font-size: 18px;
  font-weight: 900;
}

.ex-order-card svg {
  width: 26px;
  height: 26px;
  color: var(--ex-purple);
}

.ex-order-card input[type="text"],
.ex-order-card select,
.ex-order-card .form-control {
  width: 100% !important;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #d7d8df;
  border-radius: 9px;
  background: #fbfbfc;
  color: #1f1d26;
  font-weight: 700;
  box-shadow: none;
}

.ex-order-card form > div:has(> svg) {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ex-order-card .flashing-text2 {
  margin: 10px 0 0;
  color: var(--ex-danger) !important;
  font-weight: 800;
  animation-duration: 2.8s;
}

#pack_price.card {
  margin: 28px 0 22px;
  padding: 0 !important;
  border: 0;
  box-shadow: none;
}

#pack_price .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px !important;
  margin: 0 !important;
}

#pack_price .col {
  width: auto !important;
  padding: 0 !important;
}

.ex-pack-option.btn {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 10px;
  width: 100% !important;
  min-height: 86px;
  padding: 14px !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  background: #f6f6f8 !important;
  color: #19171f !important;
  text-align: left;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ex-pack-option.btn:hover {
  border-color: rgba(145, 100, 246, 0.45) !important;
  transform: translateY(-1px);
}

.ex-pack-option.btn.active {
  border-color: var(--ex-purple) !important;
  background: #f0e7ff !important;
}

.ex-pack-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd66b, #f39900);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(132, 73, 0, 0.18);
}

.ex-pack-body {
  min-width: 0;
}

.ex-pack-name {
  display: block;
  margin-bottom: 6px;
  overflow: hidden;
  color: #17151d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ex-pack-price {
  display: inline-block;
  color: var(--ex-danger);
  font-size: 16px;
  font-weight: 900;
}

.ex-pack-full {
  display: inline-block;
  margin-left: 8px;
  color: #777681;
  font-size: 14px;
  font-weight: 800;
  text-decoration: line-through;
}

.ex-pack-sale {
  display: block;
  margin: 10px -14px -14px;
  padding: 7px 12px;
  border-top: 2px solid var(--ex-danger);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 49, 95, 0.08);
  color: var(--ex-danger);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.ex-pack-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: #dedfe4;
}

.ex-pack-option.active .ex-pack-check {
  background: var(--ex-purple);
}

.ex-pack-option.active .ex-pack-check::after {
  content: "";
  width: 7px;
  height: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.ex-payment-card.card,
#link_true.card {
  padding: 0 !important;
  border: 0;
  box-shadow: none;
}

.ex-payment-card h5,
#link_true h5 {
  margin-bottom: 14px;
}

.ex-payment-card .row {
  gap: 12px !important;
  margin: 0 !important;
}

.ex-payment-card .col {
  padding: 0 !important;
}

.ex-payment-option.btn {
  min-height: 74px;
  padding: 12px 18px !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  background: #f7f7f8 !important;
  color: #19171f !important;
  font-weight: 900;
  box-shadow: none !important;
}

.ex-payment-option.btn.active {
  border-color: var(--ex-purple) !important;
  background: #fbf9ff !important;
}

.ex-payment-option::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border-radius: 50%;
  background: #dfe0e5;
  box-shadow: inset 0 0 0 5px #dfe0e5;
}

.ex-payment-option.active::before {
  background: #fff;
  box-shadow: inset 0 0 0 5px var(--ex-purple);
}

.ex-payment-option img {
  width: 60px !important;
  max-height: 52px;
  margin-right: 16px !important;
  object-fit: contain;
}

.ex-payment-option .ex-payment-label {
  flex: 1;
  text-align: left;
}

.ex-payment-price {
  margin-left: auto;
  color: #111116;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.ex-payment-price p {
  margin: 4px 0 0 !important;
  color: var(--ex-danger) !important;
  font-size: 12px !important;
  line-height: 1.25;
}

.ex-order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 28px -28px -28px;
  padding: 24px 28px;
  border-radius: 0 0 22px 22px;
  background: var(--ex-purple);
}

.ex-order-summary #demo {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.ex-order-summary #demo::first-line {
  color: #fff;
}

.ex-order-summary .btn {
  min-width: 190px;
  min-height: 52px;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--ex-purple) !important;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(69, 45, 131, 0.22);
}

.ex-order-summary #buy::after,
.ex-order-summary #confirm_link::after {
  content: "  \2192";
  font-size: 22px;
  line-height: 0;
}

#5min {
  margin: 28px 0 12px;
  padding: 18px;
  border: 1px solid var(--ex-line);
  border-radius: 14px 14px 0 0;
  background: #f8f8fa;
  color: #23212a;
  font-size: 16px;
  line-height: 1.7;
}

#qrcode {
  margin: 0 0 20px;
  padding: 30px 20px;
  border: 1px solid var(--ex-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

#qrcode img,
#qrcode canvas {
  max-width: min(300px, 80vw) !important;
  height: auto !important;
  padding: 14px;
  border-radius: 18px;
  background: var(--ex-purple-soft);
}

#bank_name {
  margin-top: 10px;
  color: #1f1d25;
  font-size: 16px;
}

#truegotverify,
#truegotverify_2 {
  margin: 10px auto 22px;
  color: #605e68;
  line-height: 1.5;
}

#refresh {
  min-width: 170px;
  min-height: 46px;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--ex-purple) !important;
  font-weight: 900;
}

.ex-site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 38px;
  width: 100%;
  margin-top: 52px;
  padding: 52px clamp(26px, 7vw, 96px);
  background:
    radial-gradient(circle at 20% 100%, rgba(145, 100, 246, 0.18), transparent 34%),
    linear-gradient(90deg, #fff 0%, #fff 54%, #f0e7ff 100%);
}

.ex-site-footer img {
  width: 92px;
  margin-bottom: 18px;
}

.ex-site-footer p {
  max-width: 470px;
  color: #6d6976;
  font-size: 15px;
  line-height: 1.8;
}

.ex-footer-links {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 30px;
  font-size: 16px;
  font-weight: 900;
}

.ex-footer-links a {
  text-decoration: none;
}

.ex-footer-social {
  display: flex;
  gap: 12px;
}

.ex-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.ex-footer-social .facebook {
  background: #405fc0;
}

.ex-footer-social .line {
  background: #21bf39;
}

#foot {
  width: 100%;
  padding: 18px !important;
  background: #e8ebee !important;
  color: #777783 !important;
  font-size: 14px;
}

#foot a {
  color: #777783 !important;
  text-decoration: none;
}

.ex-thankyou .w3-main {
  min-height: 600px;
  padding: 84px 24px 0;
  background: var(--ex-bg);
}

.ex-thankyou .w3-main > center h1 {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #111116;
  font-size: 28px;
  line-height: 1.35;
}

.ex-thankyou .w3-main > .card {
  width: min(560px, 92vw) !important;
  margin: 0 auto 32px !important;
  padding: 54px 52px !important;
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--ex-shadow);
}

.ex-thankyou #succes_payment h1 {
  font-size: 22px;
}

.ex-thankyou p.c {
  width: max-content;
  max-width: 100%;
  margin: 10px auto;
  padding: 0;
  color: #676470;
  font-size: 18px;
  text-indent: 0;
}

.ex-thankyou .o-circle {
  width: 110px;
  height: 110px;
  margin-bottom: 24px !important;
}

.ex-thankyou .w3-main > .card + center .btn,
.ex-thankyou .w3-main > center .btn,
.ex-thankyou #buy {
  width: min(560px, 92vw) !important;
  min-height: 58px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--ex-purple) !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 26px rgba(122, 78, 231, 0.24);
}

.ex-thankyou center p[style*="color:red"] {
  color: var(--ex-danger) !important;
  font-size: 16px !important;
}

.swal2-popup {
  border-radius: 22px !important;
}

.swal2-confirm {
  border-radius: 9px !important;
  background: var(--ex-purple) !important;
}

@media (max-width: 991px) {
  body::before {
    min-height: 26px;
    padding: 5px 12px;
    font-size: 10px;
  }

  #mySidebar.w3-sidebar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center;
    width: 100% !important;
    height: 58px !important;
    padding: 0 14px !important;
    border-radius: 0;
    overflow: visible !important;
  }

  #mySidebar > .w3-container {
    display: flex !important;
    align-items: center;
    min-width: 78px;
    width: auto;
    padding: 0 !important;
  }

  #mySidebar img {
    width: 66px !important;
  }

  #mySidebar .w3-padding-64 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 4vw, 22px);
    flex: 1;
    padding: 0 !important;
    overflow-x: auto;
    color: var(--ex-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    scrollbar-width: none;
  }

  #mySidebar .w3-padding-64::-webkit-scrollbar {
    display: none;
  }

  #mySidebar .w3-bar-item {
    display: none !important;
  }

  #mySidebar .w3-bar-item[href*="pfbid"],
  #mySidebar .w3-bar-item[href*="facebook.com/excashshop"]:not([href*="posts"]),
  #mySidebar .w3-bar-item[href*="m.me/excashshop"] {
    display: inline-block !important;
    width: auto !important;
    min-height: 0;
    padding: 21px 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5f5d66 !important;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: none;
  }

  #mySidebar .w3-bar-item::after {
    content: none;
  }

  #mySidebar .w3-padding-64::after,
  #mySidebar::after {
    content: none;
  }

  header.w3-bar.w3-top.w3-hide-large {
    display: none !important;
  }

  header.w3-bar .w3-wide {
    color: transparent;
    font-size: 0;
  }

  header.w3-bar .w3-wide::before {
    content: "";
    display: block;
    width: 76px;
    height: 34px;
    background: url("/image/logo.webp") center / contain no-repeat;
  }

  header.w3-bar .w3-button {
    color: #6a6872 !important;
  }

  .w3-overlay {
    background: rgba(25, 22, 33, 0.38) !important;
  }

  .ex-home .w3-main {
    padding: 18px 12px 0;
  }

  .ex-home .w3-main > div:has(> img[src*="ny1"]) {
    margin-bottom: 26px;
  }

  .ex-home .w3-main > div:has(> img[src*="ny1"]) img {
    height: auto;
    min-height: 0;
    border-radius: 20px;
  }

  .ex-home h2.main,
  .ex-home .w3-main > .row h2.text-center {
    padding-left: 8px;
    font-size: 17px;
  }

  .ex-home .ex-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px !important;
    margin-bottom: 28px !important;
    padding: 22px 16px !important;
    border-radius: 16px;
  }

  .ex-home .ex-game-grid img.img-thumbnail {
    border-radius: 12px !important;
  }

  .ex-home .ex-game-grid h3.main,
  .ex-home .ex-game-grid h3 {
    font-size: 12px;
  }

  .ex-product-layout {
    display: block !important;
    max-width: 100%;
    margin-bottom: 34px !important;
    padding: 30px 14px 0;
  }

  .ex-product-layout::before {
    height: 430px;
  }

  .ex-product-layout .col-lg-4 > .card:first-child {
    position: relative;
    top: auto;
    left: auto;
    width: min(275px, 72vw);
    margin: 20px auto 22px;
    border-radius: 22px;
  }

  .ex-product-hero-copy {
    display: none;
  }

  .ex-product-layout .col-lg-4 > .container,
  .ex-order-card {
    border-radius: 18px;
  }

  .ex-product-layout .col-lg-4 > .container {
    margin-bottom: 14px !important;
    padding: 24px 18px !important;
  }

  .ex-order-card {
    padding: 22px 14px !important;
  }

  #pack_price .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }

  .ex-pack-option.btn {
    min-height: 78px;
    padding: 12px !important;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
  }

  .ex-pack-name {
    font-size: 14px;
  }

  .ex-pack-price {
    font-size: 14px;
  }

  .ex-pack-full {
    font-size: 12px;
  }

  .ex-payment-option.btn {
    min-height: 78px;
    padding: 12px !important;
  }

  .ex-payment-option img {
    width: 54px !important;
    margin-right: 10px !important;
  }

  .ex-payment-price {
    font-size: 14px;
  }

  .ex-order-summary {
    position: sticky;
    bottom: 0;
    z-index: 20;
    grid-template-columns: 1fr auto;
    margin: 24px -14px -22px;
    padding: 15px 14px;
    border-radius: 0;
    box-shadow: 0 -12px 24px rgba(49, 43, 68, 0.18);
  }

  .ex-order-summary #demo {
    font-size: 14px;
  }

  .ex-order-summary .btn {
    min-width: 132px;
    min-height: 46px;
    padding: 10px 14px !important;
    font-size: 13px;
  }

  #qrcode {
    padding: 22px 12px;
  }

  .ex-site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    padding: 48px 24px;
    text-align: center;
  }

  .ex-site-footer img {
    margin: 0 auto 18px;
  }

  .ex-site-footer p {
    margin: 0 auto;
    font-size: 13px;
  }

  .ex-footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    justify-self: center;
    text-align: left;
  }

  .ex-footer-social {
    justify-content: center;
  }

  .ex-thankyou .w3-main {
    padding: 54px 24px 0;
  }

  .ex-thankyou .w3-main > center h1 {
    font-size: 22px;
  }

  .ex-thankyou .w3-main > .card {
    padding: 40px 30px !important;
    border-radius: 24px;
  }

  .ex-thankyou p.c {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .ex-product header.w3-bar.w3-top.w3-hide-large,
  .ex-home header.w3-bar.w3-top.w3-hide-large,
  .ex-thankyou header.w3-bar.w3-top.w3-hide-large {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .ex-home .ex-game-grid {
    padding: 20px 14px !important;
  }

  .ex-product-layout {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ex-payment-option.btn {
    gap: 6px;
  }

  .ex-payment-option::before {
    margin-right: 6px;
  }
}
