.arena-attack-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 235px;
    padding: 15px 28px;

    border-radius: 9px;
    border: 1px solid #8bd8ff;

    font-size: 22px;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;

background:
  linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,0) 45%),
  linear-gradient(#2fa8ff, #076fca 48%, #004d9a);

    text-shadow:
        0 2px 2px #00345e,
        0 0 8px rgba(255,255,255,.55);

    box-shadow: 0 0 10px rgba(0,160,255,.45),
        inset 0 1px 0 rgba(255,255,255,.7),
        inset 0 -4px 0 rgba(0,40,90,.55);

    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
    animation: arenaAttackPulse 1.4s ease-in-out infinite;
}

.arena-attack-btn:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 28px rgba(0,180,255,1),
        inset 0 1px 0 rgba(255,255,255,.8),
        inset 0 -4px 0 rgba(0,40,90,.55);
}

.arena-attack-btn:active {
    transform: scale(.94);
    filter: brightness(.95);
}

.arena-attack-btn.is-loading {
    opacity: .75;
    filter: brightness(.75);
    animation: none;
}
@media (max-width: 480px) {
    .arena-attack-btn {
        min-width: 200px;
        padding: 12px 20px;
        font-size: 18px;
    }
}

@keyframes arenaAttackPulse {
    0% {
        box-shadow: 0 0 8px rgba(0,160,255,.35);
    }
    50% {
        box-shadow: 0 0 16px rgba(0,180,255,.6);
    }
    100% {
        box-shadow: 0 0 8px rgba(0,160,255,.35);
    }
}

.arena-victory-wrap {
    position: relative;
    display: inline-block;
}

.arena-particle {
    position: absolute; 
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

.arena-particle.gold {
    background: radial-gradient(circle, #fff6a8, #ffd700, #ff8c00);
    box-shadow: 0 0 8px #ffd700;
}

.arena-particle.purple {
    background: radial-gradient(circle, #f4d7ff, #b84cff, #5b00c8);
    box-shadow: 0 0 9px #b84cff;
}
@keyframes arenaBtnPulse {
    0% { box-shadow: 0 0 8px rgba(50,170,255,.55); }
    50% { box-shadow: 0 0 24px rgba(50,170,255,1); }
    100% { box-shadow: 0 0 8px rgba(50,170,255,.55); }
}

.arena-hero-img {
    filter: drop-shadow(0 0 8px rgba(255,255,255,.35));
}

.hp_del2 {
    font-size: 22px !important;
    font-weight: bold;
    color: #ff3838;
    text-shadow: 0 2px 3px #000, 0 0 8px #ff0000;
    pointer-events: none;
}
.arena-reward-box2 {
    max-width: 360px;
    margin: 15px auto;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(#1b2d36, #081116);
    border: 1px solid #5cc8ff;
    box-shadow: 0 0 22px rgba(80,200,255,.45);
    text-align: center;
    color: #fff;
}

.arena-reward-box {
    /* max-width: 360px; */
    margin: 15px auto;
    padding: 16px;
    /* border-radius: 12px; */
    /* background: linear-gradient(#1b2d36, #081116); */
    /* border: 1px solid #5cc8ff; */
    /* box-shadow: 0 0 22px rgba(80, 200, 255, .45); */
    text-align: center;
    color: #fff;
}

.arena-reward-title {
    font-size: 34px;
    font-weight: bold;
    color: #ffd34d;
    text-shadow:
        0 2px 4px #000,
        0 0 12px #ffb300,
        0 0 25px #ff9800;
    animation: arenaTitlePop 0.4s ease;
}
.arena-btn-main {
    box-shadow: 0 0 18px rgba(0,150,255,.7);
    transform: scale(1.05);
}
@keyframes arenaTitlePop {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.arena-reward-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.arena-btn-main:hover {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(0,150,255,.9);
}
.arena-reward-item {
    background: linear-gradient(#1e2f38, #0c171c);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0 10px rgba(255,200,0,.2);
backdrop-filter: blur(4px);
}
.arena-result-sub {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #9be7ff;

    text-shadow:
        0 0 6px #00cfff,
        0 0 12px rgba(0,200,255,.6);

    letter-spacing: 0.5px;
animation: subGlow 2s ease-in-out infinite;
}
.arena-particle.dark {
    background: radial-gradient(circle, #444, #000);
    box-shadow: 0 0 6px #000;
}
.arena-result-sub.lose {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ff6b6b;

    text-shadow:
        0 0 6px #ff0000,
        0 0 12px rgba(255,0,0,.6);

    animation: subGlowLose 2s ease-in-out infinite;
}

@keyframes subGlowLose {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
.arena-result-sub:after {
    content: "";
    display: block;
    margin: 6px auto 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #00cfff, transparent);
}


@keyframes subGlow {
    0% { 
        opacity: 0.6;
        text-shadow:
            0 0 4px #00cfff,
            0 0 8px rgba(0,200,255,.4);
    }
    50% { 
        opacity: 1;
        text-shadow:
            0 0 10px #00eaff,
            0 0 20px rgba(0,200,255,.8);
    }
    100% { 
        opacity: 0.6;
        text-shadow:
            0 0 4px #00cfff,
            0 0 8px rgba(0,200,255,.4);
    }
}

.arena-reward-item.gold {
    color: #ffd34d;
    text-shadow: 0 0 8px #ffb300;
}
.arena-reward-item img {
    width: 18px;
    vertical-align: middle;
}
.arena-result-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
} 

.arena-result-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.arena-result-title.win {
    color: #ffd34d;
    text-shadow: 0 0 15px #ffb300;
}

.arena-result-title.lose {
    color: #ff4d4d;
    text-shadow: 0 0 15px #ff0000;
}

.arena-result-sub {
    font-size: 16px;
    opacity: .8;
}
#arena_preload_text {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}
#fight_result.arena-hidden {
    opacity: 0;
    pointer-events: none;
}