body {
    background: radial-gradient(circle, #1a1a1a, #000);
    color: #ffd700;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.bonus-header{
    visibility: hidden;
}

.wallet-container {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wallet {
    background: #000;
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #b8860b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.wallet img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


.visual-toggle {
    position: relative;
    display: inline-block;
    width: 82px;
    height: 48px;
    margin: 0 5px;
    background-color: #000;
    border: 2px solid #b8860b;
    border-radius: 40px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.visual-toggle:focus,
.visual-toggle:active {
    outline: none;
}

.visual-toggle::before {
    content: "";
    position: absolute;
    height: 36px;
    width: 36px;
    left: 4px;
    top: 4px;
    background: linear-gradient(145deg, #e0e0e0, #a8a8a8);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 0 6px rgba(192,192,192,0.6);
}

.visual-toggle.toggle-on::before {
    transform: translateX(36px);
    background: linear-gradient(145deg, #ffd700, #b8860b);
    box-shadow: 0 0 15px #ffd700;
}

.visual-toggle.toggle-on {
    border-color: #ffd700;
}

.visual-toggle:hover::before {
    box-shadow: 0 0 12px #ffd700;
}

.visual-toggle:active::before {
    transform: scale(0.95);
}

.slot-machine-mini {
    display: flex;
    background: #222;
    border: 8px solid #b8860b;
    border-radius: 20px;
    padding: 15px;
    gap: 10px;
}

.reel-mini {
    width: 90px;
    height: 270px;
    overflow: hidden;
    background: #000;
}

.symbol-mini {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    box-sizing: border-box;
}

#spinBtnMini {
    margin-top: 25px;
    padding: 15px 50px;
    background: linear-gradient(145deg, #ffd700, #b8860b);
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.4rem;

    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.auto-mode {
    background: red !important;
    color: #fff !important;
}

.win-highlight {
    outline: 3px solid #ffd700;
    outline-offset: -3px;
    filter: brightness(1.2);
    z-index: 10;
    position: relative;
}

body {
    background-image: url('1.png'), radial-gradient(circle, #1a1a1a, #000);
    background-repeat: repeat, no-repeat;
    background-position: top left, center;
}
.info-panel {
    position: absolute;
    bottom: 100%;           /* Alt kenarı, parent'ının üst kenarına yasla */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    background: #000;
    border: 2px solid #b8860b;
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 10px;    /* Parent ile arasında boşluk */
    color: #ffd700;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    z-index: 100;
    pointer-events: none;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-message {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
    padding: 6px 12px; 
    border-radius: 15px; 
    display: none;             
    white-space: normal;       
    overflow: visible;         
    text-overflow: clip;       
    max-width: 100%;           
    line-height: 1.2;          
    text-align: center;
}

.info-record {
    font-size: 1.1rem;
}

/* Fallback eski baloncuk stilleri (toggle.js'deki) */
.info-bubble {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 20px;
    color: #ffd700;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: bubbleFade 0.3s ease;
}

.info-bubble .info-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.info-bubble .info-sub {
    font-size: 1rem;
    color: #ffd700;
}

@keyframes bubbleFade {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
