/* Подключаем шрифты */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Oswald:wght@500;700&display=swap');

* { box-sizing: border-box; outline: none; }

body, html {
    margin: 0; padding: 0;
    width: 100%; min-height: 100vh;
    background: #0a0a0c; /* Глубокий темный фон */
    font-family: 'Inter', sans-serif;
    color: #d1d1d1;
    line-height: 1.4;
}

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ГЛАВНОЕ ВЕРХНЕЕ МЕНЮ */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #151518;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-link {
    text-decoration: none;
    color: #888;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: #1c1c21;
    transition: 0.3s;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: #25252b;
    color: #fff;
    border-color: #333;
}

.nav-link.active {
    background: #0062ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 98, 255, 0.4);
}

.nav-link.exit { background: #3d1414; color: #ff5e5e; }
.nav-link.exit:hover { background: #5a1a1a; color: #fff; }

/* СОЦИАЛЬНОЕ ПОДМЕНЮ */
.social-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.social-nav a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dashed #333;
    padding-bottom: 2px;
    transition: 0.2s;
}

.social-nav a:hover { color: #2ecc71; border-color: #2ecc71; }

/* ПАНЕЛЬ ВАЛЮТЫ И КЛАНА */
.info-strip {
    background: #111114;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid #1f1f23;
}

.clan-tag { color: #6EA36E; font-weight: 700; font-family: 'Oswald'; }
.user-name { font-size: 18px; font-weight: 700; color: #fff; }
.currency { display: flex; gap: 20px; font-size: 14px; font-weight: 700; }
.mdl { color: #2ecc71; }
.usd { color: #3498db; }
.eur { color: #f1c40f; }

/* ИГРОВОЕ ПОЛЕ */
.profile-grid {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 25px;
}

.box {
    background: #151518;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.box-head {
    font-family: 'Oswald';
    font-size: 13px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
    letter-spacing: 1px;
}

/* ХАРАКТЕРИСТИКИ */
.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.stat-label { color: #777; }
.stat-val { color: #fff; font-weight: 700; }

.btn-action {
    width: 100%;
    padding: 12px;
    margin-top: auto;
    border: none;
    border-radius: 8px;
    background: #25252b;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    transition: 0.2s;
    border: 1px solid #333;
}

.btn-action:hover { background: #333; transform: translateY(-2px); }

/* ЦЕНТР - КУКЛА ШМОТОК */
.char-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
    background: radial-gradient(circle, #1a1a1f 0%, #0d0d0f 100%);
    border-radius: 12px;
}

.slots-left, .slots-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
}

.slots-left { left: 20px; }
.slots-right { right: 20px; }

.slot {
    width: 65px;
    height: 65px;
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #444;
    text-transform: uppercase;
    transition: 0.3s;
}

.slot:hover { border-color: #0062ff; background: #16161c; color: #888; }

.avatar-view {
    width: 200px;
    height: 300px;
    background: #111;
    border-radius: 20px;
    border: 1px solid #1f1f23;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- TRAINER SECTION --- */
.trainer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.train-item {
    background: #151518;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: 0.2s;
}

.train-item:hover { border-color: #0062ff; background: #1a1a1f; }

.train-name { font-family: 'Oswald'; font-size: 16px; margin-bottom: 10px; color: #fff; text-transform: uppercase; }

.train-price { font-size: 12px; color: #555; margin-bottom: 15px; }

.btn-train {
    background: #0062ff;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
}

.train-alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* ПРАВАЯ КОЛОНКА - ПОЛОСКИ */
.bar-wrap { margin-bottom: 15px; }
.bar-text { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 4px; font-weight: 700; }
.bar-bg { background: #000; height: 8px; border-radius: 10px; overflow: hidden; }
.bar-hp { background: #ff4757; height: 100%; width: 100%; box-shadow: 0 0 10px rgba(255, 71, 87, 0.3); }
.bar-exp { background: #ffa502; height: 100%; width: 40%; }