:root {
  color-scheme: dark;
  --bg: #050403;
  --gold: #e3ad42;
  --red: #b20d16;
  --focus: #ffdc72;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(130, 13, 18, .24), transparent 42rem),
    linear-gradient(180deg, #080706 0%, #020202 100%);
  color: #fff;
  font-family: Tahoma, "Noto Sans Thai", Arial, sans-serif;
}

button,
a {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: clamp(8px, 1.3vw, 24px);
}

.artboard {
  position: relative;
  width: min(100%, 1550px);
  overflow: hidden;
  border: 1px solid rgba(226, 171, 55, .28);
  border-radius: clamp(3px, .7vw, 14px);
  background: #050403;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .9),
    0 24px 70px rgba(0, 0, 0, .7),
    0 0 55px rgba(123, 8, 12, .13);
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1550 / 815;
  overflow: hidden;
}

.artwork {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Uses the owner's real logo file over the mockup's small navigation emblem. */
.logo-shade {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.logo-shade--nav {
  top: 0;
  left: 0;
  width: 14.2%;
  height: 15.05%;
  background: linear-gradient(90deg, rgba(4, 4, 3, .98) 70%, rgba(4, 4, 3, 0));
}

.official-logo {
  position: absolute;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.official-logo--nav {
  top: .19%;
  left: .35%;
  width: 7.1%;
  height: 14.18%;
  filter:
    sepia(.35)
    saturate(1.75)
    hue-rotate(326deg)
    contrast(1.12)
    drop-shadow(0 0 6px rgba(255, 22, 34, .55));
}

.hotspot,
.news-hotspot {
  position: absolute;
  z-index: 5;
  margin: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hotspot:hover::after {
  border-color: rgba(255, 213, 91, .58);
  background: rgba(255, 180, 41, .035);
  box-shadow: inset 0 0 20px rgba(255, 149, 23, .12), 0 0 14px rgba(255, 149, 23, .16);
}

.hotspot:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -4px;
}

.hotspot--home {
  left: 35.8%;
  top: 2.24%;
  width: 8.5%;
  height: 11.82%;
}

.hotspot--nav-register {
  left: 44.25%;
  top: 2.24%;
  width: 10.1%;
  height: 11.82%;
}

.hotspot--news {
  left: 54.35%;
  top: 2.24%;
  width: 9.1%;
  height: 11.82%;
}

.hotspot--download {
  left: 63.45%;
  top: 2.24%;
  width: 13.1%;
  height: 11.82%;
}

.hotspot--status {
  left: 76.75%;
  top: 1.37%;
  width: 19.2%;
  height: 13.31%;
}

.hotspot--hero-register {
  left: 33.1%;
  top: 78.38%;
  width: 34.5%;
  height: 17.04%;
  border-radius: 18px;
}

.news-hotspots {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.15vw, 18px);
  padding: clamp(9px, 1.2vw, 18px) clamp(11px, 2.35vw, 36px) clamp(18px, 2.5vw, 38px);
  border-top: 1px solid rgba(226, 171, 55, .28);
  background:
    radial-gradient(circle at 50% 0, rgba(126, 20, 14, .18), transparent 46%),
    linear-gradient(180deg, #070605 0%, #030302 100%);
}

.news-hotspot {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 171, 55, .88);
  border-radius: clamp(3px, .45vw, 8px);
  background: #080705;
  box-shadow:
    inset 0 0 0 1px rgba(38, 18, 3, .92),
    0 0 14px rgba(211, 125, 14, .2);
  color: #fff;
  cursor: default;
  pointer-events: none;
}

.news-hotspot::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 1px solid rgba(255, 224, 139, .24);
  border-radius: inherit;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .72);
  pointer-events: none;
}

.news-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(239, 184, 72, .55);
  background: #050403;
  isolation: isolate;
}

.news-card__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -7%;
  background-position: center;
  background-size: cover;
  filter: blur(10px) brightness(.34) saturate(.8);
  opacity: .74;
}

.news-hotspot--one .news-card__media::before {
  background-image: url("../images/news-free-items.png");
}

.news-hotspot--two .news-card__media::before {
  background-image: url("../images/news-welcome-ran-dagger.png");
}

.news-hotspot--three .news-card__media::before {
  background-image: url("../images/news-giant-dog.png");
}

.news-card__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(.98) saturate(1.04) contrast(1.02);
}

.news-card__content {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: clamp(32px, 5.8vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, .65vw, 10px);
  padding: clamp(4px, .65vw, 10px) clamp(5px, .8vw, 13px);
  background: linear-gradient(90deg, rgba(13, 12, 10, .94), rgba(25, 19, 10, .88), rgba(13, 12, 10, .94));
}

.news-card__icon {
  flex: 0 0 auto;
  width: clamp(15px, 3.15vw, 48px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 184, 72, .84);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 92, 14, .42), rgba(14, 10, 6, .92) 68%);
  box-shadow: 0 0 12px rgba(230, 147, 31, .24);
  color: #f5c65e;
  font-size: clamp(8px, 1.35vw, 21px);
  line-height: 1;
}

.news-card__icon--ran {
  font-size: clamp(5px, .72vw, 11px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.news-card__title {
  min-width: 0;
  margin: 0;
  color: #f6d77e;
  font-size: clamp(6px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 2px #000, 0 0 8px rgba(214, 129, 21, .26);
}

.news-card__brand {
  color: #fff0b5;
  letter-spacing: .035em;
}

.site-domain {
  margin: 10px 0 0;
  color: rgba(238, 199, 110, .72);
  font-size: clamp(11px, .9vw, 14px);
  letter-spacing: .12em;
  text-transform: lowercase;
}

.notice {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(calc(100% - 28px), 500px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(239, 177, 51, .65);
  border-radius: 10px;
  background: rgba(16, 8, 6, .96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .55), inset 3px 0 0 #c5141f;
  color: #ffe7ad;
  font-weight: 700;
}

.notice[hidden] {
  display: none;
}

.notice button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 177, 51, .4);
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.noscript {
  position: fixed;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 8px 12px;
  background: #2a0909;
  border: 1px solid #a32a2a;
  color: #fff;
  font-size: 12px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 7px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 720px) {
  .page {
    align-content: start;
    padding: 5px;
  }

  .artboard {
    width: 100%;
    border-radius: 4px;
  }

  .site-domain {
    margin-top: 8px;
  }

  .hotspot::after {
    inset: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
