/* ===== GAMBLIT - HERNÍ STYLY ===== */
.gamblit-game {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    width: 100%;
    padding: 5px;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.gamblit-game .main-row {
    height: 100%;
    min-height: 0;
}

.gamblit-game .left-panel,
.gamblit-game .right-panel {
    min-height: 0;
}

.gamblit-game .right-panel {
    justify-content: space-between;
    padding: 6px 0 0;
}

.gamblit-game .image-wrapper {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gamblit-game .message-box-container {
    width: 100%;
    max-width: 360px;
    margin-top: auto;
}

/* HLAVNÍ ŘADA - bankovky vlevo, obrázek vpravo */
.main-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

/* ===== LEVÝ SLOUPEC - BANKOVKY + SÁZKA + TLAČÍTKO ===== */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 0;
}

/* Bankovky */
.bills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--border-color);
}

.bill-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 4px;
    border-radius: 5px;
    transition: background 0.2s;
}

.bill-row:hover {
    background: rgba(184, 155, 122, 0.2);
}

.bill-icon {
    width: 90px;
    height: 45px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    border-color: var(--border-color);
}

.bill-icon:hover {
    transform: scale(1.05);
}

.bill-controls {
    display: flex;
    gap: 6px;
    margin-left: auto;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.bill-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    pointer-events: auto;
    z-index: 1;
}

.bill-control-btn:hover {
    transform: scale(1.1);
}

.bill-control-btn.plus { border-color: #4caf50; }
.bill-control-btn.plus:hover { background: #4caf50; }
.bill-control-btn.minus { border-color: #f44336; }
.bill-control-btn.minus:hover { background: #f44336; }

/* Sázka */
.bet-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 40px;
    border: 1px solid;
    border-color: var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
}

.bet-container.bet-update {
    animation: betPulse 0.4s ease;
    border-color: #ffd700;
    box-shadow: 0 0 15px #ffd700;
}

@keyframes betPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); background: rgba(255, 215, 0, 0.2); }
    100% { transform: scale(1); }
}

.bet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bet-label {
    font-weight: bold;
    font-size: 18px;
    font-family: 'Mafia', 'Cinzel', serif;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-color);
    text-shadow: none !important;
}

.bet-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.bet-input-wrapper input {
    width: 100%;
    padding: 6px 10px;
    font-size: 16px;
    text-align: center;
    border: 1px solid;
    border-radius: 30px;
    font-family: 'Mafia', 'Crimson Text', serif;
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    border-color: var(--border-light);
}

.reset-bet-btn {
    background: rgba(0,0,0,0.3);
    border: 1px solid;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-color: var(--border-color);
}

.reset-bet-btn:hover {
    background: rgba(184, 155, 122, 0.3);
    transform: rotate(180deg);
}

.reset-bet-btn:active {
    transform: rotate(180deg) scale(0.9);
}

/* ===== PRAVÝ SLOUPEC - OBRÁZEK A MESSAGE ===== */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
}

/* Obrázek */
.image-wrapper {
    position: relative;
    align-self: center;
    margin-bottom: 5px;
}

.image-container {
    position: relative;
    width: clamp(360px, 58%, 540px);
    height: auto;
    aspect-ratio: 1 / 1;
    border: 2px solid;
    border-color: var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 0 #0a0806, inset 0 0 20px rgba(184,155,122,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid;
    border-color: var(--border-light);
    border-radius: 10px;
    pointer-events: none;
    opacity: 0.5;
}

.image-container::after {
    content: '⚜️';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    text-shadow: 0 0 10px currentColor;
    padding: 0 10px;
    border-radius: 25px;
    border: 1px solid;
    border-color: var(--border-color);
    background: var(--btn-bg);
    color: var(--text-color);
}

#gamblit-image {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    display: block;
    border: 1px solid;
    border-color: var(--border-light);
    border-radius: 4px;
    background: radial-gradient(circle at 30% 30%, #2a1e14, #0a0806);
}

/* ===== ROHOVÁ TLAČÍTKA ===== */
.corner-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(184, 155, 122, 0.5);
    background: rgba(42, 30, 20, 0.95);
    z-index: 20;
}

.corner-btn:hover {
    transform: scale(1.1);
    border-color: #ffd700;
}

.top-left { top: 5px; left: 5px; }
.top-right { top: 5px; right: 5px; }
.bottom-left { bottom: 5px; left: 5px; }
.bottom-right { bottom: 5px; right: 5px; }

