body {
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  width: 100%;
    margin: 0; 
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-panel {
    position: fixed;
    bottom: 60px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: none;
    z-index: 1000;
    width: 200px;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.settings-panel h3 {
    margin-top: 0;
}

.options {
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.options:hover {
    transform: scale(1.1);
}

.home-page {
    background-image: url("../images/background2.1.2.0.jpeg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.home-overlay {
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 40px;
    border-radius: 12px;
    text-align: center;
        align-items: center;
    justify-content: space-evenly;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.home-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.home-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.home-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-input {
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    width: 250px;
    margin: 0 auto;
}

.home-button {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #1e8449;
}

.bet-container {
    text-align: center;
    margin-top: 20px;
}

.current-money {
    font-size: 24px;
    font-weight: bold;
}

.bet-form {
    margin-top: 20px;
}

.bet-input {
    padding: 10px;
    font-size: 16px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bet-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.bet-button:hover {
    background-color: #0056b3;
}

.argentina {
    position:absolute;
    bottom:0;
    left:0;
}

/* CHIP WRAPPER  ─ put image & text in a vertical stack */
.chip {
  position: relative;          /* keep existing */
  display: flex;               /* ⤵︎ centre image + text */
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* LABEL UNDER THE IMAGE */
.chip-value {
  margin-top: 4px;             /* bit of breathing room */
  font-size: 18px;
  font-weight: 600;
  color: #fff;                 /* bright against dark bg */
  pointer-events: none;        /* clicks still hit the chip */
  text-shadow: 0 0 4px rgba(0,0,0,.7);  /* readable on any bg */
}

/* keep your existing hover / active rules exactly the same */
.chip-img {
  width: auto;
  height: 100%;
  display: block;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.chip-img:hover   { transform: translateY(-8px); }
.chip-img:active  { transform: translateY(-4px) scale(.90); }

.betting-background {
    background-image: url("../images/background3.1.2.0.jpeg");
    background-size: cover;
    background-position: center;
    /* background: linear-gradient(#2c3e50, #34495e); */
    height: 100vh;
    width: 100%;
    color: #fff;

}

.betting-page {
  max-width: 800px;
  margin: auto;
  padding: 30px;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.money-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

.chip-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.bet-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.bet-btn,
.start-btn {
  background-color: #5d4dd3;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  transition: background-color 0.2s ease;
}

.bet-btn:hover,
.start-btn:hover {
  background-color: #7d6df6;
}


.play-background {
    width: 100%;
    height: 100vh;
    margin: 0, 0, 0, 0;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    /* background-image: url("../images/background1.jpeg"); */
    background-size: cover;
    background-position: center;
    background-color: rgb(34, 100, 34);

}

.text-stuff {
    width: 22%;
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: center;
}

.scores-box {
  width: 90%;
  height: 115px;
  padding: 1rem;   
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.40);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;              
}


.score-box-label {
  margin: 0;                 
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.scores {
  width: 100%;
  display: flex;
  justify-content: center;   
  gap: 1.25rem;            
}

.score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;               
  min-width: 90px;
  color: #fff;
}

.score-label {
  font-size: 0.8rem;
  opacity: 0.85;
}

.score-value {
  padding: 0.3rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.40);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;          
  display: inline-block;      
}

.actions {
  display: flex; 
  width: 90%;
  height: 115px;
  padding: 1rem;         
  border-radius: 15px;
  background: rgba(0,0,0,.35);
  align-items: center;
  justify-content: space-evenly;
  gap: 0.9rem;
}

.hit-stay {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
}


.btn {
  flex: 1 1 0;
  padding: 0.55rem 0;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #04ac99;
  background: #004d40;
  cursor: pointer;
  transition: background .25s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

.btn:hover   { background: #00695c; transform: translateY(-2px); }
.btn:active  { background: #004d40; transform: scale(.96); }

/* make Hit / Stay live side-by-side with a gap */
.hit-stay {
  width: 100%;
  display: flex;
  gap: 0.75rem;
}

.reset-btn {
  width: 30%;                
}
.reset-btn:hover { background: #6a5df0; }

.game-board {
    width: 78%;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: center;
}


.dealer-side,
.player-side {
     background-image: url("../images/background4.1.2.0.png");
    background-size: 75% 300px;  
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hand {
    background-image: url("../images/background2.1.2.0.jpeg");
    background-size: 100% 140px;  
    background-repeat: no-repeat;
    border-radius: 200px;
    overflow: hidden;  
    background-position: center;
    width: 55%;
    height: 140px;                 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden-card {
    visibility: hidden;
}

.card-container {
    height: 124px;
    width: 88px;
    overflow: hidden;
    margin: 10px;
}


.version {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 16px; /* Adjust size as needed */
    color: #999;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: adds background for better visibility */
    padding: 5px 10px; /* Optional: adds some spacing around the text */
}