/* ==========================================================================
   LIKEGAME999 landing page — plain CSS (converted from Nuxt + Tailwind)

   1rem = 14px (html font-size), so every rem value matches the original.
   Breakpoints (min-width), same as the original tailwind.config.js:
     428px  container step        1024px  lg / container step
     768px  "sm" (PC navbar)      1280px  xl / container step
     820px  "md" (desktop layout) 1536px  2xl / container step
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Noto Sans";
  src: local("Noto Sans"), url("../fonts/NotoSansThai-Medium.ttf") format("truetype");
  font-display: swap;
}

/* Arrow icons of the banner carousel (font from slick-carousel) */
@font-face {
  font-family: "slick";
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAATsAA0AAAAAB2wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAE0AAAABoAAAAcdIcYB0dERUYAAAS0AAAAHAAAAB4AJwANT1MvMgAAAZwAAABRAAAAYFAQ/45jbWFwAAACAAAAAFcAAAFiIhFFt2dhc3AAAASsAAAACAAAAAj//wADZ2x5ZgAAAmgAAAE1AAACLD+btmBoZWFkAAABMAAAAC8AAAA2AAEx+2hoZWEAAAFgAAAAHAAAACQD5QIFaG10eAAAAfAAAAAQAAAAFgZKAEpsb2NhAAACWAAAABAAAAAQATYBoG1heHAAAAF8AAAAHQAAACAASwBHbmFtZQAAA6AAAADcAAABbgUngcJwb3N0AAAEfAAAAC4AAABFOXjBpHjaY2BkYGAA4vMGfuHx/DZfGbiZGEDgfGFFPZxWZVBlvM14G8jlYABLAwAT1QnNAHjaY2BkYGC8zcDAoMfEAAJANiMDKmABADBkAe942mNgZGBgYGdwYWBiAAEQycgAEnMA8xkACcgAkwAAAHjaY2BmYmCcwMDKwMDow5jGwMDgDqW/MkgytDAwMDGwcjKAQQNQCZBSYICCgDTXFAYHhkTFSYwP/j9g0GO8/f82A0QNA+NtsBIFBkYANHMN4wAAAHjaY2KAACYIVoVAAALCAJt42mNgYGBmgGAZBkYGEIgB8hjBfBYGByDNw8DBwARkMzAkKigpTlCc9P8/WB0S7/+i+4/uld4rgZoAB4xsDHAhRiYgwcSApoCBcsBMBTNYGGgGAEdEDyUAAAAAAAAAAAAAZgCKANABFnjadZBdToNAEMd3CrtAl5TQLtS0LCoN0A8SGkBI+mAfPET75B1896HppfQcvnII4w3cLYpW6k4ymdn9z8xvBwEKUQg11OgBIXAYWUEQR1uIZoFGpLGxKy3PqrIq8+waXIfJ+5mQSSvkvXwRqqocu1D39QMl2JgvN9zzhsyk1GRDz+OBfzMioCqx0rtdLYo0SiZTZttsOkmidBkveKibFF4Oep9SI46bqk3Twhp4iihUemrMWFPy2NRbthfqKkHi/PxlJLITZdAiSj6ouZ+tn9eZz78DuD9LZYB6bZ8rlCAUVuVdkULjxV4sIEysIc/KSyPmnJDdjhCOdQ0fCTliTX/tjH3ysWao+71qaNjHQjcQwrcuyl+WLZQthCMotJP/h+Xjazz+hfTeRWmG4zOiSyif/q1OtAAAAHjabY49asNAEIU/2ZJDfkiRIvXapUFCEqpcptABUrg3ZhEiQoKVfY9UqVLlGDlADpAT5e16IUWysMz3hjfzBrjjjQT/EjKpCy+4YhN5yZoxcirPe+SMWz4jr6S+5UzSa3VuwpTnBfc8RF7yxDZyKs9r5IxHPiKv1P9iZqDnyAvMQ39UecbScVb/gJO03Xk4CFom3XYK1clhMdQUlKo7/d9NF13RkIdfy+MV7TSe2sl11tRFaXYmJKpWTd7kdVnJ8veevZKc+n3I93t9Jnvr5n4aTVWU/0z9AI2qMkV42mNgYkAGjAzogB0sysTgwtDOyMTIzJlYVJRfnpOaVsIFZhVlpmeUAABuKQkSAAAAAAAB//8AAnjaY2BkYGDgAWIxIGZiYARCNiBmAfMYAAPgADV42mNgYGBkAIKrS9Q5QPT5wop6GA0APf8GGAAA)
    format('woff');
}

