.active{
    background-color: green;
}

body{
    color: #0e0e0e;
}

#bet{
  font-weight: bold;
}

#coin {
  width: 150px;
  height: 150px;
  perspective: 1000px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
  margin: auto;
}

        #penize {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.25rem;
            font-weight: bold;
            color: #0ff;
        }

        .game-card {
            background: radial-gradient(circle at top, #2c2c2c, #111);
            border: 2px solid gold;
            border-radius: 1rem;
            border-radius: 1rem;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-color: #1c1c1c;
        }

        .game-card:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
        }

        .game-card img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }

        .game-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: gold;
            padding: 1rem;
        }
.coin .face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background: radial-gradient(circle at center, #ffd700, #b8860b);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.coin .front {
  transform: rotateY(0deg);
}

.coin .back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
}

.coin.flipped {
  transform: rotateY(180deg);
}



.micro-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}


@keyframes popIn {
  0%   { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.animated-pop {
  animation: popIn 0.3s ease-in-out;
}

.bundle {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.danger {
  color: red;
  font-weight: bold;
}




.graph-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, limegreen, gold);
  transition: width 0.1s ease;
}
.graph-bar-container {
  height: 20px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem auto;
  max-width: 100%;
}
.explode {
  animation: explode 0.5s ease-in-out forwards;
}

@keyframes explode {
  0% { transform: scale(1); color: red; }
  50% { transform: scale(1.5); color: orange; }
  100% { transform: scale(0.8); opacity: 0; }
}


