/* Подключаем мощный широкий шрифт и технологичный шрифт для инфо */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --bg: #050505;
    --accent: #ff5f60; /* Розовый из логотипа */
    --accent-glow: rgba(255, 95, 96, 0.4);
    --border: 1px solid rgba(255, 255, 255, 0.08);
    --font-head: 'Archivo Black', sans-serif; /* Широкий и мощный */
    --font-info: 'Space Grotesk', sans-serif; /* Футуристичный для инфо */
}

body {
    margin: 0;
    background-color: var(--bg);
    color: #fff;
    font-family: var(--font-info);
}

/* Навигация */
header {
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: var(--border);
    position: fixed;
    width: 84%;
    z-index: 1000;
}

.logo {
    font-family: var(--font-head);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

nav a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 30px;
    transition: 0.3s;
}

nav a:hover { color: var(--accent); }

/* Главный блок с аниме фоном */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* ЗАМЕНИ ЭТУ ССЫЛКУ НА СВОЮ КАРТИНКУ */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://i.pinimg.com/736x/ec/86/88/ec868885f69d9fe6d29a5befcba4a404.jpg'); 
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--accent);
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(60px, 10vw, 120px); /* Гигантский широкий заголовок */
    margin: 0;
    text-transform: uppercase;
    line-height: 0.9;
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--accent);
    margin-top: 10px;
    text-transform: uppercase;
}

/* Кнопки */
.btn-group { margin-top: 40px; }

.btn {
    padding: 15px 40px;
    font-family: var(--font-head);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-main:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

/* Стили для контента */
section { padding: 80px 10%; }

.card {
    background: #0d0d0d;
    border: var(--border);
    padding: 30px;
    transition: 0.3s;
}

.card:hover { border-color: var(--accent); }

h2 {
    font-family: var(--font-head);
    font-size: 30px;
    text-transform: uppercase;
}/* Сетка магазина */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Карточка товара с фоном */
.item-card {
    position: relative;
    height: 400px; /* Фиксированная высота для красоты */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Контент прижат к низу */
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}

/* Затемнение фона в карточке */
.item-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    transition: 0.3s;
}

.item-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 95, 96, 0.2);
}

.item-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 40%, rgba(255, 95, 96, 0.1) 100%);
}

/* Контент внутри карточки (поверх фона) */
.item-card-content {
    position: relative;
    z-index: 2;
}

.item-card h3 {
    font-family: var(--font-head);
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
}

.item-card .price {
    font-family: var(--font-head);
    color: var(--accent);
    font-size: 30px;
    display: block;
    margin: 10px 0 20px;
}

.item-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.4;
}
/* Прогресс-бар уровня */
.rank-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 95, 96, 0.1);
    padding: 15px;
    margin-top: 15px;
    width: 300px;
    border-radius: 4px;
}

.rank-title {
    font-family: var(--font-head);
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.xp-bar-bg {
    width: 100%;
    height: 6px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.xp-bar-fill {
    width: 65%; /* Процент опыта */
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 1s ease-in-out;
}

.xp-info {
    font-size: 10px;
    color: #555;
    margin-top: 5px;
    text-align: right;
    font-weight: 800;
}
/* Блок серверов */
.servers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 50px;
    width: 100%;
    max-width: 1000px;
}

.server-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    text-align: left;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.server-card:hover {
    background: rgba(20, 20, 20, 0.9);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.server-name {
    font-family: var(--font-head);
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
}

.server-type {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.server-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
/* Полоска онлайна */
.online-monitor {
    width: 100%;
    margin-top: 15px;
}

.online-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.online-bar-fill {
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.online-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-family: var(--font-info);
    color: #444;
    text-transform: uppercase;
    font-weight: 700;
}

.online-stats span {
    color: #fff;
}
.btn:active {
    transform: scale(0.95) skewX(-10deg);
    filter: brightness(0.8);
    transition: 0.05s;
}
.snowflake {
    position: fixed !important;
    top: -10px;
    background-color: white; /* Делаем снежинку белым кружочком для теста */
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999 !important;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}
/* Контейнер таблицы */
.leaderboard-wrapper {
    margin-top: 50px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-info);
}

thead {
    background: rgba(255, 255, 255, 0.02);
}

th {
    padding: 20px;
    text-align: left;
    font-family: var(--font-head);
    font-size: 10px;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 2px;
}

td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 15px;
    transition: 0.3s;
}

tr {
    transition: 0.3s;
    cursor: default;
}

tr:hover td {
    background: rgba(255, 95, 96, 0.05);
    color: var(--accent);
}

/* Выделение ТОП-1, 2, 3 */
.rank-number {
    font-family: var(--font-head);
    font-size: 14px;
    width: 40px;
    display: inline-block;
}

.top-1 { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.top-2 { color: #c0c0c0; }
.top-3 { color: #cd7f32; }

/* Аватарка в таблице */
.player-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-img {
    width: 35px;
    height: 35px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
}

.kd-value {
    font-weight: 700;
    color: var(--accent);
}

.balance-amount {
    color: #fff;
    font-family: var(--font-info);
}
/* Пополнение */
.deposit-box {
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
}

.input-group {
    position: relative;
    margin: 30px 0;
}

.input-group input {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-head);
    outline: none;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.method-btn {
    flex: 1;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 11px;
    transition: 0.3s;
}

.method-btn:hover { border-color: var(--accent); color: var(--accent); }
/* --- Стили для шапки и навигации --- */
header {
    /* Чтобы фон был темным, как на фото */
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0; /* Вертикальные отступы для высоты шапки */
    position: fixed; /* Если хочешь, чтобы шапка была прикреплена сверху */
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

header nav {
    display: flex; /* Выстраиваем все ссылки в ряд */
    justify-content: center; /* Центрируем меню на странице */
    align-items: center; /* Выравниваем все элементы по вертикали (иконки и текст) */
    gap: 30px; /* Расстояние между пунктами меню */
}

/* Стили для всех ссылок в навигации */
header nav a {
    text-decoration: none;
    color: #fff;
    font-family: Arial, sans-serif; /* Выбери подходящий шрифт */
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px; /* Расстояние между буквами как на фото */
    transition: 0.3s ease;
}

/* Эффект наведения для ссылок */
header nav a:hover {
    color: #ffd700; /* Золотой цвет как на фото */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5); /* Эффект свечения */
}

/* --- Стили конкретно для ссылки с кошельком --- */
.wallet-link {
    display: flex; /* Выстраиваем иконку и текст баланса в ряд */
    align-items: center; /* Выравниваем их по вертикали внутри ссылки */
    gap: 10px; /* Отступ между иконкой и текстом баланса */
    margin-left: 20px; /* Дополнительный отступ справа от "ЛИЧНЫЙ КАБИНЕТ" */
    
    /* Добавляем оранжевый оттенок из фото для акцента */
    color: #ff4500 !important; 
    border-bottom: 2px solid transparent;
}

/* Эффект наведения для кошелька */
.wallet-link:hover {
    color: #ff4500 !important;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

/* --- Настройка РАЗМЕРА иконки кошелька --- */
.header-wallet-icon {
    height: 20px; /* Подстраиваем высоту под размер текста в навигации */
    width: auto; /* Ширина подстроится автоматически, чтобы не искажать пропорции */
    border-radius: 3px; /* Опционально: закруглим углы у фото */
    display: block;
}

/* Стили для текста баланса */
.balance-text {
    font-size: 13px; /* Делаем шрифт чуть меньше основного меню */
    color: #fff; /* Текст баланса белым */
    font-family: sans-serif;
}