@charset "UTF-8";



@media (max-width: 1024px) {
  .col-bottom-btn-nav {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }
}

@media (max-width: 390px) {
  .text-st-detail {
    font-size: 9px;
  }
}

.side-nav {
  position: fixed;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-150px) scale(0.98);
  transition: transform 1800ms cubic-bezier(.2, .9, .3, 1),
    opacity 2000ms ease;
  will-change: transform, opacity;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .slide-in-left,
  .slide-in-left.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(250px) scale(0.98);
  transition: transform 1500ms cubic-bezier(.2, .9, .3, 1),
    opacity 1800ms ease;
  will-change: transform, opacity;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .slide-in-right,
  .slide-in-right.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.slide-in-bottom {
  opacity: 0;
  transform: translatey(250px) scale(0.98);
  transition: transform 1500ms cubic-bezier(.2, .9, .3, 1),
    opacity 1800ms ease;
  will-change: transform, opacity;
}

.slide-in-bottom.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .slide-in-bottom,
  .slide-in-bottom.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes swing {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes constantSwing {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-20deg);
  }

  /* แกว่งซ้าย */
  50% {
    transform: rotate(20deg);
  }

  /* แกว่งขวา */
  75% {
    transform: rotate(-20deg);
  }

  /* แกว่งซ้าย */
  100% {
    transform: rotate(0deg);
  }

  /* กลับกลาง */
}

.wiggle {
  display: inline-block;
  font-size: 50px;
  animation: wiggle 2s infinite;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(3deg);
  }

  50% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(0deg);
  }
}



.popup-event .modal-content {
  background: transparent;
  border: none;
}

.popup-event .modal-header {
  border: none;
}

.popup-event .modal-dialog {
  max-width: 800px;
}

.popup-event .modal-content {
  margin-top: -200px;
}

.carousel-item img {
  border-radius: 40px;
}

.modal-header .btn-close {
  background: url(../images/btn-close.webp?v=3.06) center / contain no-repeat;
  width: 20px;
  height: 20px;
  opacity: 1;
  background-size: cover;
  transition: transform 0.5s ease-in-out;
}

.modal-header .btn-close:hover {
  transform: rotate(90deg);
}

.text-one-line {
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-title {
  max-width: fit-content;
  width: 100%;
  padding: 30px;
  /* margin-bottom: 30px; */
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.section-title2 {
  max-width: fit-content;
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.text-blue-dark {
  color: #003459 !important;
}

.text-blue-linear {
  background: linear-gradient(180deg, #1096FF, #00599E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue-linear2 {
  background: linear-gradient(to top, #97CCF9 0%, #0A91FE 76%, #0A91FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.col-text-title-head {
  position: relative;
  padding: 0 45px;
}

.col-text-title-head::before {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-blue.webp?v=3.24) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  left: 0px;
  z-index: 3;
}

.col-text-title-head::after {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-blue.webp?v=3.24) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  right: 0px;
  z-index: 3;
}

.col-text-title-head-white {
  position: relative;
  padding: 0 45px;
}

.col-text-title-head-white::before {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-white.webp?v=3.24) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  left: 0px;
  z-index: 3;
}

.col-text-title-head-white::after {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-white.webp?v=3.24) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  right: 0px;
  z-index: 3;
}

.text-title-head {
  font-family: "Rowdies", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.text-description-head {
  color: #003761;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

/* Section event */

#Sec-Event {
  background: url(../images/bg-sec-2-sm.webp?v=3.06) top center no-repeat;
  background-size: cover;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0 30px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 0;
}

.col-piero-green {
  position: absolute;
  width: 300px;
  right: 30px;
  top: -10px;
}

/* ฝั่งซ้าย */

/* ฝั่งขวา */

/* กล่องลิงก์ */

/* responsive ipad & mobile */

@media (max-width: 1200px) {
  .col-piero-green {
    width: 190px;
  }
}

@media (max-width: 1024px) {
  .col-piero-green {
    width: 260px;
  }
}

@media (max-width: 992px) {
  .col-piero-green {
    right: -13px;
  }
}

@media (max-width: 768px) {
  .col-piero-green {
    right: -24px;
  }
}

@media (max-width: 550px) {
  .col-piero-green {
    right: -22px;
    top: 9px;
    width: 189px;
  }
}

@media (max-width: 375px) {
  #Sec-Event {
    height: fit-content !important;
  }
}

@media (min-width: 1440px) {
  #Sec-Event {
    padding-top: 50px;
    height: 100vh;
  }
}

@media (min-width: 1921px) {
  #Sec-Event {
    background: url(../images/bg-sec-2-xl.webp?v=3.06) top center no-repeat;
    background-size: 2500px;
    padding-top: 100px;
    height: auto;
    /* width: 2500px; */
    margin: auto;
    text-align: center;
    background-size: cover;
  }

  .col-piero-green {
    right: 0;
    top: -10px;
    width: 400px;
  }
}

/* social-btn */

