/* --- БАЗА --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;900&display=swap');

:root {
    --primary-gold: #ffc107;
    --primary-green: #4caf50;
    --bg-main: #261f1d;
    --bg-container: #362f2d;
    --bg-sidebar: #2b2422;
    --border-color: #1a1514;
    --text-cream: #f7edd7;
    --nav-height: 70px; 
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-cream);
    padding-top: var(--nav-height);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- ВЕРХНЯЯ ПАНЕЛЬ (NAV) --- */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    min-height: var(--nav-height);
    background: var(--bg-sidebar);
    border-bottom: 4px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 1000;
    overflow: visible;
    gap: 10px;
}

nav .nav-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav > a:not(.mobile-nav-title),
nav .nav-btn-group a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 10px 20px;
    background: #4e4542;
    border: 3px solid var(--border-color);
    border-radius: 6px;
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.15), 0 3px 0 var(--border-color);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 140px;
    flex-shrink: 0;
}

nav a:hover {
    background: #5d5451;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.15), 0 5px 0 var(--border-color);
}

nav a:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.2), 0 1px 0 var(--border-color);
    background: #3a3331;
}

nav a.active {
    background: var(--primary-gold);
    color: #3e2700;
    border-color: #c49000;
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.4), 0 3px 0 #7c5c00;
    width: 144px;
    flex-shrink: 0;
}

/* Кнопка меню (hamburger) */
nav button.nav-menu-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    background: #4e4542;
    border: 3px solid var(--border-color);
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.15), 0 3px 0 var(--border-color);
    cursor: pointer;
    transition: all 0.15s ease;
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    font-size: 22px;
    color: var(--primary-gold);
}

nav button.nav-menu-btn:hover {
    background: #5d5451;
    color: var(--primary-gold);
    transform: translateY(-50%) translateY(-2px);
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.15), 0 5px 0 var(--border-color);
}

nav button.nav-menu-btn:active {
    transform: translateY(-50%) translateY(2px);
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.2), 0 1px 0 var(--border-color);
    background: #3a3331;
}

/* Выпадающее меню */
.nav-dropdown {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    background: var(--bg-sidebar);
    border: 3px solid var(--border-color);
    border-radius: 0 12px 12px 0;
    padding: 0;
    z-index: 999;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.4);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.nav-dropdown.show {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown.closing {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-dropdown.show a {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.nav-dropdown.show a:nth-child(1) { transition-delay: 0.1s; }
.nav-dropdown.show a:nth-child(2) { transition-delay: 0.15s; }
.nav-dropdown.show a:nth-child(3) { transition-delay: 0.2s; }
.nav-dropdown.show a:nth-child(4) { transition-delay: 0.25s; }
.nav-dropdown.show a:nth-child(5) { transition-delay: 0.3s; }
.nav-dropdown.show a:nth-child(6) { transition-delay: 0.35s; }
.nav-dropdown.show a:nth-child(7) { transition-delay: 0.4s; }
.nav-dropdown.show a:nth-child(8) { transition-delay: 0.45s; }

.nav-dropdown a {
    display: block;
    padding: 12px 40px 12px 20px;
    color: var(--text-cream);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
}

.nav-dropdown.show a {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav-dropdown a:first-child {
    border-radius: 0 10px 0 0;
}

.nav-dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 0;
}

@media (min-width: 951px) {
    .nav-dropdown .nav-section {
        display: none;
    }
}

.nav-dropdown .nav-section {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
    margin-bottom: 8px;
}

.nav-dropdown .nav-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    padding: 12px 20px 6px;
    opacity: 0.8;
    display: block;
}

.nav-dropdown a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary-gold);
    box-shadow: inset 0 0 10px rgba(255,193,7,0.1);
}

/* --- ШАПКА (HEADER) --- */
header {
    width: 100%;
    padding: 40px 20px;
    min-height: 182px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1587941718721-e618c8713418?auto=format&fit=crop&q=80&w=1920') center/cover;
    text-align: center;
    border-bottom: 5px solid var(--border-color);
    margin-bottom: 50px;
}

header h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--primary-gold);
    text-shadow: 4px 4px 0 #000;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

header p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #eee;
    text-shadow: 2px 2px 0 #000;
    opacity: 0.95;
    font-weight: 500;
}

/* Мобильное название в nav */
.mobile-nav-title,
.mobile-nav-subtitle {
    display: none;
}

@media (max-width: 950px) {
    .mobile-nav-title,
    .mobile-nav-title:hover,
    .mobile-nav-title:active {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        justify-content: center;
        width: 200px;
        color: var(--primary-gold);
        font-size: 1.4rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-decoration: none;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
        text-shadow: 2px 2px 0 #000;
        cursor: default;
        transition: none;
    }
    
    .mobile-nav-subtitle {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 46px;
        color: #aaa;
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        white-space: nowrap;
    }
    
    header h1 {
        display: none;
    }
}

@media (max-width: 950px) {
    .mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-gold);
        font-size: 1.2rem;
        font-weight: 900;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 8px 15px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .mobile-logo:hover {
        color: #fff;
    }
}

