/*
Theme Name: GodWinTH Neon
Theme URI: https://www.godwinth.com/
Author: GodWinTH
Description: Mobile-first neon casino landing page for GodWinTH.
Version: 1.0.0
Text Domain: godwinth-neon
*/

:root {
  --neon-pink: #ff35db;
  --neon-purple: #741cff;
  --panel: rgba(30, 0, 79, 0.96);
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: #21005a;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 10%, #6b16d8 0, #27036c 42%, #14002f 100%);
  font-family: "Tahoma", "Noto Sans Thai", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.neon-artboard {
  position: relative;
  width: min(100%, 942px);
  margin: 0 auto;
  background: #321078;
  box-shadow: 0 0 70px rgba(255, 52, 223, 0.45);
  isolation: isolate;
}

.neon-artboard__image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border: 0;
  border-radius: 22%;
  color: transparent;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.hotspot:hover::after,
.hotspot:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 18px var(--neon-pink), inset 0 0 12px rgba(255, 255, 255, 0.45);
  outline: 0;
}

.hotspot--search { left: 81.1%; top: .7%; width: 7.7%; height: 4.2%; }
.hotspot--menu { left: 89.8%; top: .7%; width: 7.8%; height: 4.2%; }

.game-card { width: 31.3%; height: 10.9%; }
.game-card--c1 { left: 1.7%; }
.game-card--c2 { left: 34.3%; }
.game-card--c3 { left: 67.1%; }
.game-card--r1 { top: 34.3%; }
.game-card--r2 { top: 45.9%; }
.game-card--r3 { top: 56.9%; }
.game-card--r4 { top: 67.7%; }
.game-card--r5 { top: 78.0%; }

.bottom-link { top: 89.7%; height: 8.8%; border-radius: 20%; }
.bottom-link--signup { left: 1.8%; width: 20.7%; }
.bottom-link--promo { left: 22.7%; width: 19.1%; }
.bottom-link--slots { left: 41.8%; width: 18.4%; }
.bottom-link--popular { left: 60.2%; width: 20.0%; }
.bottom-link--contact { left: 80.2%; width: 18.0%; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  background: rgba(9, 0, 31, 0.76);
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.neon-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 26px;
  border: 2px solid #ff79ed;
  border-radius: 28px;
  color: #fff;
  background: var(--panel);
  box-shadow: 0 0 24px #e72cff, inset 0 0 28px rgba(145, 44, 255, 0.3);
  transform: translateY(16px) scale(.97);
  transition: transform 180ms ease;
}

.overlay.is-open .neon-panel {
  transform: none;
}

.neon-panel h2 {
  margin: 0 38px 18px 0;
  font-size: 1.6rem;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  cursor: pointer;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 2px solid #cb72ff;
  border-radius: 14px;
  color: #fff;
  outline: 0;
  background: rgba(16, 0, 48, .8);
}

.search-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 14px var(--neon-pink);
}

.neon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, #ff5fdc, #d40084);
  box-shadow: 0 0 16px rgba(255, 49, 208, .75);
  cursor: pointer;
}

.menu-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list button {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid #ff87ef;
  border-radius: 999px;
  color: #fff;
  text-align: center;
  background: rgba(38, 0, 83, .95);
  box-shadow: 0 0 18px #ff27d8;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 943px) {
  .neon-artboard {
    margin-block: 22px;
    border-radius: 26px;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
