﻿body {
    background-color: #1a1a1a;
    font-family: 'Papyrus', fantasy, sans-serif;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

/* Slot Machine Container */
#slot-machine {
    border: 3px solid #444;
    border-radius: 10px;
    width: 450px;
    margin: 50px auto;
    padding: 20px;
    background-color: #2c2c2c;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    position: relative;
}

/* Title */
#slot-machine h1 {
    font-family: 'Papyrus', fantasy, sans-serif;
    color: #d4af37;
}

/* Display (Slots) */
#display {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.slot {
    border: 2px solid #666;
    border-radius: 5px;
    width: 100px;
    height: 150px;
    font-size: 60px;
    margin: 0 5px;
    background-color: #3b3b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e0e0e0;
    transition: transform 0.1s;
}

.slot.spinning {
    animation: spin 0.5s infinite linear;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* Controls */
#controls {
    margin-bottom: 20px;
}

button {
    font-family: 'Papyrus', fantasy, sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    margin: 0 5px;
    border: 2px solid #666;
    border-radius: 5px;
    background-color: #4a4a4a;
    color: #e0e0e0;
    cursor: pointer;
}

button:hover {
    background-color: #5a5a5a;
}

/* Coins Display */
#coins {
    font-size: 18px;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(60, 60, 60, 0.9);
    border: 1px solid #888;
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;
    color: #e0e0e0;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
}

.slot {
    border: 2px solid #666;
    border-radius: 5px;
    width: 120px;
    /* Adjusted width */
    height: 180px;
    /* Adjusted height */
    margin: 0 5px;
    background-color: #3b3b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Prevent images from overflowing */
}

.slot img {
    max-width: 100%;
    max-height: 100%;
}

/* Adjust the width of the slot-machine if necessary */
#slot-machine {
    width: 600px;
    /* Increased from 450px */
}

/* Slot styling remains the same */
.slot {
    border: 2px solid #666;
    border-radius: 5px;
    width: 120px;
    height: 180px;
    margin: 0 5px;
    background-color: #3b3b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Adjust display to wrap slots if needed */
#display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrapping if screen size is limited */
}