/* ---------- Variables ---------- */
:root {
  --site-bg: rgb(51, 31, 31);
  --text-light: #fff;
  --footer-link-bg: #331f1f;
  --banner-border: #98701f;
  --bottom-nav-from: #000;
  --bottom-nav-to: #451a03;
}

/* ---------- Base / reset ---------- */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  word-spacing: 1px;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
}

h1 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  text-transform: none;
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

img {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* ---------- Helpers ---------- */
.img-fluid {
  width: 100%;
}

/* section background image (url is set inline in the HTML) */
.bg-cover {
  background-size: cover;
  background-position: center;
}

/* centred container that grows with the breakpoints */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

@media (min-width: 428px) {
  .container {
    max-width: 428px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-right: 8rem;
    padding-left: 8rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-right: 12rem;
    padding-left: 12rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding-right: 14rem;
    padding-left: 14rem;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* ---------- Page wrappers ---------- */
.site {
  background-color: var(--site-bg);
}

.page {
  width: 100%;
  min-height: 100vh;
}

.section {
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

/* Mobile (< 768px) */
.nav-mobile {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-mobile__brand {
  display: flex;
  align-items: center;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.nav-mobile__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  padding: 0.5rem;
}

.nav-mobile__logo-link {
  display: flex;
}

.nav-mobile__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}

.nav-mobile__btn {
  width: 7rem;
}

/* PC (>= 768px) */
.nav-pc {
  display: none;
  margin-right: auto;
  margin-left: auto;
}

.nav-pc__inner {
  display: flex;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.nav-pc__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  padding: 0.5rem;
}

.nav-pc__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.nav-pc__btn {
  display: inline-flex;
  white-space: nowrap;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
  padding: 1rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }

  .nav-pc {
    display: flex;
  }
}

@media (min-width: 820px) {
  .nav-pc__logo {
    width: 20%;
  }

  .nav-pc__btn {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}

/* ==========================================================================
   Section 01 — hero
   ========================================================================== */
.hero__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hero__row,
.promo__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.hero__col {
  width: 100%;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__logo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 66.666667%;
}

.hero__logo-img {
  width: 100%;
  z-index: 20;
}

.hero__card {
  position: absolute;
  width: 4rem;
  animation: bounce 1s infinite;
}

.hero__card--left {
  bottom: 0;
  left: -1.5rem;
}

.hero__card--right {
  top: 0;
  right: -1.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.hero__text {
  width: 100%;
  text-align: center;
}

.hero__cta {
  width: 50%;
  text-align: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__pic {
  width: 100%;
  z-index: 10;
}

.hero__gold {
  position: absolute;
  top: 1rem;
  width: 66.666667%;
}

.anigirl {
  animation: anigirl 8s ease 0s infinite normal none;
}

@media (min-width: 820px) {
  .hero__row,
  .promo__row {
    flex-direction: row;
  }

  .hero__card {
    width: 6rem;
  }
}

/* ==========================================================================
   Section 02 — features
   ========================================================================== */
.features__inner {
  padding: 1rem 2rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.features__item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 66.666667%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 820px) {
  .features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-right: 6rem;
    padding-left: 6rem;
  }
}

/* ==========================================================================
   Section 03 — promo
   ========================================================================== */
.promo__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.promo__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.promo__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: -5rem;
}

.promo__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.promo__btn {
  width: 50%;
  padding-right: 2rem;
  padding-left: 2rem;
}

@media (min-width: 820px) {
  .promo__content {
    margin-top: 0;
  }
}

/* ==========================================================================
   Section 04 — banner carousel
   ========================================================================== */
.banner__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.banner__logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner__logo {
  width: 33.333333%;
  margin-right: auto;
  margin-left: auto;
}

.banner__frame {
  position: relative;
  width: 100%;
}

.banner__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  width: 91.666667%;
}

/* Carousel — markup and behaviour mirror vue-slick-carousel */
.carousel {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  width: 100%;
}

.carousel__slider {
  position: relative;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.carousel__list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transform: translateZ(0);
}

.carousel__track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  transform: translateZ(0);
}

.carousel__track::before,
.carousel__track::after {
  content: "";
  display: table;
}

.carousel__track::after {
  clear: both;
}

/* width is set in px by main.js; 1/3 is the no-JS fallback */
.carousel__slide {
  float: left;
  width: 33.333333%;
  height: 100%;
  min-height: 1px;
}

.carousel__slide img {
  -webkit-user-drag: none;
}

.carousel__cell {
  display: inline-block;
  width: 100%;
}

.carousel__card {
  margin-right: 1rem;
  margin-left: 1rem;
  border: 2px solid var(--banner-border);
  border-radius: 1rem;
}

/* arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  transform: translate(0, -50%);
  font-size: 0;
  line-height: 0;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.carousel__arrow::before {
  font-family: "slick";
  font-size: 20px;
  line-height: 1;
  color: #fff;
  opacity: 0.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.carousel__arrow:hover::before,
.carousel__arrow:focus::before {
  opacity: 1;
}

.carousel__arrow--prev {
  left: -25px;
}

.carousel__arrow--prev::before {
  content: "←";
}

.carousel__arrow--next {
  right: -25px;
}

.carousel__arrow--next::before {
  content: "→";
}

/* dots */
.carousel__dots {
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  text-align: center;
}

.carousel__dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 25px 1px;
  cursor: pointer;
}

.carousel__dots button {
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.carousel__dots button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 100%;
  opacity: 0.25;
}

.carousel__dots button:hover::before,
.carousel__dots button:focus::before {
  opacity: 1;
}

.carousel__dots li.is-active button::before {
  opacity: 0.75;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  width: 100%;
  margin-bottom: 6rem; /* room for the fixed bottom nav on mobile */
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer__inner {
  width: 100%;
  padding: 1rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  color: var(--text-light);
}

.footer__brand {
  width: 100%;
  text-align: center;
}

.footer__logo {
  padding-bottom: 0.5rem;
}

.footer__logo-img {
  width: 75%;
  margin-right: auto;
  margin-left: auto;
}

.footer__tagline {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
}

.footer__col {
  width: 100%;
}

.footer__menu,
.footer__pay-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer__link {
  width: 33.333333%;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  padding: 0.5rem;
  background-color: var(--footer-link-bg);
  border-radius: 9999px;
  text-align: center;
}

.footer__pay-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
}

.footer__banks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  padding-right: 4rem;
  padding-left: 4rem;
}

