  :root {
      --bg: #0f1724;
      --card: #0b1220;
      --accent: #FCB53B;
      --muted: #9aa4b2;
      --glass: rgba(255, 255, 255, 0.04);
      --danger: #ff6b6b;
      --success: #6bffb8;
  }

  * {
      padding: 0;
      margin: 0;
      box-sizing: border-box;
  }

  body {
      background: linear-gradient(180deg, #071020 0%, #0d1524 100%);
      color: #e6eef8;
      font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  }

  .myContainer {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
  }

  /* Header Section */
  header {
      padding: 16px;
      background: var(--bg);
      border-radius: 14px;
      box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
      margin-bottom: 16px;
  }

  .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
  }

  .brand {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .logo {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--accent), #ffd3a4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #081025;
      font-weight: 700;
  }

  .header-container .user-info {
      text-align: right;
  }

  h1 {
      font-size: 18px;
      margin: 0;
  }

  p.lead {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
  }

  /* Header Section Responsive */
  @media screen and (max-width: 768px) {
      .header-container {
          flex-direction: column;
          align-items: flex-start;
      }

      .header-container .user-info {
          text-align: left;
          width: 100%;
      }

  }

  /* Spinner App Styles */
  .app {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
      border-radius: 14px;
      box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
  }


  .layout {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 16px;
      margin-top: 16px;
  }

  .wheel-area {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 16px;
  }

  .wheel-container {
      position: relative;
      width: min(86vw, 520px);
      height: min(86vw, 520px);
      display: flex;
      align-items: center;
      justify-content: center;
  }

  #wheel {
      max-height: 520px;
      max-width: 520px;
      width: 100%;
      height: 100%;
  }

  .spinner-arrow {
      position: absolute;
      top: -0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 14px solid transparent;
      border-right: 14px solid transparent;
      border-top: 22px solid var(--accent);
      filter: drop-shadow(0 -4px 8px rgba(0, 0, 0, 0.6));
      z-index: 10;
  }

  #spin-btn {
      position: absolute;
      transform: translate(-50%, -50%);
      top: 50%;
      left: 50%;
      height: 26%;
      width: 26%;
      border-radius: 50%;
      cursor: pointer;
      border: 0;
      background: radial-gradient(var(--accent) 50%, #d88a40 85%);
      color: #081025;
      text-transform: uppercase;
      font-size: 1.2em;
      letter-spacing: 0.1em;
      font-weight: 700;
      z-index: 5;
      box-shadow: 0 6px 18px rgba(255, 153, 77, 0.3);
  }

  #spin-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
  }

  .spin-controls {
      margin-top: 14px;
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
  }

  button.ghost {
      appearance: none;
      border: 0;
      background: var(--glass);
      color: var(--muted);
      padding: 10px 12px;
      font-weight: 600;
      border-radius: 12px;
      cursor: pointer;
  }

  .panel {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
      padding: 18px;
      border-radius: 12px;
      min-height: 320px;
  }

  .points {
      font-size: 34px;
      font-weight: 800;
      margin: 6px 0;
  }

  .small {
      font-size: 13px;
      color: var(--muted);
  }

  .row {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-top: 10px;
  }

  .actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 12px;
  }

  .notice {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
      padding: 12px;
      border-radius: 10px;
      color: var(--muted);
      font-size: 13px;
      margin-top: 10px;
      width: 100%;
      max-width: 520px;
  }

  #final-value {
      font-size: 1.2em;
      text-align: center;
      margin-top: 1em;
      color: #e6eef8;
      font-weight: 500;
  }

  input {
      width: 100%;
      padding: 8px;
      margin-top: 6px;
      border-radius: 8px;
      border: 0;
      background: rgba(255, 255, 255, 0.02);
      color: inherit;
  }

  footer {
      margin-top: 12px;
      color: var(--muted);
      font-size: 13px;
  }

  @media (max-width: 880px) {
      .layout {
          grid-template-columns: 1fr;
      }

      .panel {
          order: 1;
      }

      .wheel-area {
          order: 2;
      }
  }

  @media screen and (max-width: 768px) {
      .wheel-container {
          width: min(90vw, 400px);
          height: min(90vw, 400px);
      }

      #spin-btn {
          font-size: 1em;
      }
  }