.ransomware-titlebar {
    background: linear-gradient(
        180deg,
        #ff0000 0%,
        #cc0000 50%,
        #880000 100%
    ) !important;
}

.ransomware-content {
    background: #0a0a0a !important;
    color: #ccc;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ransomware-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
    background: linear-gradient(180deg, #1a0000 0%, #0a0a0a 100%);
    border: 1px solid #330000;
    border-radius: 4px;
}

.skull-logo {
    font-size: 48px;
    animation: skullGlow 2s ease-in-out infinite alternate;
}

@keyframes skullGlow {
    from {
        text-shadow: 0 0 10px rgba(255,0,0,0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(255,0,0,0.8), 0 0 60px rgba(255,0,0,0.4);
    }
}

.ransom-header-text {
    text-align: center;
}

.ransom-header-text h1 {
    color: #ff0000;
    font-size: 28px;
    text-shadow: 0 0 20px rgba(255,0,0,0.5);
    letter-spacing: 4px;
    font-style: italic;
}

.btc-owed-display {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btc-label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.btc-amount {
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Lucida Console', 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(255,0,0,0.5);
    min-width: 200px;
    text-align: center;
}

.btc-symbol {
    color: #ff6666;
    font-size: 18px;
    font-weight: bold;
}

.story-banner {
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 12px;
    min-height: 40px;
}

.story-text {
    color: #ff8888;
    font-size: 12px;
    line-height: 1.4;
    font-style: italic;
}

.ransomware-timer {
    text-align: center;
    padding: 6px;
    background: #110000;
    border: 1px solid #330000;
    border-radius: 4px;
    color: #ff4444;
    font-family: 'Lucida Console', monospace;
    font-size: 14px;
}

.spin-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
}

.status-message {
    color: #ff8888;
    font-size: 12px;
    font-style: italic;
    flex: 1;
}

.win-streak, .loss-streak {
    color: #888;
    font-size: 11px;
    white-space: nowrap;
    padding: 0 8px;
}

#streak-count {
    color: #44ff44;
    font-weight: bold;
}

#loss-count {
    color: #ff4444;
    font-weight: bold;
}

#win-overlay {
    background: rgba(0,0,0,0.95);
    z-index: 50001;
}

.win-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 600px;
    width: 90%;
}

.win-header {
    margin-bottom: 20px;
}

.big-skull {
    font-size: 80px;
    margin-bottom: 10px;
}

.win-header h1 {
    color: #44ff44;
    font-size: 32px;
    text-shadow: 0 0 20px rgba(68,255,68,0.5);
    letter-spacing: 4px;
}

.win-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.decryption-key {
    background: #111;
    border: 2px solid #44ff44;
    padding: 12px 20px;
    font-family: 'Lucida Console', monospace;
    font-size: 16px;
    color: #44ff44;
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(68,255,68,0.3);
}

.decrypt-btn {
    margin-top: 16px;
    padding: 12px 30px;
    background: linear-gradient(180deg, #44ff44 0%, #22aa22 100%);
    color: #000;
    border: 2px solid #228822;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.decrypt-btn:hover {
    background: linear-gradient(180deg, #66ff66 0%, #33cc33 100%);
}

#gameover-overlay {
    background: rgba(0,0,0,0.95);
    z-index: 50001;
}

.gameover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 600px;
    width: 90%;
}

.gameover-header h1 {
    color: #ff0000;
    font-size: 48px;
    text-shadow: 0 0 30px rgba(255,0,0,0.5);
    letter-spacing: 8px;
    animation: gameoverFlash 1s ease-in-out infinite alternate;
}

@keyframes gameoverFlash {
    from { opacity: 1; }
    to { opacity: 0.7; }
}

.gameover-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-top: 20px;
}

.gameover-body p {
    margin-bottom: 8px;
}

.retry-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(180deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border: 2px solid #880000;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.retry-btn:hover {
    background: linear-gradient(180deg, #ff6666 0%, #dd2222 100%);
}
