.ez-site-footer {
  padding-block: clamp(56px, 7vw, 96px) 28px;
  color: #f5f8ff;
  font: 400 15px/1.65 "Noto Sans Thai", Tahoma, sans-serif;
}
.ez-footer-wrap {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.ez-site-footer :is(h2, p, ul) { margin: 0; }
.ez-site-footer ul { list-style: none; padding: 0; }
.ez-site-footer a { color: inherit; text-decoration: none; }
.ez-site-footer a:focus-visible { outline: 2px solid #62c7ff; outline-offset: 3px; }
.ez-site-footer svg {
  display: block;
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ez-footer-cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-items: center;
  min-height: 312px;
  padding: 40px 24px;
  border: 1px solid #233650;
  border-radius: 24px;
  background: #0d1624;
  text-align: center;
}
.ez-footer-cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at center, #07101df5 4%, #07101de6 30%, #07101d92 76%, #07101da8);
  content: "";
}
.ez-footer-wall {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 12px;
  width: max(770px, 112%);
  transform: translate(-50%, -50%) rotate(-7deg);
  pointer-events: none;
}
.ez-footer-covers {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  transform: translateX(-2.5%);
}
.ez-footer-covers:nth-child(even) { transform: translateX(2.5%); }
.ez-footer-covers img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 334 / 410;
  border-radius: 12px;
  background: #152338;
  object-fit: cover;
}
.ez-footer-cta-copy { min-width: 0; }
.ez-footer-cta h2 { font-size: clamp(28px, 3.35vw, 46px); font-weight: 700; line-height: 1.35; }
.ez-footer-cta p { margin-top: 8px; color: #d7e3f2; font-size: clamp(15px, 1.35vw, 17px); }
.ez-footer-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.ez-footer-cta .ez-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 23px;
  border: 1px solid #6682a2;
  border-radius: 8px;
  background: #142236;
  color: #fff;
  font-weight: 700;
}
.ez-footer-cta .ez-footer-button:hover { background: #253b57; }
.ez-footer-cta .ez-footer-button-primary { background: #0865e5; border-color: #0865e5; }
.ez-footer-cta .ez-footer-button-primary:hover { background: #0756c5; border-color: #0756c5; }

.ez-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.7fr);
  gap: clamp(32px, 5.5vw, 76px);
  padding-block: 40px;
}
.ez-footer-brand .ez-site-brand { display: inline-block; }
.ez-footer-brand p { max-width: 34ch; margin-top: 12px; color: #b0bed1; }
.ez-footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ez-footer-brand .ez-footer-socials { margin-top: 15px; }
.ez-footer-socials .ez-footer-social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #101c2c;
  color: #dbeeff;
}
.ez-footer-socials a:hover { background: #253b57; }
.ez-footer-socials span.ez-footer-social { color: #93a5bc; }
.ez-footer-socials svg { width: 20px; height: 20px; }
.ez-footer-support svg { width: 14px; height: 14px; }
.ez-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
.ez-footer-menu h2 { margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.ez-footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  color: #b0bed1;
}
.ez-footer-menu a:hover, .ez-footer-support a:hover { color: #f5f8ff; text-decoration: underline; }

.ez-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px 20px;
  border: 1px solid #22334a;
  border-radius: 14px;
  background: #0d1624;
  font-size: 14px;
}
.ez-footer-support {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ez-footer-age {
  display: grid;
  place-content: center;
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font: 700 15px/1 Arial, sans-serif;
}
.ez-footer-age span {
  position: absolute;
  top: -4px;
  right: -4px;
  padding: 0 2px;
  background: #0d1624;
  font-size: 13px;
}
.ez-footer-support a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
}
.ez-footer-support a svg { color: #9fd9ff; }
.ez-footer-notice { color: #b0bed1; text-align: end; }
.ez-footer-notice small { color: #899bb3; font-size: inherit; }

@media (max-width: 1023px) {
  .ez-footer-wrap { width: calc(100% - 48px); }
  .ez-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.35fr); gap: 28px; }
  .ez-footer-nav { gap: 16px; }
}
@media (max-width: 700px) {
  .ez-footer-wrap { width: calc(100% - 36px); }
  .ez-footer-cta { min-height: 270px; padding: 28px 16px; border-radius: 18px; }
  .ez-footer-cta::after { background: radial-gradient(ellipse at center, #07101df0 22%, #07101dc9 66%, #07101d91); }
  .ez-footer-main { grid-template-columns: 1fr; padding-block: 30px; }
  .ez-footer-brand p { max-width: 42ch; }
  .ez-footer-menu a { min-height: 44px; }
  .ez-footer-notice { text-align: start; }
}
@media (max-width: 430px) {
  .ez-footer-actions { flex-direction: column; align-items: stretch; max-width: 245px; margin-inline: auto; gap: 8px; }
  .ez-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .ez-footer-nav .ez-footer-menu:last-child { grid-column: 1 / -1; }
  .ez-footer-nav .ez-footer-menu:last-child ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .ez-footer-legal { gap: 6px; padding-inline: 14px; }
}