@keyframes float-vertical {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

.social-btn:active {
  filter: brightness(1.1) drop-shadow(0 0 12px #fff);
  animation: float-vertical 1s ease-in-out infinite;
}

/* Section news */

#Sec-News {
  width: 100%;
  padding: 20px 0 0 0;
  background: url(../images/bg-sec-3.webp?v=3.06) top center/100% no-repeat;
  display: flex;
  align-items: center;
}

.warper-detail-s-news {
  margin-top: -20px;
}

.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.tab {
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* margin-bottom: 30px; */
}

.tab.scroll-x {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-x::-webkit-scrollbar {
  display: none;
  /* ซ่อน scrollbar บน Chrome/Safari */
}

.scroll-x>* {
  display: inline-block;
}

.col-head-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-radius: 12px;
}

.col-head-dt {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  align-items: center;
  max-width: 250px;
  width: 100%;
  padding: 6px 12px;
  border: 1.5px solid #8ecaff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #333;
  width: 100%;
}

.search-box input::placeholder {
  color: #aaa;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-box svg {
  width: 18px;
  height: 18px;
  stroke: #555;
}

.tabcontent {
  display: none;
  min-height: 480px;
}

.tab button {
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn {
  background: url(../images/bg-tab-news-hover.webp?v=3.24) center/contain no-repeat;
  max-width: 140px;
  width: 100%;
  height: 40px;
  padding: 11px 0px;
  margin: 10px 2px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: #0065B4;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: url(../images/bg-tab-news.webp?v=3.24) center/contain no-repeat;
  border: none;
  color: #fff;
  filter: drop-shadow(2px 3px 3px #0e3f673d);
}

.filter-btn:hover {
  filter: brightness(1.2);
}

.col-slide-news {
  display: flex;
  /* align-items: center; */
  height: 100%;
}

/* News Card */

.col-tag-date {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.card-tag {
  color: #fff;
  border-radius: 8px 3px 15px 8px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 400;
  min-width: 25%;
  margin-right: 3px;
  text-align: center;
}

.card-tag.update {
  background: #f0ba01;
}

.card-tag.update::after {
  content: "ข่าวสาร";
}

.card-tag.promotion {
  background: #75bd1f;
}

.card-tag.promotion::after {
  content: "โปรโมชัน";
}

.card-tag.ingame {
  background: #f66595;
}

.card-tag.ingame::after {
  content: "กิจกรรมในเกม";
}

.card-tag.event {
  background: #7456ce;
}

.card-tag.event::after {
  content: "กิจกรรมหน้าเว็บ";
}

.card-tag.other {
  background: #fe7f2a;
}

.card-tag.other::after {
  content: "อื่นๆ";
}

.card-body {
  padding: 6px 3px;
}

.card-body .text-date {
  font-size: 10px;
  color: #808080;
  padding: 4px 0 0 0;
}

.card-body .text-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #002B4C;
  margin-bottom: 3px;
}

.card-body .text-detail {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: #808080;
  margin-bottom: 6px;
}

.card-body .btn-read-more {
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  color: #0099DC;
}

.card-body .btn-read-more:hover {
  text-decoration: underline;
  color: #F279F6;
  filter: brightness(1.1);
}

.card-body .btn-read-more:active {
  text-decoration: underline;
  color: #F279F6;
  filter: brightness(1.1);
}

.card-body .btn-read-more .img-readmore {
  width: 8px;
  height: 8px;
  object-fit: contain;
}

.col-slide-news .news-card {
  padding: 20px;
  border-radius: 30px;
  box-shadow: none;
  height: 630px;
}

.col-slide-news .col-tag-date {
  margin-bottom: 10px;
}

.col-slide-news .card-tag {
  font-size: 13px;
  min-width: 22%;
}

.col-slide-news .news-card img {
  border-radius: 20px;
}

.col-slide-news .card-body {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-slide-news .card-body .text-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.col-slide-news .card-body .text-detail {
  font-size: 18px;
  margin-bottom: 20px;
}

.col-slide-news .card-body .text-date {
  font-size: 16px;
  padding: 6px 0 0 0;
}

.col-slide-news .card-body .btn-read-more {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.col-slide-news .card-body .btn-read-more img {
  width: 10px;
  height: 10px;
  margin-bottom: -2px;
}

.owl-news .owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -83%;
}

.owl-news .owl-nav button {
  margin-top: -34%;
  width: 50px;
  height: 50px;
  z-index: 3;
}

.owl-news .owl-nav button:hover {
  animation: shake-slow 1.5s infinite;
}

.owl-news .owl-nav span {
  display: none !important;
}

.owl-news .owl-prev {
  background: url(../images/ic-left-news.webp?v=3.24) !important;
  background-size: contain !important;
  margin-left: -25px !important;
}

.owl-news .owl-next {
  background: url(../images/ic-right-news.webp?v=3.24) !important;
  background-size: contain !important;
  margin-right: -25px !important;
}

.owl-news.owl-theme .owl-dots .owl-dot span {
  display: none !important;
}

.owl-news .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 76%;
}

.owl-news .owl-dot.active {
  background: url(../images/ic-dots-news-active.webp?v=3.24) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
  transform: scale(1.4);
}

.owl-news .owl-dot {
  background: url(../images/ic-dots-st.webp?v=3.24) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
}

.news-card {
  padding: 6px;
  border: 1px solid #E0E7FF;
  border-radius: 15px;
  box-shadow: 0px 2px 15px #00000013;
  overflow: hidden;
  transition: transform 0.3s ease;
  min-height: 270px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px #d3dcfe80;
}

.news-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.box-btn-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.filter-btn-allnews {
  margin-top: 20px;
  background: url(../images/bg-btn-main.webp?v=3.24) center/contain no-repeat;
  min-width: 170px;
  color: #fff;
}

.filter-btn h2,
.filter-btn h3 {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
}

.col-btn-all-news {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .card-tag {
    padding: 4px 5px;
  }

  .owl-news .owl-nav {
    margin-top: -92%;
  }

  .col-slide-news .news-card {
    height: 596px;
  }

  .owl-news .owl-dots {
    margin-top: 82%;
  }
}

@media (max-width: 1024px) {
  .search-box {
    max-width: 180px;
    margin-left: 20px;
  }

  .card-tag {
    padding: 2px 4px;
    font-size: 7.5px;
  }

  .box-tag-date .card-tag {
    font-size: 9px;
  }

  .col-slide-news .news-card {
    height: 548px;
    border-radius: 25px;
    padding: 15px;
  }

  .col-slide-news .news-card img {
    border-radius: 12px;
  }

  .owl-news .owl-nav {
    margin-top: -100%;
  }

  .owl-news .owl-dots {
    margin-top: 89%;
  }

  .filter-btn {
    height: 32px;
    padding: 9px 0px;
  }
}

@media (max-width: 992px) {
  .filter-btn {
    max-width: 120px;
  }

  .filter-btn {
    max-width: 120px;
    height: 38px;
    padding: 9px 0px;
  }

  .col-head-tab {
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }

  .search-box {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .card-tag {
    font-size: 9px;
  }

  .col-slide-news .news-card {
    height: 635px;
    border-radius: 30px;
    padding: 20px;
  }

  .col-slide-news .news-card img {
    border-radius: 18px;
  }

  .owl-news .owl-nav {
    margin-top: -67%;
  }

  .col-slide-news .card-tag {
    font-size: 16px;
    min-width: 20%;
    padding: 5px 5px;
  }

  .owl-news .owl-dots {
    margin-top: 62%;
    margin-bottom: 30px;
  }

  .filter-btn h2 {
    font-size: 15px;
  }

  .col-btn-all-news {
    justify-content: center;
  }

  .news-card {
    padding: 10px;
    min-height: 322px;
  }
}

@media (max-width: 768px) {
  .tab {
    margin-bottom: 0;
  }

  .filter-btn-allnews {
    margin-top: 15px;
  }
}

@media (max-width: 500px) {
  #Sec-News {
    padding: 0 !important;
  }

  .tab {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .filter-btn-allnews {
    margin-top: 25px;
  }

  .col-main-bg {
    padding: 15px;
    border-radius: 25px;
  }

  .col-head-tab {
    margin: 20px 0 5px;
    padding: 5px 3px;
  }

  .title-page {
    font-size: 40px;
    margin-bottom: 0;
  }

  .filter-btn {
    min-width: 120px;
    font-size: 13px;
    margin: 0;
    margin-bottom: .4rem;
  }

  .news-card {
    padding: 6px;
    border-radius: 15px;
  }

  .card-tag {
    font-size: 7px;
    padding: 3px 5px 2px 5px;
  }

  .news-card img {
    border-radius: 10px;
  }

  .card-body {
    padding: 8px 0px;
  }

  .card-body .text-title {
    font-size: 14px;
  }

  .card-body .text-detail {
    font-size: 12px;
  }

  .tab {
    overflow: hidden;
    margin-bottom: 0px;
    justify-content: left;
  }

  .card-body .text-date {
    font-size: 10px;
    color: #808080;
    padding: 2px 0 0 0;
  }

  .col-slide-news .news-card {
    height: 450px;
    border-radius: 30px;
    padding: 15px;
  }

  .col-slide-news .card-body .text-title {
    font-size: 18px;
  }

  .col-slide-news .card-tag {
    font-size: 14px;
    min-width: 25%;
    padding: 5px 8px;
  }

  .col-slide-news .card-body .text-detail {
    font-size: 15px;
  }

  .col-slide-news .card-body .text-date {
    font-size: 13px;
    padding: 3px 0 0 0;
  }

  .col-slide-news .card-body .btn-read-more {
    font-size: 16px;
  }

  .owl-news .owl-nav {
    margin-top: -87%;
  }

  .owl-news .owl-nav button {
    width: 42px;
    height: 42px;
  }

  .owl-news .owl-prev {
    margin-left: -10px !important;
  }

  .owl-news .owl-next {
    margin-right: -10px !important;
  }

  .owl-news .owl-dots {
    margin-top: 80%;
    margin-bottom: 35px;
  }

  .news-card {
    min-height: 260px;
  }
}

@media (max-width: 375px) {
  .filter-btn {
    margin: 0 4px 0 0;
    font-size: 12px;
  }

  .card-tag {
    font-size: 6px;
    padding: 1px 4px 1.5px 4px;
  }

  .filter-btn-allnews {
    margin-top: 15px;
  }

  .card-body .btn-read-more {
    font-size: 12px;
  }

  .box-btn-card {
    padding: 2px 0 0 0;
  }

  .owl-news .owl-nav {
    margin-top: -105%;
  }

  .owl-news .owl-dots {
    margin-top: 96%;
    margin-bottom: 35px;
  }

  .col-slide-news .news-card {
    height: 410px;
  }

  .news-card {
    min-height: 250px;
  }
}

/* Section Character */

#Sec-CRT {
  width: 100%;
  padding: 0;
  background: url(../images/bg-sec-4.webp?v=3.24) top center/100% no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.text-title-head.text-crt {
  color: #fff;
}

.text-description-head.text-crt {
  color: #fff;
}

.mySlides {
  display: none;
}

.mySlides .row {
  height: 100%;
  display: flex;
  align-items: center;
}

.mySlides .col-lg-5 {
  height: 100%;
}

.mySlides .col-lg-7 {
  height: 100%;
}

.cursor {
  cursor: pointer;
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.big-warper-crt {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  margin-top: 0;
  padding-top: 130px;
  padding-right: 65px;
}

.warper-col-select-crt {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
}

.warper-col-select-crt a {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 0;
  cursor: pointer;
}

.warper-col-select-crt a:hover {
  background: #ffffff00;
  animation: shake-slow-y 1.5s infinite;
}

@keyframes shake-slow-y {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(3px);
  }

  75% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

.warper-col-select-crt a:active {
  background: none;
}

.warper-col-select-crt a img {
  width: 100%;
}

.col-select-crt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: -20px;
}

.col-select-crt::before {
  content: "";
  position: absolute;
  background: url(../images/crt-active.webp?v=3.24) center / contain no-repeat;
  width: 141px;
  height: 141px;
  top: 192px;
  right: -23px;
  z-index: 1;
}

.col-select-crt .thumb {
  width: 95px;
  height: 95px;
  object-fit: contain;
  opacity: 1 !important;
  transition: 0.3s;
  border: none;
}

.col-select-crt .thumb:hover {
  filter: brightness(1.1);
  animation: zoom-in-out 1s ease-in-out infinite;
}

@keyframes zoom-in-out {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.col-select-crt .thumb.active {
  opacity: 1;
  transform: scale(1.5);
  margin: 25px 0;
  z-index: 3;
}

.col-select-crt .thumb.active:hover {
  animation: none;
}

.box-img-crt {
  object-fit: contain;
  width: 110%;
  position: relative;
  z-index: 5;
  margin-left: 50px;
  padding: 50px 0;
}

.box-name-crt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 45px;
}

.bg-in-box-name-crt {
  background: url(../images/bg-data-crt.webp?v=2.77) top center / contain no-repeat;
  width: 100%;
  padding: 100px 180px 70px 110px;
}

.in-box-name-crt {
  width: 100%;
}

.text-name-th {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.text-name-en {
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  filter: drop-shadow(0px 1px 6px #ffffffc4);
  -webkit-text-stroke: 1px #fff;
  margin-bottom: 15px;
}

.text-detail-crt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 25px;
}

.col-button-sound-crt {
  display: flex;
  align-items: center;
}

.btn-sound-crt {
  background: #ffffff00;
  border: none;
  z-index: 2;
}

.btn-sound-crt:hover {
  animation: shake-slow 1.5s infinite;
}

.btn-sound-crt img {
  width: 32px;
  object-fit: contain;
}

.warper-in-box-name-crt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}

.warper-all-state {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: flex-start;
}

.warper-col-progress {
  width: 100%;
  margin-left: -50px;
}

/* bar */

.warper-col-progress .progress-bar {
  width: 100%;
  height: 15px;
  background: #ffffffa3;
  border: 1px solid #ffffff;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #33bbff, #a077ff);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.progress-fill.progress-1 {
  width: 6.6%;
}

.progress-fill.progress-2 {
  width: 13.2%;
}

.progress-fill.progress-3 {
  width: 19.8%;
}

.progress-fill.progress-4 {
  width: 26.4%;
}

.progress-fill.progress-5 {
  width: 33%;
}

.progress-fill.progress-6 {
  width: 39.6%;
}

.progress-value {
  min-width: 34px;
  font-family: "Rowdies", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #3679C8;
  text-align: right;
  padding-top: 5px;
}

.col-icon-state {
  background: url(../images/bg-ic-state.webp?v=3.24) center/contain no-repeat;
  width: 68px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.col-icon-state img {
  width: 52%;
  object-fit: contain;
}

.col-text-state {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 24px;
  padding-left: 8px;
  background: #ffffffa3;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 1600px) {
  .box-name-crt {
    margin-top: -96px;
    padding-left: 55px;
  }

  .big-warper-crt {
    margin-top: 0;
    padding-top: 50px;
    padding-right: 25px;
  }

  .text-name-en {
    font-size: 58px;
    margin-bottom: 6px;
  }

  .text-detail-crt {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .col-text-state {
    width: 120px;
    font-size: 15px;
  }

  .warper-all-state {
    gap: 0px;
  }
}

@media (max-width: 1440px) {
  .box-name-crt {
    margin-top: -162px;
    padding-left: 55px;
  }

  .big-warper-crt {
    margin-top: -67px;
    padding-right: 8px;
  }

  .box-img-crt {
    width: 123%;
    padding-bottom: 64px;
    margin-left: 48px;
  }

  .bg-in-box-name-crt {
    padding-right: 7%;
  }

  .progress-value {
    padding-top: 5px;
  }

  .text-name-th {
    font-size: 34px;
  }

  .text-name-en {
    font-size: 50px;
  }
}

@media (max-width: 1401px) {
  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt2.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }
}

@media (max-width: 1200px) {
  .box-img-crt {
    width: 120%;
    padding-bottom: 0px;
    margin-left: -5px;
  }

  .box-name-crt {
    margin-top: -82px;
    padding-left: 0;
    padding-right: 40px;
  }

  .big-warper-crt {
    margin-top: -24px;
    padding-right: 8px;
  }
}

@media (max-width: 1024px) {
  .big-warper-crt {
    margin-top: -4px;
  }

  .box-name-crt {
    margin-top: -21px;
    padding-left: 0;
    padding-right: 30px;
  }

  .box-img-crt {
    width: 130%;
    margin-left: -24px;
  }

  .text-name-th {
    font-size: 30px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .btn-sound-crt img {
    width: 28px;
  }

  .text-detail-crt {
    font-size: 12px;
  }

  .progress-value {
    font-size: 20px;
  }

  .col-text-state {
    height: 22px;
  }

  .warper-col-progress .progress-bar {
    height: 13px;
  }

  .progress-value {
    min-width: 30px;
  }
}

@media (max-width: 992px) {
  #Sec-CRT {
    background: url(../images/bg-sec-4-md.webp?v=3.24) bottom center / 100% no-repeat;
    /* min-height: 1000px; */
    display: flex;
    align-items: center;
  }

  #Sec-CRT .section-title2 {
    margin: 0 auto;
  }

  .text-title-head.text-crt {
    color: #0E8CEE;
  }

  .text-description-head.text-crt {
    color: #003761;
  }

  .box-name-crt .col-text-title-head-white::before {
    background: url(../images/ic-star-head-blue.webp?v=3.24) center / contain no-repeat;
  }

  .box-name-crt .col-text-title-head-white::after {
    background: url(../images/ic-star-head-blue.webp?v=3.24) center / contain no-repeat;
  }

  .col-select-crt .thumb.active {
    margin: 0px 20px;
  }

  .col-select-crt .thumb {
    width: 130px;
    height: 130px;
    margin: 0 -10px;
  }

  .warper-col-select-crt {
    flex-direction: row;
    max-width: 100%;
    width: 100%;
  }

  .col-select-crt {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .big-warper-crt {
    margin-top: 50px;
    margin-bottom: 0;
    padding-right: 0;
    width: 100%;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt3.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }

  .warper-in-box-name-crt {
    width: 100%;
    margin-top: -15px;
  }

  .box-name-crt {
    margin-top: 0;
    padding-left: 45px;
  }

  .box-img-crt {
    width: 321%;
    margin-left: -277px;
    margin-top: -50px;
  }

  .text-detail-crt {
    font-size: 13px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .text-name-th {
    font-size: 32px;
  }

  .col-icon-state {
    height: 57px;
  }

  .col-text-state {
    height: 24px;
    font-size: 16px;
  }

  .warper-col-progress .progress-bar {
    height: 15px;
  }

  .col-select-crt::before {
    background: url(../images/crt-active-md.webp?v=3.24) center / contain no-repeat;
    width: 198px;
    height: 198px;
    top: -9px;
    right: 50%;
    transform: translateX(50%);
  }

  .warper-col-select-crt a img {
    transform: rotate(270deg);
  }

  .warper-col-select-crt a {
    width: 60px;
    height: 60px;
    padding-top: 5px;
  }
}

@media (max-width: 768px) {
  .col-text-state {
    height: 19px;
    font-size: 14px;
  }

  .warper-col-progress .progress-bar {
    height: 12px;
  }

  .col-icon-state {
    height: 50px;
  }

  .box-img-crt {
    width: 316%;
    margin-left: -252px;
    margin-top: -41px;
  }

  .warper-col-select-crt a {
    padding-top: 4px;
  }
}

@media (max-width: 550px) {
  .mySlides .row {
    flex-direction: column-reverse;
  }

  .box-name-crt {
    margin-top: 0;
    padding: 0;
  }

  .col-select-crt .thumb {
    width: 66px;
    height: 66px;
    margin: 0 -5px;
  }

  .box-img-crt {
    width: 68%;
    margin-top: -261%;
    margin-left: 15%;
    z-index: 0;
  }

  .warper-in-box-name-crt {
    width: 100%;
    margin-top: 32%;
  }

  .text-name-en {
    font-size: 38px;
  }

  .text-name-th {
    font-size: 26px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt4.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }

  .col-text-state {
    height: 20px;
    font-size: 14px;
  }

  .warper-col-progress .progress-bar {
    height: 10px;
  }

  .progress-value {
    font-size: 17px;
    min-width: 25px;
  }

  .text-detail-crt {
    font-size: 12.5px;
  }

  .col-select-crt .thumb.active {
    margin: 0px 15px;
  }

  .big-warper-crt {
    margin-top: -7px;
    margin-bottom: 0;
  }

  #Sec-CRT {
    min-height: 944px;
  }

  .warper-col-select-crt a {
    width: 56px;
    height: 56px;
    padding-top: 16px;
  }

  .col-icon-state {
    height: 55px;
  }
}

@media (max-width: 375px) {
  .text-name-th {
    font-size: 22px;
  }

  .box-img-crt {
    width: 56%;
    margin-top: -265%;
    margin-left: 20%;
  }

  .text-name-en {
    font-size: 32px;
  }

  .col-icon-state {
    height: 50px;
  }

  .col-text-state {
    height: 17px;
    font-size: 13px;
  }

  .col-select-crt .thumb {
    width: 60px;
    height: 60px;
    margin: 0 -5px;
  }

  .progress-value {
    font-size: 16px;
    min-width: 22px;
  }

  .text-detail-crt {
    font-size: 11px;
  }

  .warper-in-box-name-crt {
    margin-top: 25%;
  }

  #Sec-CRT {
    min-height: 830px;
  }
}

/* Section System */

#Sec-System {
  width: 100%;
  padding: 20px 0 0 0;
  background: url(../images/bg-sec-5.webp?v=3.24) center/100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#Sec-System .owl-carousel .owl-stage-outer {
  position: relative;
  overflow: visible;
  -webkit-transform: translate3d(0, 0, 0);
}

.col-img-piero-3 {
  position: absolute;
  bottom: -7px;
  left: 30px;
  width: 300px;
  z-index: 2;
}

.img-piero-3 {
  width: 100%;
}

.warper-col-data-st {
  overflow: hidden;
  margin-top: -30px;
}

.col-data-system {
  margin-top: 60px;
}

.owl-system .owl-item {
  filter: brightness(0.7);
  transform: scale(.7);
}

.owl-system .owl-item.active.center {
  transform: scale(.9);
  z-index: 10;
  filter: brightness(1) drop-shadow(0px 2px 10px #0000002e);
}

.item-system {
  position: relative;
}

/* .owl-system .owl-item.active.center .item-system::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -149px;
  width: 48%;
  height: 100%;
  background-image: url("../images/crt-bn-system.webp?v=1.09");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
} */

.col-text-st {
  position: absolute;
  top: 79%;
  left: 25px;
  text-align: start;
  padding-right: 25px;
}

.col-text-st div {
  /* font-family: "Rowdies", sans-serif; */
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 8px;
  /* -webkit-text-stroke: 1px #ffffff; */
}

.text-st-detail {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3C88C7;
  margin: 0;
}

.owl-system .owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12%
}

.owl-system .owl-nav button {
  margin-top: -61%;
}

.owl-system .owl-nav button:hover {
  animation: shake-slow 1.5s infinite;
}

@keyframes shake-slow {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }

  75% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0);
  }
}

