body {
      font-family: 'Arial', sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }
    .container {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      text-align: center;
    }
    h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    #stats {
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
    }
    .stat-item {
      font-size: 1.2rem;
      background-color: #e0f7fa;
      padding: 10px 20px;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    #farm {
      display: grid;
      grid-template-columns: repeat(5, 100px);
      grid-gap: 10px;
      justify-content: center;
      margin-top: 20px;
    }
    .plot {
      width: 100px;
      height: 100px;
      border: 1px solid #ccc;
      background-color: #8B4513;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      border-radius: 5px;
      transition: transform 0.2s;
    }
    .plot:hover {
      transform: scale(1.05);
    }
    .plot.planted {
      background-color: #228B22;
    }
    #controls {
      margin-top: 20px;
    }
    .control-button {
      padding: 10px 20px;
      background-color: #1E90FF;
      color: white;
      cursor: pointer;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      margin: 5px;
      transition: background-color 0.3s;
    }
    .control-button:hover {
      background-color: #0077cc;
    }
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
    }
    .modal-content {
      background-color: white;
      margin: 15% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
      max-width: 500px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .close {
      float: right;
      cursor: pointer;
      font-size: 1.5rem;
    }
    .close:hover {
      color: #f44336;
    }
    #shop-items, #upgrade-items {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    #shop-items div, #upgrade-items div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;
      background-color: #f9f9f9;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    #shop-items button, #upgrade-items button {
      padding: 5px 10px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    #shop-items button:hover, #upgrade-items button:hover {
      background-color: #45a049;
    }
