
/* =====================================
   BLOODLANDS — CUSTOM EASYDONATE THEME
   ===================================== */

:root {
    --accent-color: #c12640;
    --accent-muted: #c1264075;
    --accent-neutral: #c1264050;

    --bl-bg: #120c15;
    --bl-panel: #141116;
    --bl-panel-hover: #20161c;
    --bl-red: #c12640;
    --bl-red-dark: #741529;
    --bl-gold: #f2c66d;
    --bl-text: #f5e9eb;
    --bl-muted: #a99da2;
    --fill-elegant-dark: #120c15;
}

/* Основной фон */
html,
body,
.bg-elegant-dark {
    background-color: var(--bl-bg) !important;
}

.bg-elegant-night {
    background-color: #120c15 !important;
}

.fill-elegant-dark {
    background-color: var(--fill-elegant-dark) !important;
    fill: var(--fill-elegant-dark) !important;
}

.bg-elegant {
    background-color: var(--bl-panel) !important;
}

/* Акцентные элементы EasyDonate */
.stripe-loading-indicator .stripe,
.stripe-loading-indicator .stripe-loaded {
    background: var(--bl-red) !important;
}

.progress-bar {
    background: var(--bl-red) !important;
}

.basket-button {
    background: linear-gradient(
        135deg,
        #c12640,
        #741529
    ) !important;

    border: 1px solid #e34b61;
    box-shadow: 0 5px 24px #c1264035;
    transition: transform .2s, box-shadow .2s;
}

.basket-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px #c1264050;
}

/* Навигация */
.navbar-main {
    background: rgba(11, 9, 12, .88) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #38232a;
}

.navbar-brand img,
.footer-brand img {
    transition: transform .25s ease;
}

.navbar-brand:hover img,
.footer-brand:hover img {
    transform: scale(1.04);
}

.navbar-nav .nav-link {
    transition: color .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #f2c66d !important;
}

/* Главный экран */
#welcome-section {
    background-color: #100b10;
}

.shop-name {
    text-shadow:
        0 3px 15px #000,
        0 0 35px #c1264030;

    letter-spacing: -1px;
}

.shop-description {
    color: #c5b7bd;
}

.general-online span {
    border: 1px solid #c1264060;
    border-radius: 999px;
    background: #100b10d9 !important;
    color: #f2c66d;
}

/* Заголовки разделов */
#servers h2,
#shop h2,
h1, h2, h3 {
    text-wrap: balance;
}

/* Карточки товаров */
.profile-card .card {
    border: 1px solid var(--bl-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.profile-card .card:hover {
    border-color: #a52a40 !important;
    box-shadow: 0 12px 35px #0005;
}

.profile-card .card-image {
    background-color: #100c11 !important;
}

.profile-card .card-title {
    color: var(--bl-text);
}

.profile-card .card-footer h6,
.product-modal h5,
.cart .basket-pricelist-1124115 {
    color: var(--bl-gold);
}

/* Категории и значки */
.badge-active,
.badge-primary,
.badge.bg-elegant {
    background-color: #35131d !important;
    color: #f2c66d !important;
    border: 1px solid #71303e;
}

/* Кнопки */
.btn-danger,
.btn-secondary {
    background: linear-gradient(
        135deg,
        #b62640,
        #741529
    ) !important;

    color: #fff !important;
    border: 1px solid #c13b51 !important;
    border-radius: 9px !important;
    transition: filter .2s, transform .2s;
}

.btn-danger:hover,
.btn-secondary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.btn-light {
    border-radius: 8px !important;
}

/* Поиск */
#shop input[name="search_name"] {
    background: #151116 !important;
    color: #f5e9eb !important;
    border: 1px solid #38232a !important;
    border-radius: 10px 0 0 10px;
}

#shop input[name="search_name"]::placeholder {
    color: #a99da2;
}

#shop .input-group-text {
    background: #35131d !important;
    color: #f2c66d !important;
}

/* Сервер */
#servers .progress-wrapper {
    padding: 20px;
    background: #141116;
    border: 1px solid #38232a;
    border-radius: 14px;
}

#servers .progress {
    background: #2b1b22 !important;
    border-radius: 99px;
    overflow: hidden;
}

#servers .server-version {
    background: #741529 !important;
}

/* Корзина и окна */
.modal-content {
    border: 1px solid #49232d;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 20px 70px #0008;
}

.modal-header,
.modal-footer {
    border-color: #38232a !important;
}

.cart .alert-warning {
    background: #382617;
    color: #ffe1a0;
    border: 1px solid #725027;
    border-radius: 10px;
}

.cart input.form-control {
    color: #f5e9eb !important;
    border: 1px solid #38232a !important;
}

.cart input.form-control::placeholder {
    color: #8f8288;
}

/* Способы оплаты */
#payment-type .card {
    border: 1px solid #e1e1e1 !important;
    border-radius: 12px !important;
    transition: transform .2s, box-shadow .2s;
}

#payment-type .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px #0002 !important;
}

/* Инструкция */
.main-instruction p {
    color: #c5b7bd;
    line-height: 1.7;
}

.main-instruction p.font-weight-bolder {
    color: #f2c66d;
}

/* Футер */
footer.footer {
    background: #100c11 !important;
    border-top: 1px solid #38232a;
}

footer a {
    transition: color .2s;
}

footer a:hover {
    color: #f2c66d !important;
}

/* Выделение текста */
::selection {
    background: #8c1d30;
    color: #fff;
}

/* Адаптация под телефон */
@media (max-width: 768px) {
    .shop-name {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .profile-card .card {
        border-radius: 12px !important;
    }

    #servers .progress-wrapper {
        padding: 14px;
    }

    .modal-dialog {
        margin: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