header h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--primary-gold);
    text-shadow: 3px 3px 0 #000;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

header p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #eee;
    text-shadow: 2px 2px 0 #000;
    opacity: 0.95;
    font-weight: 500;
}

/* --- НОВАЯ СИСТЕМА МАКЕТА (LAYOUT) --- */
.wiki-layout {
    display: grid;
    grid-template-columns: 280px minmax(300px, 800px) 280px; 
    justify-content: center;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
    gap: 30px;
    position: relative;
    width: 100%;
}

/* Боковая панель (Sidebar) */
.sidebar-wrapper {
    grid-column: 1;
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    z-index: 10;
}

.wiki-sidebar, .status-sidebar {
    background: var(--bg-sidebar);
    border: 4px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 0 rgba(0,0,0,0.2);
    width: 100%;
}

.container {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: 750px;
    background: var(--bg-container);
    border: 4px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.sidebar-spacer {
    grid-column: 3;
    grid-row: 1;
}

@media (max-width: 1100px) {
    .wiki-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }
    
    .sidebar-wrapper {
        width: 100%;
        max-width: 500px;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
    
    .sidebar-spacer {
        display: none;
    }
}

@media (max-width: 950px) {
    .sidebar-wrapper {
        position: relative;
        top: 0;
    }
    
    nav {
        padding: 10px;
        flex-wrap: wrap;
    }
    
    header {
        min-height: 135px;
        padding: 30px 20px;
    }
    
    nav a:not(.nav-dropdown a):not(.mobile-nav-title) {
        display: none;
    }
    
    .nav-menu-btn {
        display: flex !important;
    }
    
    .nav-dropdown {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        border: none;
        border-bottom: 3px solid var(--border-color);
        min-width: unset;
        max-width: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        top: var(--nav-height);
    }
    
    .nav-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-dropdown.closing {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .nav-dropdown > a {
        padding: 12px 20px !important;
        opacity: 0;
        transition: opacity 0.3s ease;
        height: 44px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    
    .nav-dropdown .nav-section-title {
        display: none;
    }
    
    .nav-dropdown .nav-section > a {
        padding: 12px 20px !important;
        opacity: 0;
        transition: opacity 0.3s ease;
        height: 44px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    
    .nav-dropdown .nav-section a {
        opacity: 0;
        transition: opacity 0.3s ease;
        height: 44px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    
    .nav-dropdown.show > a,
    .nav-dropdown.show .nav-section > a,
    .nav-dropdown.show .nav-section a {
        opacity: 1;
    }
    
    .nav-dropdown .nav-section {
        display: block;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    
    .nav-dropdown .nav-section > a {
        display: block;
        padding: 14px 30px;
        color: var(--text-cream);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        background: none;
        border: none;
        border-bottom: 1px solid var(--border-color);
        box-shadow: none;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
        border-radius: 0;
        text-align: left;
        opacity: 0;
    }
    
    .nav-dropdown.show > a,
    .nav-dropdown.show .nav-section > a {
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .nav-dropdown .nav-section a:first-child {
        border-radius: 0;
    }
    
    .nav-dropdown .nav-section a:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown .nav-section a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--primary-gold);
    }
    
    .nav-dropdown a.active,
    .nav-dropdown .nav-section a.active {
        background: var(--primary-gold) !important;
        color: #3e2700 !important;
    }
}

/* --- ЭЛЕМЕНТЫ SIDEBAR --- */
.sidebar-wrapper h4 {
    background: var(--border-color);
    margin: -20px -20px 15px -20px;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.wiki-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.wiki-sidebar a, .social-btn {
    display: block; 
    padding: 12px; 
    background: #4e4542; 
    color: #fff;
    text-decoration: none; 
    text-align: center; 
    font-weight: 900;
    text-transform: uppercase; 
    font-size: 0.75rem;
    border: 3px solid var(--border-color); 
    border-radius: 6px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 4px 0 var(--border-color);
    transition: 0.1s;
}

.wiki-sidebar a:hover, .social-btn:hover {
    background: #5d5451; 
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 6px 0 var(--border-color);
}
.wiki-sidebar a:active, .social-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.2), 0 2px 0 var(--border-color);
}

/* --- БЛОК СТАТУСА --- */
.status-box { text-align: center; padding: 10px 0; }
.online-indicator {
    background: var(--primary-green);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    border: 2px solid #2e6631;
    margin-bottom: 5px;
}
.online-count {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin: 8px 0;
}
.ip-address {
    background: var(--border-color);
    color: var(--primary-gold);
    padding: 12px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid var(--primary-gold);
    margin-top: 5px;
    user-select: all;
    cursor: pointer;
}

.server-copy-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--border-color);
    color: var(--primary-gold);
    text-decoration: none;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 3px solid var(--primary-gold);
    border-radius: 6px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
    transition: 0.1s;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
    margin-top: 15px;
    letter-spacing: 1px;
}

.server-copy-btn:hover {
    background: rgba(255, 193, 7, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0,0,0,0.3);
    animation: none;
}

.server-copy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.divider { border: 0; border-top: 2px solid var(--border-color); margin: 10px 0; }
.social-stack { display: flex; flex-direction: column; gap: 10px; }


/* --- МАГАЗИН (DONATE) --- */
.shop-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    margin-top: 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-container);
    border: 4px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 0 var(--border-color);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-8px); }
