@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Roboto+Mono:wght@400;700&display=swap");

body {
    background-color: #1a1c1a;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    color: #e2e8f0;
    font-family: "Roboto Mono", monospace;
    overflow-x: hidden;
    margin: 0;
}

.bw-heading { font-family: "Black Ops One", cursive; letter-spacing: 2px; }

.bw-card {
    background: linear-gradient(145deg, #2d312d, #1f231f);
    border-left: 5px solid #4b5320;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.avatar-box {
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    width: 70px;
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avatar-img {
    transition: all 0.5s ease-in-out;
    transform-origin: bottom center;
}

.is-out .avatar-img {
    transform: scale(1.3) translateY(5px);
}

@keyframes damage-flash {
    0% { background-color: rgba(239, 68, 68, 0.8); transform: scale(1.1); }
    100% { background-color: transparent; transform: scale(1); }
}

@keyframes heal-flash {
    0% { background-color: rgba(16, 185, 129, 0.6); transform: scale(1.1); }
    100% { background-color: transparent; transform: scale(1); }
}

.low-life-flash { animation: damage-flash 0.4s ease-out; border-color: #ef4444 !important; }
.heal-flash { animation: heal-flash 0.4s ease-out; border-color: #10b981 !important; }

.is-out {
    border-left-color: #ef4444 !important;
    opacity: 0.85;
    filter: grayscale(0.4) contrast(1.1);
}

.elim-banner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.elim-banner::before {
    content: "✖ ELIMINIERT ✖";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-family: "Black Ops One", cursive;
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
    color: #ef4444;
    background: rgba(0, 0, 0, 0.82);
    border-top: 2px solid #ef4444;
    border-bottom: 2px solid #ef4444;
    padding: 6px 120px;
    text-shadow:
        0 0 8px rgba(239, 68, 68, 0.9),
        0 0 20px rgba(239, 68, 68, 0.5);
    box-shadow:
        0 0 12px rgba(239, 68, 68, 0.4),
        inset 0 0 8px rgba(239, 68, 68, 0.15);
    animation: elim-pulse 2.5s ease-in-out infinite;
}

@keyframes elim-pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(239,68,68,0.9), 0 0 20px rgba(239,68,68,0.5);
    }
    50% {
        opacity: 0.75;
        text-shadow: 0 0 4px rgba(239,68,68,0.5), 0 0 10px rgba(239,68,68,0.2);
    }
}

.alert-wrapper {
    position: fixed; inset: 0; display: flex; align-items: center;
    justify-content: center; z-index: 9999; pointer-events: none; padding: 20px;
}

@keyframes fly-in-out {
    0% { transform: translateX(120%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-150%); opacity: 0; }
}

.breaking-news {
    background: rgba(127, 29, 29, 0.98);
    border: 8px double #f87171;
    padding: 3rem;
    width: 100%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 150px rgba(239, 68, 68, 0.8);
    animation: fly-in-out 5s forwards;
}

.discord-btn {
    background: #5865F2;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.discord-btn:hover { background: #4752C4; }

.bl-gold { color: #d4af37; }
.btn-bw { background: #4b5320; transition: all 0.2s; cursor: pointer; }

@keyframes toast-in-out {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
.toast {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 9998;
    background: #1f231f; border: 1px solid #4b5320;
    padding: 1rem 1.5rem; font-size: 12px;
    animation: toast-in-out 3s forwards;
}
