:root {
    --green: #007A33;
    --red: #C8102E;
    --white: #FFFFFF;
    --blue: #005BB5;
    --yellow: #FFCC00;
    --pink: #FF4ECA;
  }
  
  body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    margin: 0;
    overflow-x: hidden; 
  }
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    margin: 20px; 
  }
  
  .dice-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 20px 0;
  }
  
  .dice {
    width: 120px;
    height: 120px;
    background: #e8e8e8;
    border: 2px solid #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff; 
  }
  
  button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  button:hover {
    background: #0056b3;
  }
  
  #result-message {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
  }
  
  .history {
    margin-top: 20px;
    width: 100%;
    max-height: 200px; 
    overflow-y: auto; 
  }
  
  .history h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  
  #history-list {
    list-style-type: none;
    padding: 0;
  }
  
  #history-list li {
    background: #f1f1f1;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #history-list li span {
    display: flex;
    gap: 5px;
  }
  
  .color-box {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #333;
  }
  
 
  html, body {
    height: 100%; 
  }
  


  .color-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .color-buttons button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .bet-amount-buttons {
    display: flex;
    justify-content: center;
  }
  
  .bet-amount-buttons button {
    margin: 5px;
    padding: 10px 15px;
    background-color: #ddd;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .bet-amount-buttons button:hover {
    background-color: #f0e68c; 
  }
  
  .bet-display {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  