  * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: linear-gradient(135deg, #f6d365, #fda085);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .wrapper {
      width: 100%;
      max-width: 760px;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
      padding: 24px;
      text-align: center;
    }

    h1 {
      margin: 0 0 10px;
      font-size: 34px;
    }

    p {
      margin: 0 0 12px;
      color: #444;
    }

    .topbar {
      display: flex;
      justify-content: center;
      gap: 28px;
      flex-wrap: wrap;
      margin: 18px 0;
      font-size: 20px;
      font-weight: bold;
    }

    .controls {
      margin-bottom: 16px;
    }

    button {
      background: #111;
      color: #fff;
      border: 0;
      border-radius: 12px;
      padding: 14px 24px;
      font-size: 16px;
      cursor: pointer;
    }

    button:hover {
      opacity: 0.92;
    }

    .game-area {
      position: relative;
      width: 100%;
      height: 480px;
      border-radius: 20px;
      overflow: hidden;
      background: linear-gradient(to bottom, #b7e3ff 0%, #dff5ff 55%, #f7e6b2 56%, #e0c07a 100%);
      border: 3px solid rgba(0, 0, 0, 0.08);
      cursor: none;
    }

    .beer {
      position: absolute;
      font-size: 38px;
      user-select: none;
      pointer-events: none;
    }

    .bad-item {
      position: absolute;
      font-size: 34px;
      user-select: none;
      pointer-events: none;
    }

    .crate {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: 110px;
      height: 55px;
      background: #8b5a2b;
      border: 4px solid #5f3b17;
      border-radius: 10px 10px 16px 16px;
      box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12);
    }

    .crate::before,
    .crate::after {
      content: "";
      position: absolute;
      top: 10px;
      bottom: 10px;
      width: 4px;
      background: rgba(255,255,255,0.18);
    }

    .crate::before {
      left: 26px;
    }

    .crate::after {
      right: 26px;
    }

    .ground-text {
      position: absolute;
      bottom: 82px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 14px;
      color: rgba(0,0,0,0.45);
      pointer-events: none;
    }

    .message {
      margin-top: 18px;
      padding: 18px;
      border-radius: 16px;
      background: #fff7df;
      border: 2px solid #f0c75e;
      display: none;
    }

    .message.show {
      display: block;
    }

    .small {
      font-size: 14px;
      color: #666;
      margin-top: 8px;
    }

    .hint {
      font-size: 14px;
      color: #666;
      margin-top: 12px;
    }