.owl-system .owl-prev {
  background-image: url(../images/ic-left-st.webp?v=3.24) !important;
  width: 40px;
  height: 40px;
  z-index: 3;
}

.owl-system .owl-next {
  background-image: url(../images/ic-right-st.webp?v=3.24) !important;
  width: 40px;
  height: 40px;
  z-index: 3;
}

.owl-system .owl-prev span {
  display: none !important;
}

.owl-system .owl-next span {
  display: none !important;
}

.owl-system .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 0;
}

.owl-system .owl-dot.active {
  background: url(../images/ic-dots-st-active.webp?v=3.24) center/contain no-repeat !important;
  width: 24px;
  height: 30px;
  z-index: 3;
  transform: scale(1.4);
}

.owl-system .owl-dot {
  background: url(../images/ic-dots-st.webp?v=3.24) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
}

.section-title2.update {
  width: 100%;
  position: absolute;
  top: 130px;
  left: 50%;
}

.seo-headings {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.text-description-head.event {
  color: #fff;
}

.popup-event.show {
  padding: 0 !important;
}

.carousel-item a {
  text-decoration: none;
}

@media (min-width: 1921px) {
  .slide-in-bottom.is-visible {
    transform: translateX(0) scale(.9);
  }
}

@media (max-width: 1920px) {
  .bg-in-box-name-crt {
    padding: 90px 150px 70px 80px;
  }
}

@media (max-width: 1800px) {
  .section-title2.update {
    top: 80px;
  }
}

@media (max-width: 1600px) {
  .warper-in-box-name-crt {
    padding-top: 120px;
  }

  .bg-in-box-name-crt {
    padding: 70px 100px 60px 40px;
  }
}

@media (max-width: 1550px) {
  .bg-in-box-name-crt {
    padding: 60px 90px 30px 35px;
  }

  .text-name-en {
    font-size: 48px;
  }

  .text-name-th {
    font-size: 35px;
  }
}

@media (max-width: 1500px) {
  .warper-in-box-name-crt {
    padding-top: 170px;
  }

  .bg-in-box-name-crt {
    padding: 60px 90px 70px 34px;
  }
}

@media (max-width: 1440px) {
  .warper-in-box-name-crt {
    padding-top: 190px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt-big2.webp?v=2.77) top center / contain no-repeat;
    padding: 70px 120px 70px 80px;
  }

  .big-warper-crt {
    margin-top: 0;
    padding-right: 15px;
  }
}

