/* Slots Game Specific Styles */
.game-container { max-width: 600px; margin: 0 auto 40px auto; background-color: var(--bg-alt); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); overflow: hidden; }

.slots-main-area {
    padding: 30px;
    background-color: #0b151c; /* Dark blue-gray */
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.slots-reels-container {
    display: flex;
    gap: 20px;
    background-color: #ffffff; 
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 8px;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    height: 240px; /* 3 symbols tall */
    width: 320px; /* Force width so it doesn't compress */
}

/* Horizontal Dashed Dividers */
.slots-reels-container::before {
    content: '';
    position: absolute;
    top: 33.33%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #e0e0e0;
    z-index: 5;
    pointer-events: none;
}
.slots-reels-container::after {
    content: '';
    position: absolute;
    top: 66.66%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #e0e0e0;
    z-index: 5;
    pointer-events: none;
}

/* Center Blue Dashed Line with Arrows */
.slots-center-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed var(--primary-blue);
    z-index: 6;
    pointer-events: none;
}
.slots-center-line::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--primary-blue);
}
.slots-center-line::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--primary-blue);
}

.slot-reel {
    width: 90px;
    height: 100%;
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    background-color: #15222c;
}

.reel-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* transition will be applied in JS for spinning */
}

.symbol {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    width: 90px;
    height: 80px; /* 3 symbols fit in 240px */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 45px;
    /* text-shadow to make emojis pop */
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Paylines Overlay */
.paylines-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; /* wider than reels */
    height: 240px;
    pointer-events: none;
    z-index: 10;
}

.payline {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 231, 1, 0.8);
    box-shadow: 0 0 10px rgba(0, 231, 1, 0.8);
    display: none; /* hidden by default */
}
.payline::before {
    content: '▶';
    position: absolute;
    left: -15px;
    top: -9px;
    color: #00e701;
    font-size: 16px;
    text-shadow: 0 0 5px #00e701;
}
.payline::after {
    content: '◀';
    position: absolute;
    right: -15px;
    top: -9px;
    color: #00e701;
    font-size: 16px;
    text-shadow: 0 0 5px #00e701;
}

.payline.line-1 { top: 120px; } /* Middle */
.payline.line-2 { top: 40px; }  /* Top */
.payline.line-3 { top: 200px; } /* Bottom */

.payline.active-line {
    display: block;
}
.payline.winning-line {
    background-color: #ff2020;
    box-shadow: 0 0 15px #ff2020;
}
.payline.winning-line::before, .payline.winning-line::after {
    color: #ff2020;
    text-shadow: 0 0 10px #ff2020;
}

/* Controls */
.slots-controls {
    padding: 30px;
    background-color: var(--bg-alt);
}

.spin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}
.auto-toggle-wrapper input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-spin {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 60px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(19, 165, 250, 0.4);
    transition: all 0.2s;
}
.btn-spin:hover {
    background-color: #1192df;
    transform: translateY(-2px);
}
.btn-spin:active {
    transform: translateY(0);
}
.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.btn-spin.auto-active {
    background-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}
.btn-spin.auto-active:hover {
    background-color: #c0392b;
}

.bet-lines-row {
    display: flex;
    gap: 20px;
    background-color: var(--bg-main);
    padding: 15px;
    border-radius: 8px;
}

.control-box-slots {
    flex: 1;
}

.control-box-slots label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-with-buttons {
    display: flex;
    background-color: var(--bg-alt);
    border-radius: 6px;
    padding: 4px;
}

.input-icon-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 10px;
}
.input-icon-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-weight: 700;
    padding: 8px;
    outline: none;
}

.btn-group {
    display: flex;
}
.btn-group button {
    background-color: #5bbd5c; /* green buttons from image */
    color: white;
    border: none;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}
.btn-group button:first-child {
    border-right: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px 0 0 4px;
}
.btn-group button:last-child {
    border-radius: 0 4px 4px 0;
}
.btn-group button:hover {
    background-color: #4da64d;
}

/* Paytable */
.paytable-section {
    background-color: var(--bg-main);
    border-radius: 8px;
    overflow: hidden;
}

.btn-toggle-paytable {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-toggle-paytable:hover {
    background-color: rgba(255,255,255,0.05);
}

.paytable-content {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.paytable {
    width: 100%;
    border-collapse: collapse;
}

.paytable td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 700;
    color: white;
}
.paytable td:first-child {
    color: var(--text-muted);
}
.paytable .symbols {
    letter-spacing: 5px;
    font-size: 1.2rem;
}
.pt-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

.wildcard-note {
    margin-top: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blur-anim {
    filter: blur(2px);
}






.slot-reel {
    flex: 1;
    position: relative;
    height: 100%;
}

.slot-reel:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}


/* Slots desktop layout uses shared game-layout-desktop from style_auth.css */
/* Override slots-main-area for right panel */
@media (min-width: 900px) {
    .game-right-panel .slots-main-area {
        flex: 1;
    }
    .slots-controls {
        display: none; /* Controls moved to left panel */
    }
}
