/* Main Plugin Container */
.fun-slots-243-plugin {
    max-width: 650px;
    margin: 2em auto;
    padding: 20px 30px;
    border: 5px solid #1a237e; /* Dark Blue Border */
    border-radius: 20px;
    background: linear-gradient(135deg, #3f51b5, #1a237e); /* Blue Gradient */
    font-family: 'Arial', sans-serif;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Header */
.slot-header h1 {
    font-size: 2.5em;
    color: #ffeb3b; /* Yellow */
    text-shadow: 2px 2px 4px #000;
    margin: 0 0 20px 0;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Reels */
.reels-wrapper {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 3px solid #7986cb; /* Lighter Blue */
}

.reel {
    width: 100px;
    height: 240px; /* Shows 3 symbols */
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.reel-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 1s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Easing for spin effect */
}

.symbol {
    font-size: 60px;
    line-height: 80px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Win Message */
.win-message {
    height: 30px;
    margin-top: 15px;
    font-size: 1.8em;
    font-weight: bold;
    color: #4caf50; /* Green for wins */
    text-shadow: 1px 1px 2px #000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.win-message.show {
    visibility: visible;
    opacity: 1;
    animation: bounce 1s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-20px);}
  60% {transform: translateY(-10px);}
}


/* Controls */
.controls-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.balance-display, .bet-display {
    font-size: 1.5em;
    font-weight: bold;
}

.balance-label, .bet-label {
    color: #c5cae9; /* Light lavender */
}

/* Spin Button */
.spin-button {
    padding: 15px 40px;
    font-size: 1.8em;
    font-weight: bold;
    color: #1a237e;
    background: linear-gradient(180deg, #ffeb3b, #fbc02d); /* Yellow Gradient */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 0 #c89200, 0 8px 15px rgba(0,0,0,0.4);
    transition: all 0.1s ease-in-out;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #c89200, 0 10px 20px rgba(0,0,0,0.4);
}

.spin-button:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #c89200, 0 2px 5px rgba(0,0,0,0.4);
}

.spin-button:disabled {
    background: #9e9e9e; /* Grey when disabled */
    cursor: not-allowed;
    box-shadow: 0 5px 0 #616161;
}

/* Reset Button */
.reset-tokens-wrapper {
    margin-top: 20px;
}
.reset-button {
    background: none;
    border: 2px solid #7986cb;
    color: #c5cae9;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Initially hidden */
}
.reset-button.show {
    display: inline-block;
}