@media (max-width: 1400px) {
  .section-title2.update {
    top: 70px;
    left: 48%;
  }

  .bg-in-box-name-crt {
    padding: 55px 100px 30px 65px;
  }

  .text-name-th {
    font-size: 34px;
  }

  .text-detail-crt {
    font-size: 16px;
  }
}

@media (max-width: 1300px) {
  .news-card {
    min-height: 255px;
  }

  .bg-in-box-name-crt {
    padding: 50px 85px 30px 45px;
  }
}

@media (max-width: 1200px) {
  .text-detail-crt {
    font-size: 15px;
  }

  .text-name-en {
    font-size: 42px;
  }

  .section-title2.update {
    top: 30px;
  }

  .big-warper-crt {
    padding-top: 75px;
  }

  #Sec-CRT.update {
    padding: 60px !important;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt2.webp?v=2.77) top center / contain no-repeat;
    padding: 60px 85px 40px 45px;
  }

  .warper-in-box-name-crt {
    padding-top: 170px;
  }

  .section-title2.update {
    left: 42%;
  }

  .col-text-st {
    position: absolute;
    top: 78%;
    left: 25px;
    text-align: start;
  }

  .col-text-st div {
    margin-bottom: 4px;
  }
}

@media (max-width: 1024px) {
  .warper-in-box-name-crt {
    padding-top: 135px;
  }

  .box-img-crt {
    width: 140%;
    margin-left: -30px;
  }

  .big-warper-crt {
    padding-top: 75px;
    padding-right: 5px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt-big3.webp?v=2.77) top center / contain no-repeat;
    padding: 55px 80px 40px 45px;
  }

  #Sec-System {
    justify-content: center;
  }

  .warper-col-data-st {
    margin-top: -20px;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -68px;
    right: -112px;
    width: 48%;
    height: 100%;
  }

  .col-text-st div {
    font-size: 24px;
    line-height: 1.5;
  }

  .col-text-st {
    left: 15px;
  }

  .col-text-st div {
    font-size: 18px;
  }

  .col-text-st {
    left: 15px;
  }

  .text-st-detail {
    font-size: 14px;
  }

  .text-detail-crt {
    font-size: 12px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .text-name-th {
    font-size: 30px;
  }

  .news-card {
    min-height: 230px;
  }

  #Sec-System.update {
    height: fit-content !important;
    padding-bottom: 50px !important;
  }
}

