@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;
}

.header {
  width: 100%;
  background: #e9e9e9;
}
.header .logo {
  flex: 0 0 80px;
}
.header .container {
  padding: 16px 0;
  display: flex;
  justify-content: center;
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 30px 0;
  background-color: #000;
}
.main .cards {
  padding: 30px 0;
  counter-reset: card-counter;
}
.main .cards .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 70vw;
}
.main .cards .top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.main .cards .top .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 calc(33.3% - 1rem);
  padding-bottom: 16px;
}
.main .cards .top.top--single {
  flex-direction: column;
}
.main .cards .top.top--single .card {
  flex: 1 1 100%;
}
.main .cards .top .card:first-child {
  order: 2;
}
.main .cards .top .card:first-child::before {
  content: "#1 Casino le mieux classé";
  width: 100%;
  border-bottom-right-radius: 0;
  top: 0;
}
.main .cards .top .card:nth-child(2) {
  order: 1;
}
.main .cards .top .card:nth-child(3) {
  order: 3;
}
.main .cards .top .card__img {
  min-height: 200px;
}
.main .cards .top .card__bonus {
  padding: 0 16px;
}
.main .cards .card {
  display: grid;
  grid-template-columns: 0.3fr 1fr 0.3fr;
  gap: 1rem;
  border: 1px solid #d5d3db;
  background-color: #dadae9;
  color: #000;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 150px;
  counter-increment: card-counter;
}
.main .cards .card::before {
  content: counter(card-counter);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  background-color: #d4ff00;
  border-bottom-right-radius: 10px;
  color: blue;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.main .cards .card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0, 42, 205);
  gap: 20px;
}
.main .cards .card__img .img {
  position: relative;
  width: 150px;
  height: 150px;
}
.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 {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: rgb(22, 16, 139);
  font-size: 20px;
}
.main .cards .card__bonus .txt {
  font-size: 15px;
  color: #000;
}
.main .cards .card__bonus .bonus__list {
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgb(68, 68, 68);
  font-weight: 300;
}
.main .cards .card__bonus .bonus__list strong {
  font-size: 14px;
  font-weight: 600;
}
.main .cards .card__bonus .bonus__list .green {
  font-weight: 600;
  color: green;
  font-size: 14px;
}
.main .cards .card__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 16px;
}
.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: 12px;
  font-weight: 600;
  background-color: #0044ff;
  color: #fff;
  width: 160px;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}
.main .cards .card__btn a:hover {
  background-color: #0a2b87;
}
.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 .content p {
  margin: 12px 0;
}
.main .content a {
  color: #40d11b;
}
.main .content img {
  max-width: 500px;
  display: flex;
  margin: 15px auto;
}

/* ========================
   Custom offer layout (fcert)
   ======================== */
