/* Basic reset and font */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #f0f0f0;
  }
  
  /* Container with a 9:16 aspect ratio */
  .container {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    position: relative;
    aspect-ratio: 9 / 21;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
  }
  
  /* Controls styling */
  .controls {
    margin-bottom: 10px;
  }
  .controls label {
    display: block;
    margin-bottom: 10px;
  }
  .controls select {
    width: 100%;
    padding: 5px;
    font-size: 16px;
  }
  
  /* Generate button styling */
  .generate-container {
    margin-bottom: 10px;
  }
  .generate-container button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
  }
  
  .generate-container button:hover {
    background: #218838;
  }
  
  .generate-container button:active {
    background: #1e7e34;
    transform: scale(0.98);
  }
  
  /* Results styling */
  .results {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    max-height: 45%;
    overflow-y: auto;
    margin-bottom: 70px; /* leave room for buttons at bottom */
  }
  
  .lottery-set {
    margin-bottom: 15px;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  /* Ball styling: generated numbers in orange-yellow circles */
  .ball {
    display: inline-block;
    background: #d38f2f; /* orange-yellow */
    color: #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 5px;
    font-weight: bold;
    font-size: 16px;
  }
  
  /* Bonus ball: red circle */
  .bonus-ball {
    background: #ca2a3a; /* red */
    color: #ffffff;
  }
  
  /* Buttons container fixed at bottom */
  .buttons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .buttons button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #007BFF;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
  }
  
  .buttons button:hover {
    background: #0056b3;
  }
  
  .buttons button:active {
    background: #003f7f;
    transform: scale(0.98);
  }
  
  .buttons button img {
    display: block;
    margin: 0 auto;
    width: 40%;
    height: auto;
  }
  