.card-header { font-size: 1.8rem; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; color: var(--primary-gold); text-shadow: 2px 2px 0 #000; }
.price { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; color: #fff; }
.price span { font-size: 1rem; color: var(--primary-gold); }
.features { list-style: none; margin-bottom: 30px; flex-grow: 1; padding: 0; }
.features li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: var(--text-cream); }
.features li b { color: #fff; }

.buy-btn {
    display: block;
    background: var(--primary-green);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    padding: 15px;
    border: 3px solid var(--border-color);
    border-radius: 8px;
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.2), 0 4px 0 #2e6631;
    transition: 0.1s;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    width: 100%;
}

.buy-btn:hover:not(:disabled) { background: #66bb6a; transform: scale(1.02); }
.buy-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: none; }
.buy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Форма покупки */
.buy-form {
    margin-bottom: 15px;
    animation: fadeInUp 0.3s ease;
}

.nickname-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-sidebar);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-cream);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.2), 0 3px 0 var(--border-color);
    transition: all 0.2s ease;
    outline: none;
}

.nickname-input::placeholder {
    color: rgba(247, 237, 215, 0.5);
}

.nickname-input:focus {
    border-color: var(--primary-gold);
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.2), 0 3px 0 var(--primary-gold);
    background: #362f2d;
}

.nickname-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.buy-btn.confirm-btn {
    background: var(--primary-gold);
    color: #3e2700;
    border-color: #c49000;
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.4), 0 4px 0 #7c5c00;
}

.buy-btn.confirm-btn:hover:not(:disabled) {
    background: #ffd54f;
    transform: scale(1.02);
}

.vips { border-color: #4caf50; }
.premiums { border-color: #2196f3; }
.deluxes { border-color: #9c27b0; }

/* --- ИНФОРМАЦИЯ И ПРАВИЛА --- */
.info-container {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: flex; flex-direction: column; gap: 30px;
}
.info-card-wide {
    background: var(--bg-container); border: 4px solid var(--border-color);
    border-radius: 12px; padding: 30px; box-shadow: 0 10px 0 var(--border-color);
}
.info-card-wide h2 { color: var(--primary-gold); margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid rgba(255,193,7,0.2); padding-bottom: 10px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat-card {
    background: var(--bg-sidebar); border: 3px solid var(--border-color);
    border-radius: 10px; padding: 20px; text-align: center; transition: 0.3s;
}
.stat-card:hover { transform: translateY(-5px); background: #362f2d; }
.stat-icon { font-size: 2.5rem; margin-bottom: 10px; }
.stat-card h3 { color: var(--primary-gold); margin-bottom: 5px; font-size: 1.1rem; }
.stat-card span { font-size: 0.75rem; opacity: 0.6; display: block; margin-top: 5px; }

.feature-item, .rule-item, .feature-small {
    background: rgba(0, 0, 0, 0.2); padding: 15px;
    border-radius: 8px; margin-bottom: 15px; border-left: 4px solid var(--primary-gold);
    line-height: 1.5;
}

/* --- ГЛАВНАЯ (INDEX) ОСОБЕННОСТИ --- */
.features-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-top: 20px; }
.feature-small { text-align: center; border-left-width: 0; border-top: 4px solid var(--primary-gold); }

/* Правила разделы */
.rule-section { margin-bottom: 40px; scroll-margin-top: 100px; }
.rule-section h2 { color: var(--primary-gold); margin-bottom: 20px; text-transform: uppercase; font-size: 1.4rem; border-bottom: 2px solid rgba(255,193,7,0.2); padding-bottom: 10px; }
.rule-num { color: var(--primary-gold); font-weight: 900; margin-right: 8px; font-size: 1.1em; }
.section-1 { border-left-color: #4caf50; }
.section-2 { border-left-color: #2196f3; }
.section-3 { border-left-color: #f44336; }
.section-4 { border-left-color: #ff9800; }
.section-5 { border-left-color: #9c27b0; }
.section-6 { border-left-color: #00bcd4; }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--border-color);
    color: rgba(255,255,255,0.5);
    margin-top: auto;
    border-top: 3px solid #000;
    font-size: 0.85rem;
}

/* --- АНИМАЦИИ --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sidebar-wrapper, .container, .product-card, .info-card-wide, .stat-card {
    opacity: 0; animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.sidebar-wrapper { animation-delay: 0.1s; }
.container { animation-delay: 0.2s; }
.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.3s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }

/* Контейнер для уведомлений */
.notification-container {
    position: fixed;
    top: calc(var(--nav-height) + 20px);
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-notification {
    background: var(--bg-sidebar);
    color: var(--text-cream);
    border: 3px solid var(--primary-gold);
    border-radius: 8px;
    padding: 15px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

/* Иконка галочки */
.custom-notification::before {
    content: '✔';
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Анимации появления и исчезновения */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}