/* CSS Document */
body {
    background-color: #1a1a1a;
    color: #ddd;
    font-family: 'Georgia', serif;
    text-align: center;
    padding-top: 50px;
}

.game-container {
    background-color: #2b1b3a;
    border: 5px solid #4caf50;
    border-radius: 10px;
    width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 20px #4caf50;
}

.slot-machine {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.slot {
    width: 100px;
    height: 100px;
    margin: 0 5px;
    border: 2px solid #4caf50;
    background-color: #000;
    overflow: hidden;
}

.slot img {
    width: 100px;
    height: 100px;
}

.controls {
    margin-bottom: 15px;
	margin-left: 15px;
	margin-right: 15px;
	padding-right: 15px;
}

.controls button {
	width: 175px;
    height: 50px;
	margin-left: 25px;
	
}

button, select {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover, select:hover {
    background-color: #3e8e41;
}

.status {
    font-size: 18px;
}

#message {
    margin-top: 10px;
    font-weight: bold;
    color: #ffeb3b;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.popup-content {
    background-color: #2b1b3a;
    margin: 15% auto;
    padding: 20px;
    border: 3px solid #4caf50;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 15px #4caf50;
    color: #fff;
    position: relative;
}

.popup-content img {
    
    width: 75px;
	height: 75px;
    border-radius: 10px;
    box-shadow: 0 0 15px #4caf50;
    
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

#payoutBtn {
    margin-top: 10px;
    background-color: #673ab7;
}

#payoutBtn:hover {
    background-color: #512da8;
}

/* Spinning Animation */
@keyframes spinSymbol {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(720deg); }
	0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(720deg); }
}

.spin {
    animation: spinSymbol 0.5s ease-in-out;
	filter: blur(4px);
}	

/* Purple Glow Animation */
@keyframes purpleGlow {
    0% { box-shadow: 0 0 10px #FFAA22; }
    50% { box-shadow: 0 0 40px #FFAA22; }
    100% { box-shadow: 0 0 10px #FFAA22; }
}

.glow {
    animation: purpleGlow 1.5s ease-in-out;
	animation-iteration-count: 3;
}

#soundToggle {
    background-color: #795548;
    margin-left: 10px;
	
}

#soundToggle:hover {
    background-color: #5d4037;
}

.fate-container {
    margin: 15px auto 0;
    width: 75px;
    height: 75px;
    border: 3px solid #9c27b0;
    border-radius: 10px;
    box-shadow: 0 0 15px #9c27b0;
    background-color: #2b1b3a;
    display: flex;
    justify-content: center;
    align-items: center;
}
