@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Thai:300,regular,500,600,700,800,900&display=swap);
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable='false'])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable='true']) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 400;
  color: #fff;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  text-decoration: underline;
  margin: 20px 0;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ol {
  list-style: decimal;
  padding: 15px 25px;
}

ul {
  list-style: disc;
  padding: 15px 25px;
}

li {
  line-height: 150%;
}

ol li::marker,
ul li::marker {
  color: #40d11b;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}
table tr td,
table tr th {
  border: 1px solid #333;
  padding: 15px;
}
table tr th {
  background-color: #3e3e3e;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
table tr td:hover {
  background-color: #e3e3e3;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: #ffffff;
}
.header .logo {
  font-size: 38px;
  animation: pulse 2s infinite;
  font-weight: 600;
}
.header .logo img {
  max-width: 60%;
  display: flex;
  margin: 0 auto;
}
.header .container {
  padding: 0px 16px;
  display: flex;
  justify-content: center;
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 95px 0 60px;
  background-color: #496ddb;
}
.main .cards {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main .cards .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 38px 10px 38px;
  border: 1px solid #3e3e3e;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.7);
  height: 165px;
  position: relative;
}
.main .cards .card::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  background-color: #986634;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.main .cards .card:first-child::before {
  background-color: #ffc42b;
}
.main .cards .card:nth-child(2)::before {
  background-color: #818181;
}
.main .cards .card__img {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.main .cards .card__img .img {
  position: relative;
  width: 78px;
  height: 78px;
}
.main .cards .card__img .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}
.main .cards .card__bonus {
  animation: pulse 2s infinite;
  font-weight: 600;
  font-size: 18px;
  text-align: left;
  flex: 0 0 50%;
}
.main .cards .card__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 80px;
  min-height: 34px;
  border-radius: 2px;
  padding: 10px 0;
  font-weight: 600;
  background-color: #ff9600;
  width: 160px;
}
.main .cards .card__btn a:hover {
  background-color: #ffb83f;
}
.main .cards .card__title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.main .cards .card__title .title {
  color: #40d11b;
  font-size: 20px;
  font-weight: 600;
}
.main .cards .card__title .rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main .cards .card__title .rating .number {
  background-color: #ffc42b;
  padding: 5px;
  border-radius: 50%;
  font-size: 14px;
  color: #333;
}
.main .cards .card__title .rating .stars svg {
  color: #ffc42b;
  max-width: 12px;
}
.main .cards .card:nth-child(1)::before {
  content: '1';
}
.main .cards .card:nth-child(2)::before {
  content: '2';
}
.main .cards .card:nth-child(3)::before {
  content: '3';
}
.main .cards .card:nth-child(4)::before {
  content: '4';
}
.main .cards .card:nth-child(5)::before {
  content: '5';
}
.main .cards .card:nth-child(6)::before {
  content: '6';
}
.main .cards .card:nth-child(7)::before {
  content: '7';
}
.main .cards .card:nth-child(8)::before {
  content: '8';
}
.main .cards .card:nth-child(9)::before {
  content: '9';
}
.main .cards .card:nth-child(10)::before {
  content: '10';
}
.main .cards .card:nth-child(11)::before {
  content: '11';
}
.main .cards .card:nth-child(12)::before {
  content: '12';
}
.main .cards .card:nth-child(13)::before {
  content: '13';
}
.main .cards .card:nth-child(14)::before {
  content: '14';
}
.main .cards .card:nth-child(15)::before {
  content: '15';
}
.main .cards .card:nth-child(16)::before {
  content: '16';
}
.main .cards .card:nth-child(17)::before {
  content: '17';
}
.main .cards .card:nth-child(18)::before {
  content: '18';
}
.main .cards .card:nth-child(19)::before {
  content: '19';
}
.main .cards .card:nth-child(20)::before {
  content: '20';
}
.main .cards .card:nth-child(21)::before {
  content: '21';
}
.main .cards .card:nth-child(22)::before {
  content: '22';
}
.main .cards .card:nth-child(23)::before {
  content: '23';
}
.main .cards .card:nth-child(24)::before {
  content: '24';
}
.main .cards .card:nth-child(25)::before {
  content: '25';
}
.main .content p {
  margin: 12px 0;
}
.main .content a {
  color: #40d11b;
}
.main .content img {
  max-width: 500px;
  display: flex;
  margin: 15px auto;
}

.container {
  max-width: 80vw;
  margin: 0 auto;
  padding: 0 16px;
}

.footer {
  background-color: #0a0013;
  text-align: center;
  padding: 50px 0;
  font-size: 14px;
  font-weight: 300;
}