.footer__bank {
  width: 3rem;
  height: 3rem;
  margin: 0.375rem;
  border-radius: 9999px;
}

@media (min-width: 820px) {
  .footer {
    margin-bottom: 0;
  }

  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-right: 13rem;
    margin-left: 13rem;
  }

  .footer__brand {
    text-align: left;
  }

  .footer__logo-img {
    margin-left: 0;
  }

  .footer__banks {
    padding-right: 0;
    padding-left: 0;
  }
}

/* ==========================================================================
   Mobile bottom nav (< 820px)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  z-index: 10;
  display: flex;
  width: 100%;
}

.bottom-nav__bar {
  display: flex;
  width: 100%;
  background-image: linear-gradient(to bottom, var(--bottom-nav-from), var(--bottom-nav-to));
}

.bottom-nav__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.bottom-nav__link--center {
  padding: 0;
}

.bottom-nav__center-img {
  width: 25rem;
}

.bottom-nav__label {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

@media (min-width: 820px) {
  .bottom-nav {
    display: none;
  }
}

/* ==========================================================================
   Fixed LINE support button
   ========================================================================== */
.line-support {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 100;
  display: grid;
  gap: 0.5rem;
  transform: translateY(-50%);
}

.line-support__link {
  padding: 0.25rem;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  text-align: center;
  transition-duration: 200ms;
}

.line-support__img {
  width: 3rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes anigirl {
  49.6% {
    transform: translate(0px, 0px) scale(1.2);
  }
}
