/* ==========================================================================
   EASYDONATE x LULLABY — PREMIUM DARK (v41.0 — FINAL IP RETURN)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Pixelify+Sans:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@800&display=swap');

/* ==========================================================================
   1. БАЗА И ФОН
   ========================================================================== */
:root {
    color-scheme: dark !important;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Pixelify Sans', 'Plus Jakarta Sans', sans-serif; 
    --font-round: 'Comfortaa', cursive; 
    --font-mono: 'JetBrains Mono', monospace;
    --accent-green: #81c784;
}

* { -webkit-tap-highlight-color: transparent !important; }

html, body {
    background-color: #060907 !important;
    background-image: linear-gradient(180deg, #0a0e0c 0%, #060907 100%) !important;
    font-family: var(--font-main) !important;
    color: #ffffff !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

/* Скроллбар */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060907; }
::-webkit-scrollbar-thumb { background: rgba(102, 187, 106, 0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-green); }

/* ==========================================================================
   2. ШАПКА, НАВИГАЦИЯ И ВЕРХНЯЯ РАМКА
   ========================================================================== */
.navbar, header, nav {
    background: rgba(10, 14, 12, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    position: relative;
}

/* --- IP В ПРАВОМ УГЛУ ШАПКИ --- */
.navbar::after, header::after, nav::after {
    content: "IP: mc.GreenWhite.fun" !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    
    font-family: var(--font-mono) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--accent-green) !important;
    
    background: rgba(129, 199, 132, 0.1) !important;
    border: 1px solid rgba(129, 199, 132, 0.2) !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
}

.navbar::after:hover, header::after:hover, nav::after:hover {
    background: rgba(129, 199, 132, 0.2) !important;
    box-shadow: 0 0 10px rgba(129, 199, 132, 0.3) !important;
}

.navbar a, .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.navbar a:hover, .nav-link:hover { color: var(--accent-green) !important; }

.navbar-toggler { border: none !important; box-shadow: none !important; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28129, 199, 132, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- ВЕРХНЯЯ РАМКА --- */
.header-server-box,
.server-info-container,
.server-card,
div:has(> .shop-name) {
    background: rgba(255, 255, 255, 0.03) !important; 
    border: 1px solid rgba(255, 255, 255, 0.15) !important; 
    border-radius: 24px !important; 
    padding: 30px !important; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important; 
    margin-bottom: 30px !important;
}

/* Название сервера (GreenWhite) */
h1.display-1, 
.shop-name,
h1:contains("GreenWhite") {
    font-family: var(--font-round) !important; 
    font-weight: 700 !important;
    font-size: 3.2rem !important; 
    letter-spacing: 0px !important; 
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    background: linear-gradient(90deg, #55FF55 50%, #ffffff 50%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important; 
    filter: drop-shadow(0 0 15px rgba(85, 255, 85, 0.2)) !important;
}

/* Скрываем старый IP и Онлайн */
span[style*="background: #00000040"], 
span[style*="background: rgba(0,0,0,0.25)"],
.ip-badge,
.server-status-text {
    display: none !important; 
}

/* Версия (1.20.1) */
.version-badge, 
span[style*="#FFAA00"] {
    background: transparent !important;
    color: #a0a0a0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-family: var(--font-mono) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-top: 15px !important;
}

/* ==========================================================================
   3. КАРТОЧКИ ТОВАРОВ
   ========================================================================== */
.card {
    background: #101612 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    transform: translateZ(0);
}

.card-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.card-body, .card-footer, .card-header {
    background: transparent !important;
    border: none !important;
}

.card:hover {
    transform: translateY(-3px) translateZ(0) !important;
    border-color: rgba(102, 187, 106, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(102, 187, 106, 0.1) !important;
}

/* --- ЗАГОЛОВОК "НАШИ ТОВАРЫ" --- */
h4:contains("Наши"), 
h5:contains("Наши"),
.section-title,
.title-block h2,
.title-block h3 {
    color: #ffffff !important; 
    font-family: var(--font-round) !important; 
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important; 
    background: transparent !important;
    margin-bottom: 25px !important;
    padding: 5px 0 !important;
    display: block !important;
    letter-spacing: 1px !important;
}

/* --- НАЗВАНИЯ ДОНАТОВ (МАЙНКРАФТ-ШРИФТ) --- */
.card-title, .card h3, .card h4, .card h5 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    background-color: transparent !important;
    padding-right: 5px !important; 
    line-height: 1.4 !important;
    text-transform: none !important;
    display: inline-block;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
}

/* 1. Росток */ [data-name*="Росток" i] .card-title, .row > div:nth-child(1) .card-title { color: #55FF55 !important; text-shadow: 0 0 8px rgba(85, 255, 85, 0.6) !important; }
/* 2. Иголка */ [data-name*="Иголка" i] .card-title, .row > div:nth-child(2) .card-title { color: #00AA00 !important; text-shadow: 0 0 8px rgba(0, 170, 0, 0.6) !important; }
/* 3. Бутон */ [data-name*="Бутон" i] .card-title, .row > div:nth-child(3) .card-title { color: #55FFFF !important; text-shadow: 0 0 8px rgba(85, 255, 255, 0.6) !important; }
/* 4. Агава */ [data-name*="Агава" i] .card-title, .row > div:nth-child(4) .card-title { color: #00AAAA !important; text-shadow: 0 0 8px rgba(0, 170, 170, 0.6) !important; }
/* 5. Алоэ */ [data-name*="Алоэ" i] .card-title, .row > div:nth-child(5) .card-title { color: #FFFFFF !important; text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important; }
/* 6. Кактус */ [data-name*="Кактус" i] .card-title, .row > div:nth-child(6) .card-title { color: #FFAA00 !important; text-shadow: 0 0 8px rgba(255, 170, 0, 0.6) !important; }
/* 7. Страж */ [data-name*="Страж" i] .card-title, .row > div:nth-child(7) .card-title { color: #AA00AA !important; text-shadow: 0 0 8px rgba(170, 0, 170, 0.6) !important; }
/* 8. Оазис */ [data-name*="Оазис" i] .card-title, .row > div:nth-child(8) .card-title { color: #FF5555 !important; text-shadow: 0 0 8px rgba(255, 85, 85, 0.6) !important; }
/* 9. Монарх */ [data-name*="Монарх" i] .card-title, .row > div:nth-child(9) .card-title { color: #5555FF !important; text-shadow: 0 0 8px rgba(85, 85, 255, 0.6) !important; }
/* 10. Повелитель */ [data-name*="Повелитель" i] .card-title, .row > div:nth-child(10) .card-title { color: #AA0000 !important; text-shadow: 0 0 10px rgba(170, 0, 0, 0.7) !important; }

/* Цена */
.card .price, .card-footer .price, .card h4.text-white, .card .cost {
    font-family: var(--font-mono) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    color: var(--accent-green) !important;
}

/* --- ТЕКСТ "КАКТУСУ НУЖНЫ ДОНАТЫ" --- */
.shop-description, 
.card p, 
.card small,
.description-text,
.text-muted,
.text-secondary,
p:contains("донаты") {
    font-family: var(--font-main) !important; 
    color: #ffffff !important; 
    font-weight: 600 !important; 
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; 
    background: transparent !important;
    -webkit-text-fill-color: initial !important;
}

/* ==========================================================================
   4. КНОПКИ И ФОРМЫ
   ========================================================================== */
.btn {
    border-radius: 10px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    transition: transform 0.2s ease, filter 0.2s ease !important;
    transform: translateZ(0);
}

.btn:hover {
    filter: brightness(1.15) !important;
    transform: translateY(-2px) translateZ(0) !important;
}

.form-control, input[type="text"], input[type="search"], select, textarea {
    background: #0d1410 !important; 
    border: 1px solid rgba(129, 199, 132, 0.2) !important; 
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5) !important;
}

.form-control:focus, input:focus {
    border-color: var(--accent-green) !important;
    background: #111a14 !important;
    outline: none !important;
    box-shadow: 0 0 12px rgba(129, 199, 132, 0.25), inset 0 2px 5px rgba(0,0,0,0.5) !important;
}

/* Лупа и иконки */
svg path:not(.fill-elegant-dark), .input-group svg, .input-group .bi-search {
    fill: var(--accent-green) !important; 
    color: var(--accent-green) !important;
}

.input-group-text {
    background: #0d1410 !important;
    border: 1px solid rgba(129, 199, 132, 0.2) !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
}

/* ==========================================================================
   5. МОДАЛЬНЫЕ ОКНА, МЕНЮ И ВОЛНА
   ========================================================================== */
.modal-content, .dropdown-menu, .navbar-collapse {
    background: #0d1410 !important;
    border: 1px solid rgba(129, 199, 132, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9) !important;
}

.dropdown-item { color: rgba(255, 255, 255, 0.8) !important; }
.dropdown-item:hover { background: rgba(129, 199, 132, 0.1) !important; color: var(--accent-green) !important; }

/* Волна убрана */
svg path.fill-elegant-dark, path.fill-elegant-dark, .elegant-divider, .wave-divider {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   6. ФИКС ДЛЯ ТЕЛЕФОНОВ
   ========================================================================== */
@media (max-width: 992px) {
    .card, .btn {
        transition: none !important;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    }
    .card:hover {
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    }
    
    h1.display-1, .shop-name {
        font-size: 2rem !important;
    }
    .header-server-box,
    .server-info-container,
    .server-card,
    div:has(> .shop-name) {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    /* На мобильных прячем IP из шапки, чтобы не перекрывал меню */
    .navbar::after, header::after, nav::after {
        display: none !important;
    }
}