 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    
    .container {
      background: white;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      max-width: 500px;
      width: 100%;
    }
    
    h1 {
      text-align: center;
      color: #667eea;
      margin-bottom: 25px;
      font-size: 2em;
    }
    
    .stats {
      background: #f7f7f7;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 20px;
    }
    
    .stat-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-size: 1.1em;
    }
    
    .stat-row:last-child {
      margin-bottom: 0;
    }
    
    .stat-label {
      font-weight: 600;
      color: #555;
    }
    
    .stat-value {
      font-weight: 700;
      color: #667eea;
    }
    
    .progress-bar {
      width: 100%;
      height: 25px;
      background: #e0e0e0;
      border-radius: 12px;
      overflow: hidden;
      margin-top: 8px;
      position: relative;
    }
    
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #667eea, #764ba2);
      transition: width 0.3s ease;
      border-radius: 12px;
    }
    
    .progress-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-weight: 600;
      color: #333;
      font-size: 0.85em;
    }
    
    .actions {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }
    
    button {
      flex: 1;
      padding: 15px;
      font-size: 1em;
      font-weight: 600;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
      color: white;
    }
    
    #eatBtn {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
    
    #eatBtn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
    }
    
    #digestBtn {
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }
    
    #digestBtn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
    }
    
    .upgrades {
      background: #f7f7f7;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 20px;
    }
    
    .upgrades h3 {
      margin-bottom: 15px;
      color: #555;
    }
    
    .upgrade-item {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
      padding: 12px;
      background: white;
      border-radius: 8px;
      transition: all 0.2s;
    }
    
    .upgrade-item:hover {
      transform: translateX(5px);
    }
    
    .upgrade-price {
      background: #667eea;
      color: white;
      padding: 5px 12px;
      border-radius: 20px;
      font-weight: 700;
      min-width: 70px;
      text-align: center;
    }
    
    .upgrade-btn {
      flex: 1;
      padding: 10px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      font-size: 0.9em;
    }
    
    .upgrade-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }
    
    .upgrade-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
    
    .upgrade-count {
      background: #764ba2;
      color: white;
      padding: 5px 12px;
      border-radius: 20px;
      font-weight: 700;
      min-width: 40px;
      text-align: center;
    }
    
    .milestone {
      text-align: center;
      padding: 15px;
      background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
      border-radius: 12px;
      font-size: 1.2em;
      font-weight: 700;
      color: #555;
        }
     .milestone-progress {
      width: 100%;
      height: 20px;
      background: #e0e0e0;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 10px;
      position: relative;
    }

    .milestone-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #ffecd2, #fcb69f);
      transition: width 0.3s ease;
      border-radius: 10px;
    }

    .milestone-progress-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-weight: 600;
      color: #555;
      font-size: 0.75em;
    }

    .popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      background: white;
      padding: 30px 40px;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      z-index: 1000;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .popup.show {
      transform: translate(-50%, -50%) scale(1);
      animation: bounce 0.5s ease;
    }

    @keyframes bounce {
      0%, 100% { transform: translate(-50%, -50%) scale(1); }
      50% { transform: translate(-50%, -50%) scale(1.1); }
    }

    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .popup-overlay.show {
      opacity: 1;
      pointer-events: all;
    }

    .popup h2 {
      color: #667eea;
      margin-bottom: 15px;
      font-size: 2em;
    }

    .popup p {
      color: #555;
      font-size: 1.1em;
      margin-bottom: 20px;
    }

    .popup button {
      padding: 12px 30px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 1em;
      font-weight: 600;
      cursor: pointer;
    }

    .popup button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}