* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #00aaff;
    --light-blue: #dbf3ff;
    --dark: #131313;        /* Основной фон */
    --card-bg: #1c1c1c;     /* Фон карточек */
    --glass: rgba(28, 28, 28, 0.95);
    --glow: 0 0 10px #00aaff, 0 0 20px #00aaff;
}

/* Подключаем шрифт Minecraft */
@font-face {
    font-family: 'Minecraft';
    src: url('minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Базовые стили */
body {
    font-family: 'Minecraft', 'Courier New', monospace !important;
    background: var(--dark);
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}

/* ВСЕ элементы используют Minecraft шрифт */
* {
    font-family: 'Minecraft', 'Courier New', monospace !important;
}

/* НО! Иконки Font Awesome НЕ трогаем */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

/* Прогресс бар */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--blue);
    width: 0%;
    z-index: 1000;
    box-shadow: var(--glow);
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--card-bg);
    border: 2px solid var(--blue);
    color: var(--blue);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    backdrop-filter: blur(5px);
    display: none;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Уведомление */
.notification {
    position: fixed;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

/* Шапка */
header {
    padding: 20px 20px 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Бургер меню */
.menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.burger-btn {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burger-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Маленький Аллей в шапке */
.header-mascot-small {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--blue));
    transition: 0.3s;
}

.header-mascot-small:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--blue));
}

.burger-menu {
    position: absolute;
    top: 55px;
    left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--blue);
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: 0.4s;
    z-index: 100;
}

.burger-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.burger-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

.burger-menu a:hover {
    background: rgba(0, 170, 255, 0.2);
    transform: translateX(5px);
}

.burger-menu a.active {
    background: var(--blue);
    color: var(--dark);
}

/* Кнопка языка */
.lang-btn {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 0 15px;
    height: 45px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.lang-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Иконка авторизации */
.auth-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
    background: var(--card-bg);
}

.auth-icon:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
    transform: scale(1.05);
}

/* Иконка корзины */
.cart-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border: 2px solid var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
    background: var(--card-bg);
}

.cart-icon:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--blue);
    color: var(--dark);
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Основная шапка (большой Аллей убираем) */
.header-main {
    display: none;
}

/* Онлайн счетчик - переносим в правую часть */
.online {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 12px;
    padding: 0 15px;
    height: 45px;
    backdrop-filter: blur(5px);
    margin-left: 10px;
}

.online i {
    color: var(--blue);
    font-size: 16px;
}

.online span {
    font-size: 14px;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 40px;
}

/* Карточки - новый цвет фона */
.card {
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: var(--glow);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.8rem;
    color: var(--light-blue);
    margin-bottom: 15px;
}

/* Основная сетка */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* IP блок */
.ip-block {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 5px 5px 5px 20px;
    border: 1px solid var(--blue);
    margin-top: 15px;
}

.ip {
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.copy-btn {
    background: var(--dark) !important;  /* #131313 */
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    white-space: nowrap;
    font-size: 14px;
    height: 45px;
}

.copy-btn:hover {
    background: var(--blue) !important;
    color: var(--dark);
    box-shadow: var(--glow);
}

.copy-btn i {
    font-size: 16px;
}

/* Факты */
.fact {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 170, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--blue);
}

.fact i {
    color: var(--blue);
    font-size: 20px;
}

/* Категории магазина */
.shop-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.category-btn {
    background: var(--card-bg);
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Сетка магазина */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.shop-item {
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.4s;
}

.shop-item:hover {
    box-shadow: var(--glow);
    transform: translateY(-10px);
}

.shop-item i {
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.shop-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--blue);
    margin: 20px 0;
}

/* Кнопка добавления в корзину */
.add-to-cart-btn {
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    font-size: 16px;
}

.add-to-cart-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
    transform: scale(1.02);
}

.add-to-cart-btn i {
    font-size: 16px;
    margin-bottom: 0;
}

/* Ползунки для валюты */
.currency-item {
    padding-bottom: 30px;
}

.price-display {
    font-size: 1.2rem;
    margin: 15px 0;
    padding: 10px;
    background: rgba(0, 170, 255, 0.1);
    border-radius: 12px;
}

.currency-amount {
    color: var(--blue);
    font-weight: bold;
    font-size: 1.4rem;
}

.currency-price {
    color: #ffaa00;
    font-weight: bold;
    font-size: 1.4rem;
}

.slider-container {
    width: 100%;
    padding: 10px 0 20px;
}