@media (max-width: 992px) {
  .mySlides .row {
    flex-direction: column;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -78px;
    right: -91px;
    width: 47%;
    height: 107%;
  }

  .owl-system .owl-nav {
    padding: 0 8%;
  }

  .col-text-st div {
    font-size: 17px;
    margin-bottom: 1px;
  }

  .col-text-st div {
    font-size: 16px;
  }

  .col-text-st {
    left: 13px;
  }

  .owl-system .owl-dot.active {
    width: 20px;
    height: 20px;
    transform: scale(1.4);
  }

  .owl-system .owl-dot {
    width: 20px;
    height: 20px;
  }

  .owl-system .owl-nav button {
    margin-top: -59%;
  }

  .text-st-detail {
    font-size: 13px;
    line-height: 1.3;
  }

  #Sec-CRT .section-title2 {
    margin: 0 auto -30px;
    position: relative;
    left: 0;
  }

  .box-img-crt {
    width: 45%;
    margin-left: 0;
    margin: 0 auto;
  }

  .warper-in-box-name-crt {
    padding-top: 0;
    margin-top: -160px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt3.webp?v=2.77) top center / contain no-repeat;
    padding: 65px 60px;
    width: 90%;
    height: 560px;
    margin: 0 auto;
  }

  .big-warper-crt {
    padding-top: 0;
    padding-right: 0;
  }

  .col-select-crt .thumb.active {
    /* transform: scale(1.5); */
    margin: 25px 20px;
    width: 130px;
    height: 130px;
  }

  .text-detail-crt {
    font-size: 14px;
  }

  .warper-col-select-crt a img {
    width: 60px;
    margin: 0 -15px;
  }
}

