.selmas-slot-machine-wrapper-f76a166f {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    position: relative;
    padding: 20px 0;
}

.ssm-container-f76a166f {
    --ssm-jackpot-primary: #ffd700;
    --ssm-jackpot-secondary: #ff00ea;
    --ssm-jackpot-banner-color: #ffd700;
    width: 100%;
    max-width: 628px;
    background-color: #0d0614;
    border-width: 3px;
    border-style: solid;
    border-color: #00f0ff;
    border-radius: 20px;
    box-shadow: 0 0 20px #00f0ff, inset 0 0 15px rgba(0, 240, 255, 0.4);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ssm-top-spacer-f76a166f {
    width: 100%;
    height: 317px;
    pointer-events: none;
    transition: height 0.3s ease;
}

/* Meaning Labels Row */
.ssm-reels-labels-row-f76a166f {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 2;
}

.ssm-reel-label-f76a166f {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #00f0ff;
    text-shadow: 0 0 8px #00f0ff;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 4px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.ssm-reels-container-f76a166f {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ssm-reel-f76a166f {
    flex: 1;
    height: 195px !important; /* Force strict height */
    min-height: 195px !important;
    max-height: 195px !important;
    overflow: hidden !important;
    position: relative;
    background: #11091c;
    border-radius: 8px;
    border: 1px solid #3d1c5c;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
    box-sizing: border-box !important;
}

.ssm-reel-strip-f76a166f {
    position: absolute;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ssm-card-item-f76a166f {
    height: 195px !important; /* Force strict matching height */
    min-height: 195px !important;
    max-height: 195px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box !important;
    text-align: center;
    overflow: hidden;
}

.ssm-card-item-f76a166f img {
    max-width: 100%;
    max-height: 125px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.5);
    transition: max-height 0.3s ease;
}

