/* NKB Gaming - Shared Tool Theme */
:root {
    --nioh-red: #c0392b;
    --nioh-gold: #f1c40f;
    --nioh-dark: #111;
    --bg-texture: url("https://www.transparenttextures.com/patterns/black-scales.png");
}

body {
    background-color: #050505;
    background-image: var(--bg-texture);
    color: #ecf0f1;
    font-family: "Noto Serif JP", serif;
}

.cinzel {
    font-family: "Cinzel", serif;
}

.gold-text {
    color: var(--nioh-gold);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.red-border {
    border: 1px solid var(--nioh-red);
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.2);
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--nioh-red);
    border: 2px solid var(--nioh-gold);
    cursor: pointer;
    margin-top: -10px;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

/* Stat Card */
.stat-card {
    background: rgba(20, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid #444;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--nioh-gold);
}

/* Tabs */
.tab-btn.active {
    background: rgba(192, 57, 43, 0.2);
    border-color: var(--nioh-red);
    color: #fff;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    color: #888;
}

/* Toast */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 17px;
    border: 1px solid var(--nioh-gold);
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}