@media (max-width: 768px) {
  .item-system::after {
    bottom: 6.5px;
  }
}

@media (max-width: 550px) {
  .text-detail-crt {
    font-size: 12px;
  }

  .text-name-en {
    font-size: 30px;
  }

  #Sec-CRT.update {
    padding: 60px 0 !important;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt4.webp?v=2.77) top center / contain no-repeat;
    padding: 55px 30px;
    width: 100%;
    height: 500px;
    margin: 70px auto 0;
  }

  .text-name-th {
    font-size: 25px;
  }

  #Sec-System .owl-carousel .center {
    transform: scale(.85);
  }

  .col-img-piero-3 {
    width: 190px;
  }

  .warper-col-data-st {
    padding: 120px 0 30px;
    margin-top: -160px;
  }

  .owl-system .owl-nav {
    padding: 0;
  }

  .owl-system .owl-nav button {
    margin-top: -77%;
    width: 28px;
    height: 28px;
    background-size: contain !important;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -21px;
    right: -77px;
    width: 47%;
    height: 89%;
  }

  .col-text-st div {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .text-st-detail {
    font-size: 11px;
  }

  .col-text-st {
    top: 78%;
  }
}

@media (max-width: 375px) {
  #Sec-System {
    height: fit-content !important;
    min-height: 530px;
    padding: 0 !important;
  }

  .warper-col-data-st {
    padding: 0 0 30px;
    margin-top: 0;
  }

  .section-title {
    padding: 25px;
    margin-bottom: 0;
  }

  .col-text-st div {
    font-size: 15px;
  }
}