.ssm-card-title-f76a166f {
    font-size: 13px;
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
    margin-top: 8px;
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

.ssm-button-f76a166f {
    cursor: pointer;
    background: linear-gradient(135deg, #ff007f 0%, #b30059 100%);
    border: 2px solid #ff007f;
    border-radius: 50px;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 15px #ff007f;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    outline: none;
    z-index: 2;
}

.ssm-button-f76a166f:hover {
    box-shadow: 0 0 25px #ff007f, inset 0 0 10px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.ssm-button-f76a166f:active {
    transform: translateY(2px);
    box-shadow: 0 0 10px #ff007f;
}

/* Session Statistics Panel */
.ssm-stats-f76a166f {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 2;
}

.ssm-stat-item-f76a166f {
    flex: 1;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 8px;
    padding: 6px 2px;
    box-sizing: border-box;
}

.ssm-stat-number-f76a166f {
    font-size: 20px;
    font-weight: bold;
    color: #00f0ff;
    text-shadow: 0 0 6px #00f0ff;
    line-height: 1.1;
    display: block;
}

.ssm-stat-label-f76a166f {
    font-size: 10px;
    color: #cfd8ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.ssm-stat-pulse-f76a166f {
    animation: ssm-stat-pop-f76a166f 0.4s ease;
}

@keyframes ssm-stat-pop-f76a166f {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.ssm-results-f76a166f {
    width: 100%;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff007f;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-sizing: border-box;
    z-index: 2;
}

.ssm-results-f76a166f.ssm-visible-f76a166f {
    opacity: 1;
    transform: translateY(0);
}

.ssm-win-message-f76a166f {
    font-size: 18px;
    color: #ffef00;
    text-shadow: 0 0 8px rgba(255, 239, 0, 0.8);
    margin-bottom: 8px;
    font-weight: bold;
}

.ssm-card-details-f76a166f {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

/* Wild Neon Blinking Animation for the reels box container (2-match) */
.ssm-crazy-blink-f76a166f {
    animation: ssm-crazy-neon-blink-f76a166f 0.25s infinite alternate;
}

@keyframes ssm-crazy-neon-blink-f76a166f {
    0% {
        border-color: #00f0ff;
        box-shadow: 0 0 20px #00f0ff, inset 0 0 10px #00f0ff;
    }
    33% {
        border-color: #ff007f;
        box-shadow: 0 0 35px #ff007f, inset 0 0 15px #ff007f;
    }
    66% {
        border-color: #ffef00;
        box-shadow: 0 0 25px #ffef00, inset 0 0 12px #ffef00;
    }
    100% {
        border-color: #00ff66;
        box-shadow: 0 0 40px #00ff66, inset 0 0 20px #00ff66;
    }
}

/* Gold Super Glow Machine Animation for a normal 3-match win */
.ssm-gold-glow-machine-f76a166f {
    animation: ssm-super-gold-pulse-f76a166f 0.3s infinite alternate;
}

@keyframes ssm-super-gold-pulse-f76a166f {
    0% {
        border-color: #ffd700;
        box-shadow: 0 0 35px #ffd700, inset 0 0 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        border-color: #ff9900;
        box-shadow: 0 0 60px #ff9900, inset 0 0 35px rgba(255, 153, 0, 0.9);
    }
}

/* Jackpot Suspense — pulses while the final reel is stalling toward a jackpot */
.ssm-jackpot-suspense-f76a166f {
    animation: ssm-jackpot-suspense-pulse-f76a166f 0.5s infinite alternate;
}

@keyframes ssm-jackpot-suspense-pulse-f76a166f {
    0% {
        border-color: var(--ssm-jackpot-primary, #ffd700);
        box-shadow: 0 0 15px var(--ssm-jackpot-primary, #ffd700), inset 0 0 10px rgba(255, 215, 0, 0.25);
    }
    100% {
        border-color: var(--ssm-jackpot-secondary, #ff00ea);
        box-shadow: 0 0 30px var(--ssm-jackpot-secondary, #ff00ea), inset 0 0 18px rgba(255, 0, 234, 0.3);
    }
}

/* Jackpot Full Celebration — rainbow-cycling glow on the whole machine */
.ssm-container-f76a166f.ssm-jackpot-active-f76a166f {
    animation: ssm-jackpot-rainbow-f76a166f 0.6s infinite;
}

@keyframes ssm-jackpot-rainbow-f76a166f {
    0%   { border-color: #ffd700; box-shadow: 0 0 40px #ffd700, inset 0 0 25px rgba(255,215,0,0.6); }
    25%  { border-color: #ff00ea; box-shadow: 0 0 40px #ff00ea, inset 0 0 25px rgba(255,0,234,0.6); }
    50%  { border-color: #00f0ff; box-shadow: 0 0 40px #00f0ff, inset 0 0 25px rgba(0,240,255,0.6); }
    75%  { border-color: #00ff66; box-shadow: 0 0 40px #00ff66, inset 0 0 25px rgba(0,255,102,0.6); }
    100% { border-color: #ffd700; box-shadow: 0 0 40px #ffd700, inset 0 0 25px rgba(255,215,0,0.6); }
}

.ssm-container-f76a166f.ssm-jackpot-shake-f76a166f {
    animation: ssm-jackpot-shake-anim-f76a166f 0.4s ease;
}

@keyframes ssm-jackpot-shake-anim-f76a166f {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.ssm-jackpot-banner-f76a166f {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--ssm-jackpot-banner-color, #ffd700);
    text-shadow: 0 0 15px var(--ssm-jackpot-banner-color, #ffd700), 0 0 30px var(--ssm-jackpot-secondary, #ff00ea);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    text-align: center;
    white-space: nowrap;
}

.ssm-jackpot-banner-f76a166f.ssm-jackpot-banner-show-f76a166f {
    animation: ssm-jackpot-banner-pop-f76a166f 1.8s ease forwards;
}

@keyframes ssm-jackpot-banner-pop-f76a166f {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-8deg); }
    15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(3deg); }
    25%  { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    80%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05) rotate(0deg); }
}

.ssm-jackpot-particles-f76a166f {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9;
}

.ssm-jackpot-particle-f76a166f {
    position: absolute;
    top: -24px;
    font-size: 18px;
    opacity: 0.9;
    animation-name: ssm-jackpot-particle-fall-f76a166f;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes ssm-jackpot-particle-fall-f76a166f {
    0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(420px) rotate(360deg); opacity: 0; }
}
    }
    66% {
        border-color: #ffef00;
        box-shadow: 0 0 25px #ffef00, inset 0 0 12px #ffef00;
    }
    100% {
        border-color: #00ff66;
        box-shadow: 0 0 40px #00ff66, inset 0 0 20px #00ff66;
    }
}

/* Gold Super Glow Machine Animation for a 3-match win */
.ssm-gold-glow-machine-f76a166f {
    animation: ssm-super-gold-pulse-f76a166f 0.3s infinite alternate;
}

@keyframes ssm-super-gold-pulse-f76a166f {
    0% {
        border-color: #ffd700;
        box-shadow: 0 0 35px #ffd700, inset 0 0 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        border-color: #ff9900;
        box-shadow: 0 0 60px #ff9900, inset 0 0 35px rgba(255, 153, 0, 0.9);
    }
}