/* Ignore tlačítka */
.ignore-btn.devil.active { background: #4caf50; color: white; border-color: white; }
.ignore-btn.devil.inactive { background: #f44336; color: white; border-color: white; }
.ignore-btn.treasure.active { background: #4caf50; color: white; border-color: white; }
.ignore-btn.treasure.inactive { background: #f44336; color: white; border-color: white; }

/* Autospin */
.autospin-btn.active {
    background: #ffd700;
    color: #000;
    border-color: #fff;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* ===== MESSAGE BOX ===== */
.message-box-container {
    width: 260px;
    margin: 10px auto;
}

#gamblit-message {
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.5);
    border: 2px solid;
    font-family: 'Mafia', 'Cinzel', serif;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.4;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    border-color: var(--border-color);
    color: var(--text-color);
}

/* ===== ANIMACE ===== */
@keyframes idleShuffle {
    0% { opacity: 0.9; }
    50% { opacity: 1; filter: brightness(1.1); }
    100% { opacity: 0.9; }
}
.idle-animation { animation: idleShuffle 2s infinite ease-in-out; }

@keyframes rollShake {
    0% { transform: translateX(0) rotate(0deg); }
    15% { transform: translateX(-6px) rotate(-4deg); }
    30% { transform: translateX(6px) rotate(4deg); }
    45% { transform: translateX(-4px) rotate(-2deg); }
    60% { transform: translateX(4px) rotate(2deg); }
    75% { transform: translateX(-2px) rotate(-1deg); }
    90% { transform: translateX(2px) rotate(1deg); }
    100% { transform: translateX(0) rotate(0deg); }
}
.rolling-animation { animation: rollShake 0.5s ease; }
.rolling-animation img { filter: brightness(1.3) contrast(1.1); }

@keyframes winPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px var(--win-color); }
    50% { transform: scale(1.08); box-shadow: 0 0 30px var(--win-color); }
    100% { transform: scale(1); box-shadow: 0 0 15px var(--win-color); }
}
#gamblit-image.win-effect { animation: winPulse 1s ease; }

@keyframes loseShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}
#gamblit-image.lose-effect { animation: loseShake 0.5s ease; }