.currency-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, var(--blue), #ffaa00);
    border-radius: 4px;
    outline: none;
}

.currency-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: white;
    border: 2px solid var(--blue);
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px var(--blue);
    transition: 0.2s;
}

.currency-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--blue);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--light-blue);
}

/* Команда */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    box-shadow: var(--glow);
    transform: scale(1.03);
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.avatar i {
    font-size: 4rem;
    color: var(--blue);
}

.team-card h3 {
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 5px;
}

.role {
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Правила */
.rules {
    max-width: 700px;
    margin: 0 auto;
}

.rule {
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.rule-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rule-btn i {
    color: var(--blue);
    transition: 0.3s;
    font-size: 18px;
}

.rule.active .rule-btn i {
    transform: rotate(180deg);
}

.rule-text {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: 0.4s;
    color: var(--light-blue);
}

.rule.active .rule-text {
    max-height: 100px;
    padding: 0 25px 20px;
}

/* Вики */
.wiki-placeholder {
    text-align: center;
    padding: 60px 30px;
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.wiki-placeholder i {
    font-size: 4rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.wiki-placeholder p {
    font-size: 1.2rem;
}

/* Ссылки */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.link-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: 0.4s;
}

.link-card:hover {
    box-shadow: var(--glow);
    transform: translateY(-10px);
}

.link-card i {
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.link-card p {
    color: var(--light-blue);
    font-size: 1rem;
}

/* Корзина */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-header h2 {
    margin-bottom: 0;
}

.clear-cart-btn {
    background: var(--card-bg);
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.clear-cart-btn:hover {
    background: #ff4444;
    color: white;
    box-shadow: 0 0 10px #ff4444;
}

.clear-cart-btn i {
    font-size: 16px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cart-empty a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.cart-empty a:hover {
    text-decoration: underline;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s;
    flex-wrap: wrap;
}

.cart-item:hover {
    box-shadow: var(--glow);
}

.cart-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 170, 255, 0.1);
    border-radius: 8px;
    font-size: 24px;
    color: var(--blue);
}

.cart-item-info {
    flex: 1;
    min-width: 150px;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-currency-info {
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--light-blue);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--blue);
    background: transparent;
    color: var(--blue);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.quantity-btn:hover:not(:disabled) {
    background: var(--blue);
    color: var(--dark);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    font-size: 1rem;
}

.remove-item-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ff4444;
    background: transparent;
    color: #ff4444;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-item-btn:hover {
    background: #ff4444;
    color: white;
}

.cart-total {
    background: var(--card-bg);
    border: 1px solid var(--blue);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.3);
}

.total-price {
    color: var(--blue);
}

.checkout-btn {
    width: 100%;
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
    transform: scale(1.02);
}

.checkout-btn i {
    font-size: 1.2rem;
}

/* Уведомление о добавлении в корзину */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--blue);
    color: var(--dark);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: var(--glow);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Подвал */
footer {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    margin-top: 60px;
    border-top: 1px solid var(--blue);
}

footer p {
    font-size: 1rem;
}

.update {
    font-size: 0.9rem;
    color: var(--light-blue);
    margin-top: 5px;
}

/* Чат поддержки */
.chat-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
}

.chat-btn {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 0 25px;
    height: 50px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    font-size: 16px;
}

.chat-btn i {
    font-size: 20px;
}

.chat-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 350px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--blue);
    border-radius: 16px;
    overflow: hidden;
    display: none;
}

.chat-wrapper.open .chat-window {
    display: block;
}

.chat-wrapper.open .chat-btn {
    display: none;
}

.chat-header {
    background: rgba(0, 170, 255, 0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--blue);
}

.chat-header span {
    font-size: 1.1rem;
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--blue);
    font-size: 1.3rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.message i {
    font-size: 16px;
}

.message.system {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    align-self: flex-start;
}

.message.user {
    background: var(--blue);
    color: var(--dark);
    align-self: flex-end;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(0, 170, 255, 0.3);
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--blue);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    outline: none;
    font-size: 0.95rem;
}

.chat-input input:focus {
    box-shadow: var(--glow);
}

.chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-input button {
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-input button:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Анимация смены языка */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 170, 255, 0.3);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: fadeOut 1s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

/* Частицы */
.particle {
    position: fixed;
    background: var(--blue);
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.2;
    z-index: -1;
    box-shadow: 0 0 10px var(--blue);
}

