.candy {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      margin: 2px;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      border: 2px solid white;
    }
    
    .candy:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .candy.selected {
      border: 3px solid #fbbf24;
      box-shadow: 0 0 15px #fbbf24;
    }

    .candy.matched {
      animation: pop 0.5s ease;
    }

    @keyframes pop {
      0% { transform: scale(1); }
      50% { transform: scale(1.3); opacity: 0.7; }
      100% { transform: scale(0); opacity: 0; }
    }

    .candy.falling {
      animation: fall 0.5s ease;
    }

    @keyframes fall {
      0% { transform: translateY(-100px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }

    .score-popup {
      position: absolute;
      color: #f59e0b;
      font-weight: bold;
      font-size: 18px;
      pointer-events: none;
      animation: scoreUp 1s ease-out forwards;
    }

    @keyframes scoreUp {
      0% { transform: translateY(0); opacity: 1; }
      100% { transform: translateY(-50px); opacity: 0; }
    }

    .game-container {
      background: linear-gradient(135deg, #fef3c7, #fde68a, #f59e0b);
      min-height: 100vh;
      padding: 20px;
    }

    .board-container {
      background: linear-gradient(135deg, #fff, #fef3c7);
      border-radius: 20px;
      padding: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .stats-panel {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      border-radius: 15px;
      padding: 20px;
      color: white;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }