/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2d1b69, #ff6b35);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background 1s ease;
}

/* Dynamic background that changes with damage */
body.damage-low {
    background: linear-gradient(135deg, #1a1a1a, #2d1b69, #ff6b35);
}

body.damage-medium {
    background: linear-gradient(135deg, #2a1a1a, #4d1b49, #ff4535);
}

body.damage-high {
    background: linear-gradient(135deg, #4a1a1a, #6d1b29, #ff2535);
}

body.damage-critical {
    background: linear-gradient(135deg, #6a0a0a, #8d0b09, #ff0000);
    animation: criticalPulse 2s infinite;
}

@keyframes criticalPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) hue-rotate(10deg); }
}

/* BOSS DEFEAT ANIMATION */
@keyframes bossDefeatShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-10px, -10px) rotate(-1deg); }
    20% { transform: translate(10px, -5px) rotate(1deg); }
    30% { transform: translate(-5px, 15px) rotate(0deg); }
    40% { transform: translate(15px, 5px) rotate(1deg); }
    50% { transform: translate(-10px, -10px) rotate(-1deg); }
    60% { transform: translate(10px, 10px) rotate(0deg); }
    70% { transform: translate(-15px, 0px) rotate(-1deg); }
    80% { transform: translate(5px, -10px) rotate(1deg); }
    90% { transform: translate(-5px, 5px) rotate(0deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 120px; /* Space for floating burn bar */
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* EPIC BOSS BATTLE QUEST SYSTEM */
.quest-system {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.quest-notice {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(255, 20, 147, 0.3));
    border: 2px solid rgba(255, 215, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: epicPulse 3s ease-in-out infinite;
}

@keyframes epicPulse {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), inset 0 0 30px rgba(255, 215, 0, 0.2);
        transform: scale(1.02);
    }
}

.quest-main {
    font-size: 1.4rem;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 0 0 10px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.8); }
}

.quest-details {
    font-size: 1rem;
    color: #ffcccc;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* BOSS PROGRESSION SYSTEM */
.boss-progression {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .boss-progression {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* CURRENT BOSS INFO */
.current-boss-info {
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.3), rgba(255, 0, 0, 0.3));
    border: 2px solid rgba(255, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    animation: bossGlow 2.5s ease-in-out infinite;
}

@keyframes bossGlow {
    0%, 100% { 
        box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
        border-color: rgba(255, 0, 0, 0.8);
    }
    50% { 
        box-shadow: 0 15px 35px rgba(255, 0, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.4);
        border-color: rgba(255, 0, 0, 1);
    }
}

.boss-status {
    margin-bottom: 15px;
}

.boss-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4444;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 5px;
}

.boss-type {
    display: block;
    font-size: 1.1rem;
    color: #ffcccc;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    opacity: 0.9;
}

.boss-health-display {
    text-align: center;
}

.boss-health-label {
    font-size: 0.9rem;
    color: #ffcccc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boss-health-bar {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 0, 0.8);
    border-radius: 10px;
    height: 25px;
    position: relative;
    overflow: hidden;
}

.boss-health-fill {
    background: linear-gradient(90deg, #ff0000, #ff4444, #ff6666);
    height: 100%;
    transition: width 0.8s ease-out;
    position: relative;
    animation: healthPulse 2s ease-in-out infinite;
}

@keyframes healthPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.boss-health-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 10;
}

/* QUEST PROGRESS SECTION */
.quest-progress {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Updated Total Burned Display for Quest Theme */
.quest-progress .total-burned-display {
    background: linear-gradient(45deg, rgba(255,107,53,0.2), rgba(255,68,68,0.2));
    border: 2px solid rgba(255,107,53,0.6);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255,107,53,0.3);
    animation: burnGlow 3s ease-in-out infinite;
    margin: 0;
    max-width: none;
}

.quest-progress .total-burned-label {
    font-size: 1rem;
    color: #ffcccc;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quest-progress .total-burned-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    line-height: 1;
}

/* GOLDEN BOSS PROGRESS */
.golden-boss-progress {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 223, 0, 0.3));
    border: 2px solid rgba(255, 215, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    animation: goldenGlow 4s ease-in-out infinite;
}

@keyframes goldenGlow {
    0%, 100% { 
        box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
        border-color: rgba(255, 215, 0, 0.8);
    }
    50% { 
        box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 1);
    }
}

.golden-boss-label {
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.golden-boss-bar {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.8);
    border-radius: 10px;
    height: 25px;
    position: relative;
    overflow: hidden;
}

.golden-boss-fill {
    background: linear-gradient(90deg, #ffd700, #ffed4e, #fff700);
    height: 100%;
    min-width: 50px; /* Always show at least 50px so it's visible */
    transition: width 0.8s ease-out;
    position: relative;
    animation: goldenHealthPulse 2s ease-in-out infinite;
}

@keyframes goldenHealthPulse {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.3) saturate(1.2); }
}

.golden-boss-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    z-index: 10;
}

/* ENHANCED TOTAL BURNED DISPLAY */
.total-burned-display {
    background: linear-gradient(45deg, rgba(255,107,53,0.2), rgba(255,68,68,0.2));
    border: 2px solid rgba(255,107,53,0.6);
    border-radius: 20px;
    padding: 20px;
    margin: 30px auto;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
    animation: burnGlow 3s ease-in-out infinite;
}

@keyframes burnGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(255,107,53,0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(255,107,53,0.6), 0 0 20px rgba(255,107,53,0.4);
        transform: scale(1.02);
    }
}

.total-burned-label {
    font-size: 1rem;
    color: #ffcccc;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-burned-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    animation: countUp 0.5s ease-out;
    line-height: 1;
}

@keyframes countUp {
    from { transform: scale(1.2); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

/* WALLET SECTION - TOP RIGHT */
.wallet-section {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    border-radius: 15px;
    padding: 15px;
    border: 2px solid rgba(255,107,53,0.3);
    backdrop-filter: blur(10px);
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-address-display {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* HEALTH BAR SYSTEM - CLOSER TO TOTAL BURNED */
.health-bar-container {
    margin: 20px auto 0;
    width: 350px;
    z-index: 100;
    text-align: center;
}

.health-bar-label {
    text-align: center;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.health-bar {
    width: 100%;
    height: 20px;
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    overflow: hidden;
    position: relative;
}

.health-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #ffff00, #ff0000);
    transition: width 1s ease, background 0.5s ease;
    border-radius: 8px;
    position: relative;
    animation: healthPulse 2s ease-in-out infinite;
}

@keyframes healthPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255,255,255,0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255,255,255,0.6), inset 0 0 10px rgba(255,255,255,0.2);
    }
}

.health-fill.critical {
    background: linear-gradient(90deg, #ff0000, #ff4444);
    animation: healthCritical 1s ease-in-out infinite;
}

@keyframes healthCritical {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(255,0,0,0.8);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255,0,0,1), inset 0 0 10px rgba(255,0,0,0.5);
    }
}

.health-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    z-index: 10;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Main doll display */
.main-content {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.doll-container {
    position: relative;
    width: 400px;
    height: 600px;
    perspective: 1000px;
}

/* Hanger at the top */
.hanger {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hanger-hook {
    width: 60px;
    height: 40px;
    background: linear-gradient(145deg, #c0c0c0, #e0e0e0);
    border-radius: 30px 30px 0 0;
    border: 2px solid #999;
    position: relative;
}

.hanger-hook::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 15px;
    background: #999;
    border-radius: 4px;
}

.hanger-ring {
    width: 30px;
    height: 30px;
    border: 4px solid #DAA520;
    border-radius: 50%;
    margin: -5px auto 0;
    background: linear-gradient(145deg, #FFD700, #DAA520);
}

/* Doll wrapper for hanging animation */
.doll-wrapper {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center top;
    animation: swing 4s ease-in-out infinite;
}

.doll {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doll-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Swinging animation */
@keyframes swing {
    0%, 100% { 
        transform: translateX(-50%) rotate(0deg);
    }
    25% { 
        transform: translateX(-50%) rotate(2deg);
    }
    75% { 
        transform: translateX(-50%) rotate(-2deg);
    }
}

/* Burn shake animation */
@keyframes burnShake {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    10% { transform: translateX(-50%) rotate(-8deg) scale(1.02); }
    20% { transform: translateX(-50%) rotate(8deg) scale(0.98); }
    30% { transform: translateX(-50%) rotate(-6deg) scale(1.01); }
    40% { transform: translateX(-50%) rotate(6deg) scale(0.99); }
    50% { transform: translateX(-50%) rotate(-4deg) scale(1.005); }
    60% { transform: translateX(-50%) rotate(4deg) scale(0.995); }
    70% { transform: translateX(-50%) rotate(-2deg) scale(1.002); }
    80% { transform: translateX(-50%) rotate(2deg) scale(0.998); }
    90% { transform: translateX(-50%) rotate(-1deg) scale(1.001); }
}

/* Damage overlay system */
.damage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 2;
}

/* Damage levels for image-based doll */
.doll.damage-1 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(10deg);
}

.doll.damage-1 .damage-overlay::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 10px;
    height: 2px;
    background: #ff0000;
    box-shadow: 
        15px 10px 0 #ff0000,
        -5px 30px 0 #ff0000,
        25px 50px 0 #ff0000;
}

.doll.damage-2 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(20deg) brightness(0.95);
}

.doll.damage-2 .damage-overlay::before {
    content: '💥';
    position: absolute;
    top: 15%;
    left: 25%;
    font-size: 20px;
}

.doll.damage-3 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(30deg) brightness(0.9);
}

.doll.damage-3 .damage-overlay::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 20%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, transparent 40%, #8B4513 40%);
    border-radius: 50%;
}

.doll.damage-4 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(40deg) brightness(0.85);
    transform: rotate(-2deg);
}

.doll.damage-5 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(50deg) brightness(0.8) contrast(1.1);
    transform: rotate(-3deg);
}

.doll.damage-6 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(60deg) brightness(0.75) contrast(1.2);
    transform: rotate(-4deg) scale(0.98);
}

.doll.damage-7 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(70deg) brightness(0.7) contrast(1.3) saturate(0.8);
    transform: rotate(-5deg) scale(0.96);
}

.doll.damage-8 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(80deg) brightness(0.6) contrast(1.4) saturate(0.6);
    transform: rotate(-8deg) scale(0.94);
}

.doll.damage-9 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(90deg) brightness(0.4) contrast(1.5) saturate(0.3) grayscale(50%);
    transform: rotate(-12deg) scale(0.9);
}

.doll.damage-10 .doll-image {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) hue-rotate(100deg) brightness(0.2) contrast(2) saturate(0) grayscale(100%) blur(1px);
    transform: rotate(-20deg) scale(0.8);
}

/* Enhanced damage effects */
.doll.damage-4 .damage-overlay::before {
    content: '🔥';
    position: absolute;
    top: 40%;
    left: 60%;
    font-size: 16px;
    animation: flicker 1s infinite;
}

.doll.damage-6 .damage-overlay::after {
    content: '💥🔥';
    position: absolute;
    bottom: 30%;
    left: 20%;
    font-size: 14px;
    animation: flicker 1.5s infinite;
}

.doll.damage-8 .damage-overlay {
    background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(255,0,0,0.1) 100%);
}

.doll.damage-10 .damage-overlay {
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(255,0,0,0.3) 100%);
}

/* Burn effects */
.burn-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.fire-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff6b35, #ff4444);
    border-radius: 50%;
    animation: fireParticle 1s ease-out forwards;
}

/* FLOATING BURN BAR - BOTTOM FIXED */
/* VERTICAL BURN LAYOUT */
.floating-burn-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    border: 2px solid rgba(255,107,53,0.5);
    border-radius: 25px;
    padding: 20px 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 600px;
    animation: slideUpFloat 0.5s ease-out;
}

@keyframes slideUpFloat {
    from { 
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Buttons and controls */
.burn-section {
    text-align: center;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #ff4444);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: #333;
    color: white;
}

.btn-burn {
    background: linear-gradient(45deg, #ff0000, #ff6b35);
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
    animation: glow 2s infinite;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #444;
    color: white;
}

.burn-controls {
    max-width: 600px;
    margin: 0 auto;
}

/* VERTICAL BURN LAYOUT */
.burn-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.burn-input-group label {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.burn-input-group input {
    padding: 12px 16px;
    border: 2px solid #444;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.1rem;
    width: 220px;
    backdrop-filter: blur(5px);
    text-align: center;
    font-weight: bold;
}

.burn-input-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255,107,53,0.3);
}

.quick-burn {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}

.quick-burn span {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.quick-burn-buttons {
    display: flex;
    gap: 8px;
}

/* ENHANCED QUICK BURN BUTTONS */
.btn-quick {
    padding: 10px 16px;
    background: #444;
    color: white;
    border: 2px solid #666;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 50px;
}

.btn-quick:hover {
    background: #555;
    border-color: #777;
    transform: translateY(-1px);
}

.btn-quick.selected {
    background: linear-gradient(45deg, #ff0000, #ff6b35);
    border-color: #ff6b35;
    color: white;
    box-shadow: 0 0 15px rgba(255,107,53,0.5);
    animation: quickBurnGlow 1s ease-in-out infinite;
}

@keyframes quickBurnGlow {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(255,107,53,0.5);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255,107,53,0.8);
    }
}

.btn-quick.selected::after {
    content: " 🔥";
}

/* SCREEN SHAKE EFFECT */
@keyframes screenShake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -1px) rotate(0.5deg); }
    20% { transform: translate(2px, 1px) rotate(-0.5deg); }
    30% { transform: translate(-1px, -2px) rotate(0.3deg); }
    40% { transform: translate(1px, 2px) rotate(-0.3deg); }
    50% { transform: translate(-2px, 1px) rotate(0.2deg); }
    60% { transform: translate(2px, -1px) rotate(-0.2deg); }
    70% { transform: translate(-1px, 2px) rotate(0.1deg); }
    80% { transform: translate(1px, -2px) rotate(-0.1deg); }
    90% { transform: translate(-1px, 1px) rotate(0.05deg); }
}

.screen-shake {
    animation: screenShake 0.6s ease-out;
}

/* IMPACT FLASH EFFECT */
@keyframes impactFlash {
    0% { background: rgba(255,255,255,0); }
    10% { background: rgba(255,255,255,0.8); }
    100% { background: rgba(255,255,255,0); }
}

.impact-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    animation: impactFlash 0.3s ease-out;
}

/* Feed section */
.feed-section {
    margin-bottom: 40px;
}

.feed-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feed-column h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #ff6b35;
}