@keyframes satanGlow {
    0% { box-shadow: 0 0 15px #660000; }
    50% { box-shadow: 0 0 30px #660000, 0 0 45px #660000; }
    100% { box-shadow: 0 0 15px #660000; }
}
#gamblit-image.satan-effect { animation: satanGlow 2s infinite; }

@keyframes angelGlow {
    0% { box-shadow: 0 0 15px #b89b7a; }
    50% { box-shadow: 0 0 30px #b89b7a, 0 0 45px var(--text-color); }
    100% { box-shadow: 0 0 15px #b89b7a; }
}
#gamblit-image.angel-effect { animation: angelGlow 2s infinite; }

/* ===== ANGEL PANEL - MODAL OVERLAY ===== */
.angel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.angel-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

.angel-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: min(500px, 95vw);
    max-height: 80vh;
    background: var(--panel-bg, rgba(28, 18, 10, 0.99));
    border: 2px solid var(--border-color, #b89b7a);
     /* Removed empty CSS rule */
    border-radius: 14px;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,215,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
    pointer-events: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.angel-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.angel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 2px solid rgba(var(--border-color-rgb, 184,155,122), 0.35);
    background: linear-gradient(135deg, rgba(var(--border-color-rgb,184,155,122),0.15) 0%, rgba(0,0,0,0.3) 100%);
    flex-shrink: 0;
}

.angel-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.angel-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.angel-icon { font-size: 26px; }

.angel-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--border-color, #b89b7a);
    text-shadow: 0 0 15px rgba(var(--border-color-rgb,184,155,122),0.5);
}

.angel-count {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255,215,0,0.7);
    min-width: 36px;
    text-align: center;
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 8px;
    padding: 2px 10px;
}

.angel-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(var(--border-color-rgb,184,155,122), 0.3);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 9px;
    color: var(--text-color, #e0d3b0);
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.angel-close:hover {
    color: #ffd700;
    background: rgba(255,215,0,0.12);
    border-color: #ffd700;
}

.angel-desc {
    margin: 0;
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(var(--border-color-rgb,184,155,122), 0.75);
    border-bottom: 1px solid rgba(var(--border-color-rgb,184,155,122), 0.15);
    text-align: center;
    font-style: italic;
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
}

.angel-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-height: calc(80vh - 140px);
    overflow-y: auto;
    padding: 14px;
}

.angel-checkboxes::-webkit-scrollbar { width: 6px; }
.angel-checkboxes::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); border-radius: 3px; }
.angel-checkboxes::-webkit-scrollbar-thumb { background: var(--border-color, #b89b7a); border-radius: 3px; }

.angel-toggle-all {
    grid-column: span 2;
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--border-color-rgb,184,155,122), 0.25);
}

.angel-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(var(--border-color-rgb,184,155,122), 0.18);
    transition: background 0.18s, border-color 0.18s;
    user-select: none;
}

.angel-checkbox-label:hover {
    background: rgba(var(--border-color-rgb,184,155,122), 0.15);
    border-color: rgba(var(--border-color-rgb,184,155,122), 0.4);
}

.angel-checkbox-label input { display: none; }

/* Toggle-switch style checkbox */
.checkbox-custom {
    position: relative;
    width: 36px;
    height: 20px;
    background: #2a1c10;
    border: 1.5px solid rgba(var(--border-color-rgb,184,155,122), 0.5);
    border-radius: 12px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(var(--border-color-rgb,184,155,122), 0.5);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s, background 0.2s;
}

.angel-checkbox-label input:checked + .checkbox-custom {
    background: #2a4a2a;
    border-color: #4caf50;
}

.angel-checkbox-label input:checked + .checkbox-custom::after {
    background: #4caf50;
    transform: translateX(16px);
    box-shadow: 0 0 6px rgba(76,175,80,0.6);
}

.effect-thumb {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border: 1px solid rgba(var(--border-color-rgb,184,155,122), 0.3);
    border-radius: 5px;
    background: rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.effect-name {
    flex: 1;
    font-size: 12px;
    white-space: normal;
    line-height: 1.3;
    color: var(--text-color, #e0d3b0);
    font-weight: 500;
}

/* ===== ANGEL GAME POPUP ===== */
.angel-game-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(42, 30, 20, 0.98);
    border: 3px solid;
    border-color: var(--border-color);
    border-radius: 15px;
    padding: 20px;
    z-index: 20000;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 30px rgba(184, 155, 122, 0.5);
    animation: popIn 0.3s ease;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
}

@keyframes popIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.angel-popup-content { text-align: center; }
.angel-popup-content h3 { margin-bottom: 15px; font-size: 22px; color: var(--text-color); }

.angel-popup-image {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    border: 2px solid;
    border-color: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    background: #1e140e;
}

.angel-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.angel-popup-content p { margin: 8px 0; font-size: 15px; color: var(--text-color); }

.lost-amount {
    font-size: 22px !important;
    font-weight: bold;
    color: #ffd700;
    margin: 12px 0 !important;
}

.angel-popup-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.angel-popup-buttons .btn-mafia { min-width: 100px; }

/* ===== ĎÁBELSKÉ KOLO ===== */
:root {
    --win-color: #005d04;
    --lose-color: #860900;
}

.devil-wheel-container {
    margin: 20px 0;
    padding: 15px 40px;
    background: linear-gradient(145deg, #1a0f0a, #2d1a12);
    border-radius: 20px;
    border: 3px solid #ff4444;
    position: relative;
    overflow: hidden;
    height: 220px;
    box-shadow: inset 0 0 30px rgba(255, 68, 68, 0.3), 0 0 20px #ff4444;
}

.devil-wheel-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,68,68,0.2) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
    z-index: 1;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-current {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 900;
    padding: 10px 20px;
    background: rgba(20,10,5,0.9);
    border-radius: 12px;
    border: 3px solid transparent;
    min-width: 120px;
    text-align: center;
}
.wheel-current.win { border-color: #003d00; color: #003d00; }
.wheel-current.lose { border-color: #4d0000; color: #4d0000; }

/* ŠIPKY */
.wheel-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    z-index: 20;
    filter: drop-shadow(0 0 15px #ffd700);
    animation: pulse-indicator 1s infinite alternate;
}

.wheel-indicator.left {
    left: 5px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid #ffd700;
}

.wheel-indicator.right {
    right: 5px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 30px solid #ffd700;
}

@keyframes pulse-indicator {
    from { filter: drop-shadow(0 0 10px #ffd700); }
    to { filter: drop-shadow(0 0 30px #ffaa00); }
}

/* ===== FLOATING TEXT ===== */
.result-floating {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    text-shadow: 4px 4px 8px black;
    z-index: 1000;
    pointer-events: none;
    animation: result-float 1.5s ease-out forwards;
}

.result-floating.win {
    color: #003d00;
    text-shadow: 0 0 30px #003d00, 4px 4px 8px black;
}

.result-floating.lose {
    color: #4d0000;
    text-shadow: 0 0 30px #4d0000, 4px 4px 8px black;
}

@keyframes result-float {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -80px) scale(1.5); }
    80% { opacity: 1; transform: translate(-50%, -150px) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -200px) scale(0.8); }
}

.floating-text {
    position: absolute;
    font-weight: bold;
    font-size: 1.8em;
    pointer-events: none;
    z-index: 1000;
    font-family: 'Mafia', 'Cinzel', serif;
    text-shadow: 3px 3px 5px #000;
    animation: floatUp 1.5s ease-out forwards;
}

.floating-text.positive { color: #003d00; }
.floating-text.negative { color: #4d0000; }

@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    70% { opacity: 0.7; transform: translateY(-50px) scale(1.3); }
    100% { opacity: 0; transform: translateY(-100px) scale(0.8); }
}

/* ===== NOVÉ ÚPRAVY - 50/50 LAYOUT ===== */
.gamblit-game .left-panel { flex: 0 0 50%; max-width: 50%; }
.gamblit-game .right-panel { flex: 0 0 50%; max-width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 0; }
.gamblit-game .bill-icon { width: 90px; height: 45px; }
.gamblit-game .bill-control-btn { width: 46px; height: 46px; font-size: 22px; }
.gamblit-game .bet-container { padding: 12px 15px; }
.gamblit-game .bet-label { font-size: 20px; }
.gamblit-game .bet-input-wrapper input { font-size: 20px; padding: 8px 12px; }
.gamblit-game #gamblit-btn { font-size: 26px; padding: 14px; }
.gamblit-game .image-container { width: clamp(380px, 88%, 520px); height: auto; }
.gamblit-game #gamblit-image { width: calc(100% - 20px); height: calc(100% - 20px); }

#gamblit-message.win { color: #4caf50; border-color: #4caf50; background: rgba(0,30,0,0.7); }
#gamblit-message.lose { color: #f44336; border-color: #f44336; background: rgba(30,0,0,0.7); }
#gamblit-message.satan { color: #000; border-color: #ff0000; background: rgba(255,0,0,0.8); }
#gamblit-message.angel { color: #ffd700; border-color: #ffd700; background: rgba(100,0,100,0.7); }
#gamblit-message.devil { color: #9c27b0; border-color: #9c27b0; background: rgba(50,0,50,0.7); }
#gamblit-message.special { color: #00bcd4; border-color: #00bcd4; background: rgba(0,50,50,0.7); }

#gamblit-image.win-effect { filter: drop-shadow(0 0 30px #4caf50); }
#gamblit-image.lose-effect { filter: drop-shadow(0 0 30px #f44336); }
#gamblit-image.satan-effect { filter: drop-shadow(0 0 30px #ff0000); }
#gamblit-image.angel-effect { filter: drop-shadow(0 0 30px gold); }

/* ===== GLOW EFEKTY ===== */
.glow-common { filter: drop-shadow(0 0 15px #4caf50) drop-shadow(0 0 30px #4caf50); animation: pulseGlow 2s infinite; }
.glow-rare { filter: drop-shadow(0 0 20px #2196f3) drop-shadow(0 0 40px #2196f3); animation: pulseGlow 1.8s infinite; }
.glow-epic { filter: drop-shadow(0 0 25px #9c27b0) drop-shadow(0 0 50px #9c27b0); animation: pulseGlow 1.5s infinite; }
.glow-legendary { filter: drop-shadow(0 0 30px gold) drop-shadow(0 0 60px orange) drop-shadow(0 0 90px red); animation: pulseGlow 1.2s infinite; }

@keyframes pulseGlow {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* ===== RESPONZIVITA PRO MOBIL ===== */
@media screen and (max-width: 700px) {
    .gamblit-game .main-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .gamblit-game .left-panel {
        width: 100%;
        max-width: 100%;
    }
    
    .gamblit-game .right-panel {
        width: 100%;
    }
    
    .gamblit-game .image-container {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .gamblit-game #gamblit-image {
        width: 240px;
        height: 240px;
    }
    
    .gamblit-game .message-box-container {
        width: 100%;
        max-width: 280px;
    }
    
    .gamblit-game .bill-row {
        gap: 8px;
    }
    
    .gamblit-game .bill-icon {
        width: 70px;
        height: 35px;
    }
    
    .gamblit-game .bill-control-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .angel-panel {
        width: 95vw;
        max-height: 85vh;
    }
}

@media screen and (max-width: 480px) {
    .gamblit-game .image-container {
        width: 240px;
        height: 240px;
    }
    
    .gamblit-game #gamblit-image {
        width: 200px;
        height: 200px;
    }
    
    .gamblit-game .bill-icon {
        width: 60px;
        height: 30px;
    }
    
    .gamblit-game .bill-control-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    
    .gamblit-game .bet-label {
        font-size: 16px;
    }
    
    .gamblit-game #gamblit-btn {
        font-size: 22px;
        padding: 12px;
    }
    
    .corner-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 360px) {
    .gamblit-game .image-container {
        width: 200px;
        height: 200px;
    }
    
    .gamblit-game #gamblit-image {
        width: 160px;
        height: 160px;
    }
    
    .gamblit-game .bill-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gamblit-game .bill-controls {
        margin-left: 0;
    }
}