/* Main */

@media (max-width: 1024px) {

  html,
  body {
    overflow-y: visible;
    scroll-behavior: initial;
    scroll-snap-type: initial;
  }

  body {
    scroll-snap-type: inherit;
  }

  .text-title-head {
    font-size: 40px;
  }

  .col-text-title-head {
    padding: 0 38px;
  }

  .col-text-title-head::before {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head::after {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head-white {
    padding: 0 38px;
  }

  .col-text-title-head-white::before {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head-white::after {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .text-title-head.event {
    color: #0E8CEE;
  }

  .text-description-head.event {
    color: #003761;
  }
}

@media (max-width: 992px) {
  #Sec-Event .section-title {
    margin-top: 10px;
    margin-bottom: 5px;
  }

  #Sec-News.section {
    height: fit-content !important;
    padding: 70px 0;
  }

  .box-name-crt {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .col-select-crt .thumb.active {
    margin: 20px 15px;
    width: 120px;
    height: 120px;
  }

  .col-select-crt::before {
    width: 178px;
    height: 178px;
  }

  .col-select-crt .thumb {
    width: 114px;
    height: 114px;
    margin: 0 -12px;
  }

  .warper-col-select-crt a img {
    margin: 0 -5px;
  }
}

@media (max-width: 550px) {
  .col-select-crt .thumb {
    width: 80px;
    height: 80px;
    margin: 0 -12px;
  }

  .col-select-crt .thumb.active {
    margin: 10px;
    width: 80px;
    height: 80px;
  }

  .col-select-crt::before {
    width: 120px;
    height: 120px;
    top: -10px;
  }

  .warper-col-select-crt a img {
    width: 40px;
    margin: -5px -5px;
  }

  /* .section {
    height: fit-content !important;
  }
  */

  .btn-more {
    bottom: 10px;
    padding: .1em 1em;
    border-radius: 30px;
    font-size: .8rem;
  }

  .warper-button-menu-fix {
    display: none;
  }

  .text-title-head {
    font-size: 30px;
  }

  .text-description-head {
    font-size: 20px;
  }

  .col-text-title-head-white {
    padding: 0 29px;
  }

  .col-text-title-head-white::before {
    width: 22px;
    height: 22px;
    top: 4px;
  }

  .col-text-title-head-white::after {
    width: 22px;
    height: 22px;
    top: 4px;
  }

  html,
  body {
    scroll-behavior: smooth;
    scroll-snap-type: inherit;
    overflow-y: inherit;
  }
}

@media (max-width: 391px) {
  .text-st-detail {
    font-size: 9px;
  }

  .col-select-crt .thumb {
    width: 70px;
    height: 60px;
    margin: 0 -12px;
  }
}

@media (max-width: 375px) {
  .col-select-crt .thumb.active {
    margin: 10px;
    width: 70px;
    height: 70px;
  }

  .warper-col-select-crt a img {
    width: 35px;
    margin: -5px 2px;
  }

  .col-select-crt::before {
    width: 106px;
    height: 106px;
    top: -8px;
  }

  .col-select-crt .thumb.active {
    margin: 10px;
    width: 70px;
    height: 70px;
  }

  .bg-in-box-name-crt {
    height: 460px;
  }

  .text-detail-crt {
    font-size: 11px;
  }

  .text-name-th {
    font-size: 22px;
  }

  .text-name-en {
    font-size: 28px;
  }

  .text-st-detail {
    font-size: 10px;
  }

  .text-title-head {
    font-size: 26px;
  }

  .text-description-head {
    font-size: 16px;
  }

  .col-text-title-head-white {
    padding: 0 22px;
  }

  .col-text-title-head-white::before {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head-white::after {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head {
    padding: 0 22px;
  }

  .col-text-title-head::before {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head::after {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  html,
  body {
    scroll-behavior: smooth;
    scroll-snap-type: inherit;
    overflow-y: scroll;
  }
}

/*  */

@media (min-width: 1921px) {

  .warper-button-menu-fix {
    width: 300px;
    position: relative;
    margin: auto;
    background: #000;
    z-index: 10000;
    height: 1px;
  }
}

/* .big-col-bgm {
    max-width: 2560px;
    width: 100%;
} */

/* video เต็มจอ */

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

/* overlay กันตัวหนังสือจม */

.text-detail>img {
  padding: 0 10px 6px;
}

@media (min-width: 1921px) {
  body {
    scroll-snap-type: none !important;
  }

  html,
  body {
    scroll-snap-type: none !important;
    overflow-y: auto !important;
  }

  .row-crt {
    max-width: 1920px !important;
    margin: 0 auto !important;
  }

  #Sec-News.update {
    min-height: 980px !important;
    height: fit-content !important;
  }

  #Sec-CRT.update {
    height: fit-content !important;
  }

  #Sec-System.update {
    height: fit-content !important;
  }

  #Sec-System.update .container {
    max-width: 1920px;
    margin: 0 auto;
  }


  .text-st-detail {
    font-size: 24px !important;
  }
}

@media (max-width: 1024px) {
  .text-detail.big {
    font-size: 40px !important;
  }
}

@media (max-width: 992px) {
  .text-detail.big {
    font-size: 36px !important;
  }

  #Sec-News {
    background: url(../images/bg-sec-3-md.webp?v=3.24) bottom center / 100% no-repeat;
    /* min-height: 1000px; */
    display: flex;
    align-items: center;
  }

  #Sec-CRT {
    background: url(../images/bg-sec-4-md.webp?v=3.24) bottom center / 100% no-repeat;
    /* min-height: 1000px; */
    display: flex;
    align-items: center;
  }
}

@media (max-width: 550px) {
  .btn-more {
    bottom: 10px !important;
    padding: .1em 1em !important;
    border-radius: 30px !important;
    font-size: .8rem !important;
  }

  .text-detail>img {
    display: none;
  }

  .btn-main-line img {
    max-width: 300px;
  }
}

@media (max-width: 375px) {
  .btn-main-line img {
    max-width: 280px;
  }
}

@media (max-width: 992px) {}

.container-fluid {
  z-index: 50;
}

#Sec-Event.update {
  max-width: 2500px !important;
  padding: 100px 0;
  /* height: 100vh; */
}

