  body {
      font-family: 'Kanit', sans-serif;
      background-image: url('https://melojam.playpark.com/wp-content/uploads/2025/06/AU-Life.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  body::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
  }

  .arrow {
      transition: all 0.1s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      width: 100%;
      height: 60px;
      position: relative;
      background-color: rgba(0, 0, 0, 0.5);
  }

  .arrow.active {
      transform: scale(1.2);
      filter: brightness(1.2);
  }

  .arrow.correct {
      background-color: rgba(16, 185, 129, 0.5) !important;
  }

  .arrow.wrong {
      background-color: rgba(75, 85, 99, 0.5) !important;
      /* Changed from red to gray */
  }

  .arrow-img {
      width: 45px;
      height: 45px;
      object-fit: contain;
  }

  .radar-chart {
      position: relative;
      width: 100%;
      height: 300px;
      margin: 0 auto;
  }

  #radarChart {
      width: 100% !important;
      height: 100% !important;
      max-height: 550px;
      max-width: 550px
  }

  .radar-chart polygon {
      fill: rgba(99, 102, 241, 0.6);
      stroke: #6366f1;
      stroke-width: 2;
  }

  .radar-chart-bg {
      fill: rgba(255, 255, 255, 0.1);
      stroke: rgba(255, 255, 255, 0.3);
      stroke-width: 1;
  }

  .radar-label {
      position: absolute;
      font-size: 12px;
      color: white;
      text-align: center;
  }

  @keyframes countdown {
      0% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.5);
      }

      100% {
          transform: scale(1);
      }
  }

  .countdown-animation {
      animation: countdown 1s ease-in-out;
  }

  .confetti {
      position: absolute;
      width: 10px;
      height: 10px;
      opacity: 0;
  }

  @keyframes pulse {
      0% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.05);
      }

      100% {
          transform: scale(1);
      }
  }

  .pulse {
      animation: pulse 2s infinite;
  }

  .game-container {
      background-color: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
      border: 2px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
      width: 100%;
      /* max-width: 900px; */
      margin: 0 auto;
  }

  .audition-btn {
      background: linear-gradient(135deg, #ff6b6b, #ff3366);
      border: 2px solid #ff3366;
      box-shadow: 0 0 10px rgba(255, 51, 102, 0.7);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .audition-btn:hover {
      background: linear-gradient(135deg, #ff3366, #ff6b6b);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(255, 51, 102, 0.8);
  }

  .audition-title {
      text-shadow: 0 0 10px #ff3366, 0 0 20px #ff3366;
  }

  .arrow-container {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 10px;
      padding: 15px;
  }

  @keyframes glow {
      0% {
          filter: brightness(1);
      }

      50% {
          filter: brightness(1.3);
      }

      100% {
          filter: brightness(1);
      }
  }

  .glow-effect {
      animation: glow 2s infinite;
  }

  .gen-badge {
      display: inline-block;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-weight: bold;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .gen-alpha {
      background: linear-gradient(135deg, #60a5fa, #3b82f6);
      box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  }

  .gen-z {
      background: linear-gradient(135deg, #a78bfa, #8b5cf6);
      box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }

  .gen-y {
      background: linear-gradient(135deg, #34d399, #10b981);
      box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  }

  .gen-x {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  }

  /* .gen-boomer {
            background: linear-gradient(135deg, #f87171, #ef4444);
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
        } */
  .main-container {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 20px 0;
  }

  .game-screen-container {
      min-height: 400px;
  }

  @media (max-height: 800px) {
      .main-container {
          padding: 10px 0;
      }
  }

  /* Mobile arrow controls */
  .mobile-controls {
      display: none;
      /* เปลี่ยนจาก display: none เป็น visibility: hidden เพื่อให้สามารถควบคุมการแสดงผลได้ดีขึ้น */
      visibility: hidden;
      position: fixed;
      bottom: 20px;
      left: 0;
      right: 0;
      z-index: 100;
  }

  .mobile-arrow-btn {
      width: 84px;
      height: 84px;
      background: rgba(0, 0, 0, 0.7);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      transition: all 0.1s ease;
  }

  .mobile-arrow-btn:active {
      transform: scale(0.9);
      background: rgba(255, 51, 102, 0.7);
  }

  .mobile-arrow-img {
      width: 42px;
      /* height: 30px; */
      object-fit: contain;
  }

  /* Only show mobile controls on mobile devices */
  @media (max-width: 768px) {
      .mobile-controls {
          display: block;
      }
  }

  .logo {
      max-height: 60px;
      width: auto;
  }

  *,
  ::before,
  ::after {
      --tw-border-spacing-x: 0;
      --tw-border-spacing-y: 0;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-rotate: 0;
      --tw-skew-x: 0;
      --tw-skew-y: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-pan-x: ;
      --tw-pan-y: ;
      --tw-pinch-zoom: ;
      --tw-scroll-snap-strictness: proximity;
      --tw-gradient-from-position: ;
      --tw-gradient-via-position: ;
      --tw-gradient-to-position: ;
      --tw-ordinal: ;
      --tw-slashed-zero: ;
      --tw-numeric-figure: ;
      --tw-numeric-spacing: ;
      --tw-numeric-fraction: ;
      --tw-ring-inset: ;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-color: rgb(59 130 246 / 0.5);
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-ring-shadow: 0 0 #0000;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-colored: 0 0 #0000;
      --tw-blur: ;
      --tw-brightness: ;
      --tw-contrast: ;
      --tw-grayscale: ;
      --tw-hue-rotate: ;
      --tw-invert: ;
      --tw-saturate: ;
      --tw-sepia: ;
      --tw-drop-shadow: ;
      --tw-backdrop-blur: ;
      --tw-backdrop-brightness: ;
      --tw-backdrop-contrast: ;
      --tw-backdrop-grayscale: ;
      --tw-backdrop-hue-rotate: ;
      --tw-backdrop-invert: ;
      --tw-backdrop-opacity: ;
      --tw-backdrop-saturate: ;
      --tw-backdrop-sepia: ;
      --tw-contain-size: ;
      --tw-contain-layout: ;
      --tw-contain-paint: ;
      --tw-contain-style:
  }

  ::backdrop {
      --tw-border-spacing-x: 0;
      --tw-border-spacing-y: 0;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-rotate: 0;
      --tw-skew-x: 0;
      --tw-skew-y: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-pan-x: ;
      --tw-pan-y: ;
      --tw-pinch-zoom: ;
      --tw-scroll-snap-strictness: proximity;
      --tw-gradient-from-position: ;
      --tw-gradient-via-position: ;
      --tw-gradient-to-position: ;
      --tw-ordinal: ;
      --tw-slashed-zero: ;
      --tw-numeric-figure: ;
      --tw-numeric-spacing: ;
      --tw-numeric-fraction: ;
      --tw-ring-inset: ;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-color: rgb(59 130 246 / 0.5);
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-ring-shadow: 0 0 #0000;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-colored: 0 0 #0000;
      --tw-blur: ;
      --tw-brightness: ;
      --tw-contrast: ;
      --tw-grayscale: ;
      --tw-hue-rotate: ;
      --tw-invert: ;
      --tw-saturate: ;
      --tw-sepia: ;
      --tw-drop-shadow: ;
      --tw-backdrop-blur: ;
      --tw-backdrop-brightness: ;
      --tw-backdrop-contrast: ;
      --tw-backdrop-grayscale: ;
      --tw-backdrop-hue-rotate: ;
      --tw-backdrop-invert: ;
      --tw-backdrop-opacity: ;
      --tw-backdrop-saturate: ;
      --tw-backdrop-sepia: ;
      --tw-contain-size: ;
      --tw-contain-layout: ;
      --tw-contain-paint: ;
      --tw-contain-style:
  }

  /* ! tailwindcss v3.4.16 | MIT License | https://tailwindcss.com */
  *,
  ::after,
  ::before {
      box-sizing: border-box;
      border-width: 0;
      border-style: solid;
      border-color: #e5e7eb
  }

  ::after,
  ::before {
      --tw-content: ''
  }

  :host,
  html {
      line-height: 1.5;
      -webkit-text-size-adjust: 100%;
      -moz-tab-size: 4;
      tab-size: 4;
      font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
      font-feature-settings: normal;
      font-variation-settings: normal;
      -webkit-tap-highlight-color: transparent
  }

  body {
      margin: 0;
      line-height: inherit
  }

  hr {
      height: 0;
      color: inherit;
      border-top-width: 1px
  }

  abbr:where([title]) {
      -webkit-text-decoration: underline dotted;
      text-decoration: underline dotted
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
      font-size: inherit;
      font-weight: inherit
  }

  a {
      color: inherit;
      text-decoration: inherit
  }

  b,
  strong {
      font-weight: bolder
  }

  code,
  kbd,
  pre,
  samp {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-feature-settings: normal;
      font-variation-settings: normal;
      font-size: 1em
  }

  small {
      font-size: 80%
  }

  sub,
  sup {
      font-size: 75%;
      line-height: 0;
      position: relative;
      vertical-align: baseline
  }

  sub {
      bottom: -.25em
  }

  sup {
      top: -.5em
  }

  table {
      text-indent: 0;
      border-color: inherit;
      border-collapse: collapse
  }

  button,
  input,
  optgroup,
  select,
  textarea {
      font-family: inherit;
      font-feature-settings: inherit;
      font-variation-settings: inherit;
      font-size: 100%;
      font-weight: inherit;
      line-height: inherit;
      letter-spacing: inherit;
      color: inherit;
      margin: 0;
      padding: 0
  }

  button,
  select {
      text-transform: none
  }

  button,
  input:where([type=button]),
  input:where([type=reset]),
  input:where([type=submit]) {
      -webkit-appearance: button;
      background-color: transparent;
      background-image: none
  }

  :-moz-focusring {
      outline: auto
  }

  :-moz-ui-invalid {
      box-shadow: none
  }

  progress {
      vertical-align: baseline
  }

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
      height: auto
  }

  [type=search] {
      -webkit-appearance: textfield;
      outline-offset: -2px
  }

  ::-webkit-search-decoration {
      -webkit-appearance: none
  }

  ::-webkit-file-upload-button {
      -webkit-appearance: button;
      font: inherit
  }

  summary {
      display: list-item
  }

  blockquote,
  dd,
  dl,
  figure,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  hr,
  p,
  pre {
      margin: 0
  }

  fieldset {
      margin: 0;
      padding: 0
  }

  legend {
      padding: 0
  }

  menu,
  ol,
  ul {
      list-style: none;
      margin: 0;
      padding: 0
  }

  dialog {
      padding: 0
  }

  textarea {
      resize: vertical
  }

  input::placeholder,
  textarea::placeholder {
      opacity: 1;
      color: #9ca3af
  }

  [role=button],
  button {
      cursor: pointer
  }

  :disabled {
      cursor: default
  }

  audio,
  canvas,
  embed,
  iframe,
  img,
  object,
  svg,
  video {
      display: block;
      vertical-align: middle
  }

  img,
  video {
      max-width: 100%;
      height: auto
  }

  [hidden]:where(:not([hidden=until-found])) {
      display: none
  }

  .container {
      width: 100%
  }

  @media (min-width: 640px) {
      .container {
          max-width: 640px
      }
  }

  @media (min-width: 768px) {
      .container {
          max-width: 768px
      }
  }

  @media (min-width: 1024px) {
      .container {
          max-width: 1024px
      }
  }

  @media (min-width: 1280px) {
      .container {
          max-width: 1280px
      }
  }

  @media (min-width: 1536px) {
      .container {
          max-width: 1536px
      }
  }

  .relative {
      position: relative
  }

  .z-10 {
      z-index: 10
  }

  .mx-auto {
      margin-left: auto;
      margin-right: auto
  }

  .mb-10 {
      margin-bottom: 2.5rem
  }

  .mb-2 {
      margin-bottom: 0.5rem
  }

  .mb-3 {
      margin-bottom: 0.75rem
  }

  .mb-4 {
      margin-bottom: 1rem
  }

  .mb-6 {
      margin-bottom: 1.5rem
  }

  .mb-8 {
      margin-bottom: 2rem
  }

  .mr-2 {
      margin-right: 0.5rem
  }

  .mt-4 {
      margin-top: 1rem
  }

  .mt-6 {
      margin-top: 1.5rem
  }

  .mt-8 {
      margin-top: 2rem
  }

  .flex {
      display: flex
  }

  .grid {
      display: grid
  }

  .hidden {
      display: none
  }

  .h-16 {
      height: 4rem
  }

  .h-24 {
      height: 6rem
  }

  .h-3 {
      height: 0.75rem
  }

  .h-5 {
      height: 1.25rem
  }

  .w-16 {
      width: 4rem
  }

  .w-5 {
      width: 1.25rem
  }

  .w-full {
      width: 100%
  }

  .max-w-6xl {
      max-width: 72rem
  }

  .grid-cols-1 {
      grid-template-columns: repeat(1, minmax(0, 1fr))
  }

  .grid-cols-8 {
      grid-template-columns: repeat(8, minmax(0, 1fr))
  }

  .flex-wrap {
      flex-wrap: wrap
  }

  .items-center {
      align-items: center
  }

  .justify-center {
      justify-content: center
  }

  .justify-between {
      justify-content: space-between
  }

  .gap-3 {
      gap: 0.75rem
  }

  .gap-4 {
      gap: 1rem
  }

  .gap-6 {
      gap: 1.5rem
  }

  .gap-8 {
      gap: 2rem
  }

  .space-y-4> :not([hidden])~ :not([hidden]) {
      --tw-space-y-reverse: 0;
      margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
      margin-bottom: calc(1rem * var(--tw-space-y-reverse))
  }

  .rounded-full {
      border-radius: 9999px
  }

  .rounded-xl {
      border-radius: 0.75rem
  }

  .border {
      border-width: 1px
  }

  .border-white\/10 {
      border-color: rgb(255 255 255 / 0.1)
  }

  .bg-black {
      --tw-bg-opacity: 1;
      background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1))
  }

  .bg-black\/50 {
      background-color: rgb(0 0 0 / 0.5)
  }

  .bg-blue-600 {
      --tw-bg-opacity: 1;
      background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1))
  }

  .bg-green-400 {
      --tw-bg-opacity: 1;
      background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1))
  }

  .bg-green-600 {
      --tw-bg-opacity: 1;
      background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1))
  }

  .bg-pink-500 {
      --tw-bg-opacity: 1;
      background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1))
  }

  .bg-pink-600 {
      --tw-bg-opacity: 1;
      background-color: rgb(219 39 119 / var(--tw-bg-opacity, 1))
  }

  .bg-white\/20 {
      background-color: rgb(255 255 255 / 0.2)
  }

  .object-contain {
      object-fit: contain
  }

  .p-6 {
      padding: 1.5rem
  }

  .px-10 {
      padding-left: 2.5rem;
      padding-right: 2.5rem
  }

  .px-4 {
      padding-left: 1rem;
      padding-right: 1rem
  }

  .px-8 {
      padding-left: 2rem;
      padding-right: 2rem
  }

  .py-10 {
      padding-top: 2.5rem;
      padding-bottom: 2.5rem
  }

  .py-2 {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem
  }

  .py-24 {
      padding-top: 6rem;
      padding-bottom: 6rem
  }

  .py-3 {
      padding-top: 0.75rem;
      padding-bottom: 0.75rem
  }

  .py-4 {
      padding-top: 1rem;
      padding-bottom: 1rem
  }

  .text-center {
      text-align: center
  }

  .text-2xl {
      font-size: 1.5rem;
      line-height: 2rem
  }

  .text-3xl {
      font-size: 1.875rem;
      line-height: 2.25rem
  }

  .text-4xl {
      font-size: 2.25rem;
      line-height: 2.5rem
  }

  .text-6xl {
      font-size: 3.75rem;
      line-height: 1
  }

  .text-9xl {
      font-size: 8rem;
      line-height: 1
  }

  .text-lg {
      font-size: 1.125rem;
      line-height: 1.75rem
  }

  .text-sm {
      font-size: 0.875rem;
      line-height: 1.25rem
  }

  .text-xl {
      font-size: 1.25rem;
      line-height: 1.75rem
  }

  .font-bold {
      font-weight: 700
  }

  .text-white {
      --tw-text-opacity: 1;
      color: rgb(255 255 255 / var(--tw-text-opacity, 1))
  }

  .text-white\/70 {
      color: rgb(255 255 255 / 0.7)
  }

  .shadow-lg {
      --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
      box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
  }

  .drop-shadow-lg {
      --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
      filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
  }

  .transition-all {
      transition-property: all;
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
      transition-duration: 150ms
  }

  .duration-300 {
      transition-duration: 300ms
  }

  .hover\:bg-blue-700:hover {
      --tw-bg-opacity: 1;
      background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1))
  }

  .hover\:bg-gray-800:hover {
      --tw-bg-opacity: 1;
      background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1))
  }

  .hover\:bg-green-500:hover {
      --tw-bg-opacity: 1;
      background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1))
  }

  .hover\:bg-green-700:hover {
      --tw-bg-opacity: 1;
      background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1))
  }

  .hover\:bg-pink-700:hover {
      --tw-bg-opacity: 1;
      background-color: rgb(190 24 93 / var(--tw-bg-opacity, 1))
  }

  @media (min-width: 768px) {
      .md\:grid-cols-2 {
          grid-template-columns: repeat(2, minmax(0, 1fr))
      }

      .md\:p-8 {
          padding: 2rem
      }

      .md\:py-16 {
          padding-top: 4rem;
          padding-bottom: 4rem
      }

      .md\:py-32 {
          padding-top: 8rem;
          padding-bottom: 8rem
      }

      .md\:text-5xl {
          font-size: 3rem;
          line-height: 1
      }
  }