/* popup */

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.popup .popup-overlay {
  background: #071e214d;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup .popup-box {
  background: #61a9f4;
  border-radius: 24px;
  display: flex;
  gap: 1rem;
  max-width: 70vw;
  height: 498px;
  min-height: auto;
  margin: 0 auto;
  position: relative;
  min-width: 800px;
  overflow: hidden;
}
.popup .popup-banner,
.popup .popup-banner img {
  height: 100%;
}
.popup .popup-banner .mob-banner {
  display: none;
}
.popup .popup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 32px 0;
  height: 100%;
  gap: 1.5rem;
  overflow-y: auto;
}
.popup .popup-box .popup-close {
  position: absolute;
  right: 3px;
  top: 3px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: background 0.2s ease-in-out;
  z-index: 1;
}
.popup .popup-box .popup-close:hover {
  background: rgba(255, 255, 255, 0.9);
}
.popup .popup-box .popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 90%;
}
.popup .popup-box .popup-header .popup-title {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  line-height: 34px;
}
.popup .popup-box .popup-header .popup-subtitle {
  color: #fff;
  line-height: 24px;
}
.popup .popup-box .popup-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.popup .popup-box .popup-cards .popup-card {
  max-width: 100%;
  flex: 1;
}
.popup .popup-box .popup-card {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.popup .popup-box .popup-card .popup-card-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.popup .popup-box .popup-card .popup-card-main .popup-img {
  width: 88px;
  height: 88px;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  flex: 0 0 88px;
  transition: all 0.2s ease-in-out;
}
.popup .popup-box .popup-card .popup-card-main .popup-img:hover {
  transform: scale(1.1);
}
.popup .popup-box .popup-card .popup-card-main .popup-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.popup .popup-box .popup-card .popup-card-main .popup-card-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.popup .popup-box .popup-card .popup-card-main .popup-card-text {
  color: darkred;
  font-size: 15px;
  font-weight: 600;
}
.popup .popup-box .popup-card .popup-card-main .popup-card-bonus {
  color: #333;
  font-weight: 700;
  line-height: 22px;
}
.popup
  .popup-box
  .popup-card
  .popup-card-header
  .popup-card-title
  .popup-card-rate
  img {
  max-width: 100px;
}
.popup .popup-box .popup-card .popup-btn {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 0.5rem;
  background: rgb(222, 11, 11);
  border: 2px solid #333;
  border-radius: 9999px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  width: 150px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}
.popup .popup-box .popup-card .popup-btn:hover {
  background: rgb(145, 6, 6);
}
.popup .popup-box .popup-card .mob-bonus {
  display: none;
}

@media (max-width: 1199px) {
  .popup .popup-box {
    flex-direction: column;
    align-items: normal;
    height: auto;
    padding: 0;
    overflow-y: auto;
  }
  .popup .popup-content {
    padding: 0 12px 16px;
    gap: 1rem;
  }
  .popup .popup-banner .desk-banner {
    display: none;
  }
  .popup .popup-banner {
    height: auto;
  }
  .popup .popup-banner .mob-banner {
    display: block;
    max-width: 50%;
    height: auto;
    margin: 0 auto;
  }
  .popup .popup-box .popup-card .popup-card-main .popup-card-title {
    gap: 0.25rem;
  }
  .popup .popup-box .popup-card .popup-card-main .popup-card-bonus {
    display: none;
  }
  .popup .popup-box .popup-card .popup-card-main .popup-img {
    width: 44px;
    height: 44px;
    flex: auto;
  }
  .popup .popup-box .popup-card .popup-card-main {
    gap: 0.5rem;
  }
  .popup .popup-box .popup-card {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px;
    gap: 0.5rem;
  }
  .popup .popup-box .popup-card .popup-btn {
    font-size: 12px;
    padding: 5px;
    width: 105px;
  }
  .popup .popup-box .popup-card .mob-bonus {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #333;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .main {
    padding: 85px 0 30px;
  }
  .main .cards {
    padding: 50px 0;
  }
  .main .cards .card {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 20px 38px 20px 38px;
  }
  .main .cards .card::before {
    top: 0;
    left: 0;
    font-size: 16px;
    width: 30px;
    height: 30px;
  }
  .main .cards .card__img {
    align-items: center;
    gap: 15px;
  }
  .main .cards .card__img .img {
    width: 100px;
    height: 100px;
  }
  .main .cards .card__title .rating .number {
    font-size: 12px;
  }
  .popup .popup-box {
    max-width: 90vw;
    min-width: 90%;
    min-height: auto;
  }
  .popup .popup-box .popup-card {
    max-width: 100%;
  }
  .popup .popup-box .popup-header {
    gap: 12px;
    max-width: 100%;
  }
  .popup .popup-box .popup-header .popup-title {
    font-size: 20px;
    line-height: 28px;
  }
  .popup .popup-box .popup-header .popup-subtitle {
    font-size: 14px;
  }
  .popup .popup-box .popup-card .popup-card-header {
    flex-direction: row;
    padding: 12px;
  }
  .popup .popup-box .popup-card .popup-card-header .popup-card-title {
    align-items: flex-start;
  }
  .popup .popup-box .popup-card .popup-card-footer {
    padding: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .main .content img {
    max-width: 100%;
  }
  .container {
    max-width: 100%;
  }
  .header .logo {
    font-size: 30px;
  }
  .logo img {
    max-width: 70%;
  }
}
@keyframes pulse {
  0% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 10px rgb(255, 255, 255);
  }
  100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
  }
}