#Sec-News.update {
  max-width: 2500px !important;
  background-size: cover !important;
  height: fit-content;
}

#Sec-CRT.update {
  max-width: 2500px !important;
  background-size: cover !important;
  padding: 0 60px;
}

#Sec-System.update {
  max-width: 2500px !important;
  background-size: cover !important;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

.text-detail {
  font-size: 3vw;
  color: #636363;
}

.text-detail.update {
  width: fit-content;
  font-size: 5vw;
  color: #3a3a3a;
  margin: 0 auto 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 50%) 10%, rgb(255 255 255 / 70%) 50%, rgb(255 255 255 / 50%) 90%, rgb(255 255 255 / 0%) 100%);
}

.btn-detail {
  position: absolute;
  bottom: 14%;
  right: 3%;
  background: transparent;
  border: none;
  z-index: 100;
  width: 35%;
  aspect-ratio: 1/1;
  max-width: 45px;
  padding: 0;
}

.btn-detail img {
  width: 100%;
}

.modal-backdrop.show {
  z-index: 100;
  opacity: .9;
}

.modal.show .modal-dialog {
  transform: none;
  z-index: 1000;
}

.side-nav {
  z-index: 52;
}

/* crt-sec-hero */

@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* crt-sec-hero */

/* Modal Customization */

.detail-item .modal-dialog {
  max-width: 600px;
}

.detail-item .modal-content.custom-modal-content {
  background-color: transparent;
  border: none;
  position: relative;
  padding: 20px;
}

/* Close Button (Top Right) */

.btn-close-custom {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1056;
  background: url(/asset/images/ic-close.webp?v=2.55') no-repeat center center;
  background-size: 100%;
  border: none;
}

.btn-more {
  color: #fff;
  background: #ffffff3b;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: .3em 1em;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #fff;
}

/* Header */

.modal-header-custom {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-header-custom .modal-title {
  background: url(/asset/images/modal-header-custom.webp?v=2.55') no-repeat center center;
  background-size: 100%;
  color: white;
  padding: 10px 40px;
  font-size: 1.3rem;
  display: inline-block;
  position: relative;
  min-width: 400px;
}

/* Add sparkles manually if no image provided, using pseudo elements for simple decoration */

.modal-header-custom .modal-title::before,
.modal-header-custom .modal-title::after {
  content: '✦';
  color: #fff;
  font-size: 1.2rem;
  margin: 10px;
}

.modal-header-custom .modal-title::before {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-header-custom .modal-title::after {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Item Cards */

.modal-body-custom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

/* Footer Button */

.modal-footer-custom {
  text-align: center;
  margin-top: 30px;
}

.btn-action {
  background: linear-gradient(90deg, #854dff 0%, #4b8bd0 100%);
  color: white;
  border: none;
  padding: 10px 50px;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(92, 107, 192, 0.4);
  transition: transform 0.2s;
}

.btn-action:hover {
  transform: scale(1.05);
}

.reward-item {
  width: 80%;
  max-width: 500px;
  margin: auto;
}

@media (min-width: 540px) {
  .box-timeline-mst {
    padding-top: 2%;
  }
}

@media (min-width: 720px) {
  .btn-detail {
    width: 25%;
    bottom: 5%;
  }

  .all-timeline-mst {
    margin-top: 80px;
  }

  .text-detail {
    font-size: 20px;
  }

  .all-timeline-mst {
    margin-top: 60px;
  }
}

@media (min-width: 1025px) {
  .text-detail {
    font-size: 18px;
  }

  .btn-read-preregis {
    font-size: 16px;
  }

  .milestone-line {
    width: 79%;
  }

  .all-timeline-mst {
    margin-top: 70px;
  }
}

@media (min-width: 1140px) {
  .milestone-line {
    width: 80%;
  }
}

@media (min-width: 1200px) {
  /* .milestone-line {
        width: 74%;
    }
  */
}

@media (min-width: 1300px) {
  /* .milestone-line {
        width: 74%;
    }
  */
}

@media (min-width: 1441px) {
  .milestone-line {
    width: 70%;
  }
}

html,
body {
  margin: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: auto;
}

.text-detail.update {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.text-detail.update.description {
  font-weight: 500;
  color: #0765af;
  background: none;
}

@media (min-width: 720px) {
  .text-detail.update.description {
    font-size: 30px;
  }

  .text-detail>img {
    padding: 0 8px;
  }
}

@media (min-width: 1050px) {
  .text-detail.update.description {
    font-size: 28px;
  }
}

.btn-presale-area {
  position: absolute;
  bottom: -5px;
  right: 50%;
  transform: translateX(50%);
  z-index: 50;
}

.btn-read {
  padding: 5px;
  font-size: 12px;
}

.btn-presale-area .btn-read:hover {
  color: #585858;
}

@media (min-width: 768px) {
  .btn-presale-area {
    bottom: 20px;

  }
}

@media (min-width: 1024px) {
  .btn-presale-area {
    bottom: 50px;

  }

  .btn-read {
    padding: 5px;
    font-size: 14px;
  }
}

@media (min-width: 1600px) {
  .btn-presale-area {
    bottom: 50px;

  }

  .btn-read {
    padding: 5px;
    font-size: 14px;
  }
}