.burn-feed, .leaderboard {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

/* Contract section */
.contract-section {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.contract-card {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contract-card h3 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contract-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.address-text {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    word-break: break-all;
    max-width: 400px;
}

.copy-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ff4444;
    transform: scale(1.05);
}

.contract-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contract-link {
    color: #ff6b35;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #ff6b35;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contract-link:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.feed-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feed-column h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #ff6b35;
}

.burn-feed, .leaderboard {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.feed-item {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid #ff6b35;
}

.feed-item.placeholder {
    opacity: 0.5;
    text-align: center;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.7;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid #00ff00;
}

.toast.error {
    border-left: 4px solid #ff0000;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes flicker {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.8); }
}

@keyframes fireParticle {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive design - UPDATED FOR NEW LAYOUT */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .container {
        padding: 15px;
        padding-bottom: 140px; /* More space for mobile floating bar */
    }
    
    /* Wallet section mobile */
    .wallet-section {
        position: fixed;
        top: 10px;
        right: 10px;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .wallet-address-display {
        max-width: 100px;
        font-size: 0.8rem;
    }
    
    /* Total burned display mobile */
    .total-burned-display {
        padding: 15px;
        margin: 20px auto;
    }
    
    .total-burned-value {
        font-size: 2.5rem;
    }
    
    /* Health bar mobile - now integrated in total burned */
    .health-bar-container {
        width: 100%;
        margin: 15px auto 0;
    }
    
    .health-bar {
        height: 16px;
    }
    
    .health-percentage {
        font-size: 0.7rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .doll-container {
        width: 300px;
        height: 500px;
    }
    
    .doll-wrapper {
        top: 60px;
    }
    
    .doll {
        width: 250px;
        height: 350px;
    }
    
    .hanger-hook {
        width: 45px;
        height: 30px;
    }
    
    .hanger-ring {
        width: 25px;
        height: 25px;
    }
    
    .feed-container {
        grid-template-columns: 1fr;
    }
    
    /* Mobile - disable desktop side panels */
    .feed-column:first-child,
    .feed-column:last-child {
        position: static !important;
        width: auto !important;
        height: auto !important;
    }
    
    .feed-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        height: auto !important;
    }
    
    .burn-feed, .leaderboard {
        height: 250px !important;
        border: none !important;
        background: rgba(0,0,0,0.3) !important;
    }
    
    /* Floating burn bar mobile */
    .floating-burn-bar {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        bottom: 10px;
    }
    
    .burn-input-group {
        width: 100%;
    }
    
    .burn-input-group input {
        width: 100%;
        max-width: 250px;
    }
    
    .quick-burn-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .btn-quick {
        min-width: 45px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
} 

/* DESKTOP SIDE PANELS - GAMING HUD LAYOUT */
@media (min-width: 1200px) {
    .main-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
        margin-bottom: 40px;
        position: relative;
        min-height: 80vh;
    }
    
    /* Left panel - Live Burns */
    .feed-section {
        position: absolute;
        left: 0;
        top: 100px;
        width: 300px;
        margin-bottom: 0;
    }
    
    .feed-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: none;
        margin: 0;
        height: 80vh;
    }
    
    /* Live burns on the left */
    .feed-column:first-child {
        position: fixed;
        left: 20px;
        top: 200px;
        width: 280px;
        height: 80vh;
        z-index: 100;
    }
    
    /* Top burners on the right */
    .feed-column:last-child {
        position: fixed;
        right: 20px;
        top: 200px;
        width: 280px;
        height: 80vh;
        z-index: 100;
    }
    
    .burn-feed, .leaderboard {
        height: calc(80vh - 60px); /* Account for header */
        max-height: none;
        border: 2px solid rgba(255,107,53,0.3);
        backdrop-filter: blur(10px);
        background: rgba(0,0,0,0.6);
    }
    
    /* Custom scrollbars for desktop panels */
    .burn-feed::-webkit-scrollbar, .leaderboard::-webkit-scrollbar {
        width: 8px;
    }
    
    .burn-feed::-webkit-scrollbar-track, .leaderboard::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
    }
    
    .burn-feed::-webkit-scrollbar-thumb, .leaderboard::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #ff6b35, #ff4444);
        border-radius: 4px;
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .burn-feed::-webkit-scrollbar-thumb:hover, .leaderboard::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #ff4444, #ff2222);
    }
    
    /* Center the doll container */
    .doll-container {
        position: relative;
        margin: 0 auto;
        z-index: 50;
    }
}

 