.page-fcert .main {
  background: #f4f6fb;
}
.page-fcert .main .cards {
  padding-top: 10px;
}
.page-fcert .main .cards .container {
  max-width: 1120px;
}
.page-fcert .offer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-fcert .offer-card {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 35, 52, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(211, 218, 230, 0.9);
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.page-fcert .offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 35, 52, 0.18);
  border-color: rgba(171, 192, 219, 0.9);
}
.page-fcert .offer-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 320px;
}
.page-fcert .offer-card__index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d81b60;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.page-fcert .offer-card__logo {
  flex: 0 0 64px;
}
.page-fcert .offer-card__logo-inner {
  background: radial-gradient(circle at top, #f3f5ff 0, #e2e7fb 55%, #ffffff 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  box-shadow: inset 0 0 0 1px rgba(188, 200, 230, 0.6);
}
.page-fcert .offer-card__logo-inner img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}
.page-fcert .offer-card__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-fcert .offer-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #19233a;
}
.page-fcert .offer-card__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: #55627d;
}
.page-fcert .offer-card__sub span::before {
  content: "•";
  margin-right: 4px;
}
.page-fcert .offer-card__sub span:first-child::before {
  content: "";
  margin-right: 0;
}
.page-fcert .offer-card__middle {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: #007e33;
}
.page-fcert .offer-card__bonus-text {
  text-align: left;
}
.page-fcert .offer-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 210px;
}
.page-fcert .offer-card__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #455a64;
}
.page-fcert .offer-card__stats li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-fcert .offer-card__stats .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c853;
}
.page-fcert .offer-card__cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-fcert .offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.page-fcert .offer-card__cta--primary {
  background: radial-gradient(circle at top, #00e676, #00c853);
  color: #043b1e;
  box-shadow: 0 7px 18px rgba(0, 200, 83, 0.4);
}
.page-fcert .offer-card__cta--secondary {
  background: linear-gradient(135deg, #ffffff, #e0f7f4);
  color: #00796b;
  border: 1px solid rgba(0, 150, 136, 0.5);
  box-shadow: 0 0 0 rgba(0, 150, 136, 0);
  animation: blinkSoft 1.1s ease-in-out infinite alternate;
}
.page-fcert .offer-card__cta--primary:hover,
.page-fcert .offer-card__cta--secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.page-fcert .offer-card__cta--primary:hover {
  box-shadow: 0 10px 26px rgba(0, 200, 83, 0.55);
}
.page-fcert .offer-card__cta--secondary:hover {
  border-color: rgba(0, 150, 136, 0.7);
}
.page-fcert .offer-card__cta--primary:active,
.page-fcert .offer-card__cta--secondary:active {
  transform: translateY(0);
}
.page-fcert .offer-card__cta--primary:active {
  box-shadow: 0 5px 14px rgba(0, 200, 83, 0.4);
}

@keyframes blinkSoft {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, #ffffff, #e0f7f4);
    box-shadow: 0 0 0 rgba(0, 150, 136, 0);
  }
  100% {
    opacity: 0.6;
    transform: translateY(-1px) scale(1.03);
    background: linear-gradient(135deg, #e0f7f4, #ffffff);
    box-shadow: 0 0 16px rgba(0, 150, 136, 0.6);
  }
}

@media (max-width: 960px) {
  .page-fcert .main .cards .container {
    max-width: 100%;
    padding-inline: 16px;
  }
  .page-fcert .offer-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .page-fcert .offer-card__left {
    flex: 1 1 auto;
    justify-content: center;
  }
  .page-fcert .offer-card__right {
    align-items: center;
  }
  .page-fcert .offer-card__middle {
    width: 100%;
    text-align: center;
  }
  .page-fcert .offer-card__bonus-text {
    text-align: center;
  }
  .page-fcert .offer-card__stats {
    align-items: center;
  }
  .page-fcert .offer-card__cta-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-fcert .offer-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .page-fcert .offer-card__logo-inner img {
    max-width: 150px;
  }
  .page-fcert .offer-card__name {
    font-size: 16px;
  }
  .page-fcert .offer-card__left {
    flex-direction: column;
    gap: 10px;
  }
  .page-fcert .offer-card__sub {
    justify-content: center;
  }
}

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

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

@media (max-width: 1199px) {
  .main {
    padding: 30px 0;
  }
  .main .cards {
    padding: 20px 0;
  }
  .main .cards .container {
    max-width: 100%;
  }
  .main .cards .top {
    flex-direction: column;
  }
  .main .cards .top .card:nth-child(1) {
    order: 1;
  }
  .main .cards .top .card:nth-child(2) {
    order: 2;
  }
  .main .cards .top .card:nth-child(3) {
    order: 3;
  }
  .main .cards .card {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 20px;
  }
  .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__bonus {
    padding: 0 16px;
  }
  .main .cards .card__btn {
    padding: 0 16px 16px;
  }
  .main .cards .card__title .rating .number {
    font-size: 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;
  }
  table {
    display: block;
  }
  .main .content img {
    max-width: 100%;
  }
  .container {
    max-width: 100%;
  }
  .header .logo {
    font-size: 30px;
  }
}
@keyframes punch {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
    color: gold;
  }
  100% {
    transform: scale(1);
  }
}
.punch {
  animation: punch 0.4s ease;
}