/* Кастомный курсор */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--blue);
    border-radius: 8px;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: 0.1s;
}

/* Уведомления для авторизации */
.auth-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 300px;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.auth-notification.show {
    transform: translateX(0);
}

.auth-notification.error {
    background: #ff4444;
    color: white;
    border-left: 4px solid #cc0000;
}

.auth-notification.success {
    background: #00C851;
    color: white;
    border-left: 4px solid #007E33;
}

.auth-notification i {
    font-size: 24px;
}

.auth-notification span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .ip-block {
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }
    
    .ip {
        text-align: center;
        padding: 10px 0;
    }
    
    .copy-btn {
        justify-content: center;
    }
    
    .chat-window {
        width: 300px;
    }
    
    .burger-menu {
        min-width: 250px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-info {
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: center;
    }
    
    .total-line {
        font-size: 1.2rem;
    }
    
    .chat-btn {
        padding: 0 20px;
    }
    
    .online span {
        display: none;
    }
    
    .online i {
        margin: 0;
    }
    
    .online {
        width: 45px;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: 280px;
    }
    
    .burger-btn, .auth-icon, .cart-icon, .lang-btn, .online {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lang-btn {
        padding: 0 10px;
    }
    
    .header-mascot-small {
        width: 40px;
        height: 40px;
    }
}
/* Заголовок в шапке */
.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue);
    text-shadow: var(--glow);
    margin-left: 10px;
    font-family: 'Minecraft', 'Courier New', monospace !important;
    letter-spacing: 1px;
}

/* Обновленный menu-wrapper */
.menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Адаптация для мобилок */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1rem;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* Заголовок SecretMine в шапке (этого могло не быть) */
.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue);
    text-shadow: var(--glow);
    margin-left: 10px;
    font-family: 'Minecraft', 'Courier New', monospace !important;
    letter-spacing: 1px;
}

/* Обновленный menu-wrapper (проверь, может уже есть) */
.menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Адаптация для мобилок для заголовка (этого точно могло не быть) */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* Стили для уведомлений авторизации */
.auth-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 300px;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.auth-notification.show {
    transform: translateX(0);
}

.auth-notification.error {
    background: #ff4444;
    color: white;
    border-left: 4px solid #cc0000;
}

.auth-notification.success {
    background: #00C851;
    color: white;
    border-left: 4px solid #007E33;
}

.auth-notification i {
    font-size: 24px;
}

.auth-notification span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Minecraft', 'Courier New', monospace !important;
}

/* Аватарка пользователя */
.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.user-avatar-text {
    width: 100%;
    height: 100%;
    background: var(--blue);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    font-family: 'Minecraft', 'Courier New', monospace !important;
}
/* ===== НОВЫЕ СТИЛИ ДЛЯ КОРЗИНЫ ===== */

/* Контейнер для кнопок товара */
.product-controls {
    width: 100%;
    margin-top: 15px;
}

/* Кнопка "В корзину" (обновленная) */
.add-to-cart-btn {
    width: 100%;
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    height: 45px;
}

.add-to-cart-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Контролы количества (появляются после нажатия) */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 2px solid var(--blue);
    border-radius: 8px;
    padding: 4px;
    height: 45px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--blue);
}

.remove-item-small {
    width: 35px;
    height: 35px;
    background: transparent;
    color: #ff4444;
    border: 2px solid #ff4444;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.remove-item-small:hover {
    background: #ff4444;
    color: white;
}

/* ===== УЛУЧШЕННЫЕ КНОПКИ АВТОРИЗАЦИИ ===== */

.auth-btn {
    width: 100%;
    background: var(--dark);
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    height: 50px;
}

.auth-btn:hover {
    background: var(--blue);
    color: var(--dark);
    box-shadow: var(--glow);
}

/* Кнопка Google (теперь такого же размера) */
.google-btn {
    width: 100%;
    background: var(--dark);
    color: #4285f4;
    border: 2px solid #4285f4;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    height: 50px;
}

.google-btn i {
    color: #4285f4;
    font-size: 20px;
}

.google-btn:hover {
    background: #4285f4;
    color: white;
}

.google-btn:hover i {
    color: white;
}

/* Кнопка выхода */
.logout-btn {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
}

.logout-btn:hover {
    background: #ff6666;
    border-color: #ff6666;
}

/* Ссылки переключения */
.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--light-blue);
    font-size: 16px;
}

.auth-switch a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
}

.auth-switch a:hover {
    text-decoration: underline;
}