/* assets/style.css — Полный стиль с фиксированной версткой профиля и калькулятора */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #ebf0f7;
    background-image: radial-gradient(#d1dbe8 1px, transparent 1px);
    background-size: 20px 20px;
    color: #1e293b;
    line-height: 1.5;
}

a, .nav-item, .main-nav a {
    text-decoration: none !important;
    outline: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ШАПКА */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand { display: flex; align-items: center; gap: 14px; }

/* ================= АДАПТИВНЫЙ ЛОГОТИП В ШАПКЕ ================= */
.brand-logo {
    width: 120px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    /* Если у вашего логотипа своя прозрачность, градиент можно оставить или сделать background: transparent; */
    background: transparent;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Картинка автоматически подгоняется под размер блока */
    display: block;
}

/* Адаптивность под мобильные телефоны */
@media (max-width: 600px) {
    .brand-logo {
        width: 38px;
        height: 38px;
    }
}

.brand-text .title {
    display: block;
    font-weight: 900;
    font-size: 20px;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.brand-text .subtitle {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav { display: flex; gap: 28px; }

.nav-item {
    font-weight: 800;
    font-size: 15px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
}

.nav-item:hover, .nav-item.active {
    color: #ff8c00;
    text-decoration: none !important;
}

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

.currency-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    color: #334155;
}

.socials { display: flex; gap: 8px; }

.soc-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.2s;
    text-decoration: none !important;
}

.soc-icon:hover { transform: scale(1.1); }
.soc-icon.tg { background: #0088cc; }
.soc-icon.tw { background: #9146ff; }
.soc-icon.ds { background: #5865f2; }

.btn-account {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 140, 0, 0.35);
}

.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #1e293b; }

/* БАННЕР */
.hero-banner {
    background: linear-gradient(135deg, #ff8c00 0%, #e05300 100%);
    border-radius: 20px;
    padding: 40px 50px;
    color: #fff;
    margin: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.25);
}

.hero-info h1 { font-size: 32px; font-weight: 900; margin-bottom: 10px; line-height: 1.2; }
.hero-info p { font-size: 16px; opacity: 0.95; margin-bottom: 22px; font-weight: 600; }

.btn-hero {
    background: #ffffff;
    color: #111;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover { transform: translateY(-2px); background: #f8fafc; }

/* ЛЕНТА ПОСЛЕДНИХ ПОКУПОК */
.recent-bar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;
}

.total-count { color: #94a3b8; font-size: 12px; }
.recent-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }

.recent-item {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 10px 18px;
    min-width: 130px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}

.recent-item:hover { transform: translateY(-2px); }
.recent-item b { color: #1e293b; font-size: 14px; }

/* КАЛЬКУЛЯТОР ВАЛЮТЫ (СЛАЙДЕР) */
.currency-calculator-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.calc-left { flex-shrink: 0; }

.calc-hex-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.calc-main { flex: 1; }

.calc-title {
    font-weight: 900;
    font-size: 22px;
    color: #0f172a;
}

.calc-subtitle {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 16px;
}

.slider-container { margin-bottom: 20px; }

.slider-container input[type="range"] {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    accent-color: #ff8c00;
    cursor: pointer;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    margin-top: 6px;
}

.calc-boxes {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.calc-box {
    flex: 1;
    padding: 12px 20px;
    border-right: 1px solid #e2e8f0;
}

.calc-box:last-child { border-right: none; }

.box-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
}

.box-value {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
}

.calc-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 240px;
    flex-shrink: 0;
}

.btn-calc-buy {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    transition: transform 0.2s;
}

.btn-calc-buy:hover { transform: translateY(-2px); }

.calc-terms {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.3;
}

/* САЙДБАР И КАРТОЧКИ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    margin-bottom: 50px;
}

.sidebar { display: flex; flex-direction: column; gap: 18px; }
.search-field { position: relative; }

.search-field input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.search-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.category-list {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.cat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.cat-link.active, .cat-link:hover { background: #ff8c00; color: #fff; }

.support-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    font-size: 13px;
    color: #64748b;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.support-card i { color: #ff8c00; font-size: 24px; margin-bottom: 10px; display: block; }

.server-tag {
    display: inline-block;
    background: #d1fae5;
    color: #047857;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.item-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.card-badge.sale { background: #ef4444; }
.card-badge.hit { background: #ec4899; }

.item-cat {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.item-name {
    font-size: 16px;
    font-weight: 900;
    margin: 6px 0 16px 0;
    text-align: center;
    color: #0f172a;
}

.item-icon {
    width: 95px;
    height: 95px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
}

.btn-buy {
    width: 100%;
    background: #1e293b;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
}

.btn-buy:hover {
    background: #ff8c00;
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
}

/* СТИЛИ ПРОФИЛЯ */
.profile-page { margin: 30px 0; }

.profile-header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-avatar-head {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    image-rendering: pixelated;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-header-bar h2 {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.profile-subtitle { font-size: 13px; color: #94a3b8; font-weight: 700; }

.profile-grid {
    display: grid;
    grid-template-columns: 250px 1fr 340px;
    gap: 24px;
    margin-bottom: 30px;
    align-items: start;
}

.profile-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
}

.skin-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.profile-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.info-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.info-label { display: block; font-size: 12px; color: #94a3b8; font-weight: 700; }
.info-val { font-size: 16px; font-weight: 900; color: #0f172a; }
.info-val.green { color: #10b981; }

.info-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 18px;
}

.btn-logout-link {
    color: #ef4444;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.2s;
}

.btn-logout-link:hover { color: #dc2626; }

/* ТОПЫ */
.top-header-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 36px;
    border-radius: 20px;
    margin: 28px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.top-header-banner h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tops-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.top-box {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.top-box-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 20px;
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-circle.gold { background: #f59e0b; }
.icon-circle.blue { background: #0284c7; }
.icon-circle.green { background: #10b981; }

.top-players-list { display: flex; flex-direction: column; gap: 10px; }

.top-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    gap: 12px;
    font-size: 14px;
}

.top-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    color: #475569;
    flex-shrink: 0;
}

.top-rank.rank-1 { background: #f59e0b; color: #fff; }
.top-rank.rank-2 { background: #94a3b8; color: #fff; }
.top-rank.rank-3 { background: #d97706; color: #fff; }

/* МЯГКИЕ СГЛАЖЕННЫЕ ГОЛОВЫ И СКИНИ */
.player-head,
.top-avatar,
.ban-avatar,
.profile-avatar-head,
.player-head-bar,
.player-head-nav {
    image-rendering: auto !important;
    image-rendering: smooth !important;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.top-avatar {
    width: 28px;
    height: 28px;
}

.ban-avatar {
    width: 28px;
    height: 28px;
}

.player-head-bar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.player-head-nav {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.top-username { font-weight: 800; color: #0f172a; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-value { font-weight: 900; color: #334155; white-space: nowrap; }

/* БАН-ЛИСТ */
.ban-table-container {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.ban-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.ban-table th { background: #f8fafc; padding: 16px 18px; color: #64748b; font-weight: 800; border-bottom: 1px solid #e2e8f0; }
.ban-table td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

.user-cell { display: flex; align-items: center; gap: 10px; }

.ban-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    image-rendering: pixelated;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.status-badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 800; display: inline-block; }
.status-badge.mute { background: #e0f2fe; color: #0369a1; }
.status-badge.ban { background: #fee2e2; color: #b91c1c; }

/* ПОДВАЛ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 50px 0;
    margin-top: 80px;
    font-size: 13px;
    color: #64748b;
}

.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: center; }

.ip-block {
    background: #1e293b;
    color: #fff;
    padding: 16px 24px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ip-text { font-weight: 900; color: #ff8c00; font-size: 18px; }
.ver-text { font-size: 12px; color: #94a3b8; }

/* МОДАЛЬНЫЕ ОКНА */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active { display: flex !important; }

.modal-window {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
    position: absolute;
    top: 16px; right: 20px;
    background: none; border: none;
    font-size: 26px; cursor: pointer; color: #94a3b8;
}

.auth-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.input-group label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 6px; color: #475569; }
.input-group input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #cbd5e1; outline: none; font-size: 14px; }

.btn-submit {
    background: #ff8c00;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.btn-submit:hover { background: #e07b00; }
.btn-submit.green { background: #10b981; }

@media (max-width: 1100px) {
    .profile-grid { grid-template-columns: 1fr; }
    .profile-stats-wrapper { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; padding: 20px; border-bottom: 1px solid #ddd; }
    .main-nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .currency-calculator-card { flex-direction: column; text-align: center; }
    .calc-action { width: 100%; }
}

/* ================= АВТОРИЗАЦИЯ ================= */

.modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex !important;
}
.modal_block.modal_auth {
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal_close_absolute {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.modal_close_absolute:hover { background: #e2e8f0; }

.left_modal_auth {
    flex: 1;
    padding: 32px 36px;
}

.top_logo_auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth_logo_box {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.auth_logo_text {
    font-weight: 900;
    font-size: 18px;
    color: #0f172a;
}

.title_auth {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}

.group_inputs_b {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.group_input_b {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.text_info_b {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
}

.SelectLogin_group_input {
    position: relative;
    display: flex;
    align-items: center;
}

.SelectLogin_avatar_user {
    position: absolute;
    left: 12px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    pointer-events: none;
}

.SelectLogin_avatar_user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom_input_2 {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    background: #f8fafc;
    transition: all 0.2s;
}

.custom_input_2.login_input {
    padding-left: 50px; /* Отступ под 3D аватарку */
}

.custom_input_2:focus {
    border-color: #ff8c00;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.button.width100 {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.3);
    transition: transform 0.2s;
}

.button.width100:hover { transform: translateY(-2px); }

.link_auth_support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    text-decoration: none !important;
    transition: color 0.2s;
}

.link_auth_support:hover { color: #ff8c00; }

/* ПРАВАЯ СЕКЦИЯ С БАННЕРОМ */
.right_modal_auth {
    width: 240px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right_auth_bg_icon {
    font-size: 110px;
    color: #ff8c00;
    opacity: 0.15;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.right_auth_overlay {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.right_auth_overlay span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.right_auth_overlay h4 {
    font-size: 28px;
    font-weight: 900;
    color: #ff8c00;
    margin-top: 2px;
}

.auth_error_box {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

@media (max-width: 650px) {
    .right_modal_auth { display: none; }
    .modal_block.modal_auth { max-width: 420px; }
}


/* ================= ЛОГОТИП В ПРОМО-БАННЕРЕ ================= */
.hero-decoration {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    flex-shrink: 0;
}

.hero-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ================= ЛОГОТИП В ПОДВАЛЕ (FOOTER) ================= */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hero-decoration { display: none; } /* Скрываем декоративный фоновый логотип на узких экранах */
}

/* ================= ТЁМНЫЙ БАННЕР V2 (В СТИЛЕ SINUS С 2 IP) ================= */
.hero-banner-v2 {
    background: #0f172a;
    border-radius: 24px;
    padding: 48px 56px;
    color: #ffffff;
    margin: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-v2-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-v2-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 14px;
    color: #ffffff;
}

.highlight-orange {
    color: #ff8c00;
    text-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
}

.hero-v2-sub {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-v2-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Оранжевая кнопка */
.btn-hero-orange {
    background: #a3e635; /* Зеленая как на скрине или оранжевая */
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #ffffff;
    border: none;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.35);
    transition: all 0.2s;
}

.btn-hero-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.5);
}

/* Карточки с 2 IP */
.ip-copy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px 16px 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.ip-copy-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 140, 0, 0.5);
    transform: translateY(-2px);
}

.ip-badge-icon {
    width: 32px;
    height: 32px;
    background: #ff8c00;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ip-badge-icon.bedrock {
    background: #0284c7;
}

.ip-card-info {
    display: flex;
    flex-direction: column;
}

.ip-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
}

.ip-address {
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
}

/* Правая часть: Логотип с неоновым оранжевым свечением */
.hero-v2-mascot {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mascot-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.5) 0%, rgba(255, 85, 0, 0) 70%);
    filter: blur(35px);
    border-radius: 50%;
    pointer-events: none;
}

.mascot-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    animation: mascotFloat 4s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1000px) {
    .hero-banner-v2 { flex-direction: column; text-align: center; gap: 30px; }
    .hero-v2-sub { margin-left: auto; margin-right: auto; }
    .hero-v2-actions { justify-content: center; }
    .mascot-img { width: 130px; height: 130px; }
}

/* ================= ТЁМНАЯ МЕДИА-ПРОГРАММА (ИСПРАВЛЕННЫЙ КОНТРАСТ И ВЫРАВНИВАНИЕ) ================= */
.media-v2-page {
    margin: 30px 0 80px 0;
}

.v2-hero {
    margin-bottom: 36px;
}

/* Бэдж даты вверху */
.v2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Главный заголовок страницы (ЧЁТКИЙ ТЁМНЫЙ) */
.v2-hero h1 {
    font-size: 42px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 12px;
}

.v2-accent {
    color: #ff8c00;
}

.v2-hero-sub {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    max-width: 780px;
    line-height: 1.6;
}

/* Заголовки секций (ЧЁТКИЙ ТЁМНЫЙ) */
.v2-section-h {
    margin: 44px 0 20px 0;
}

.v2-section-h h2 {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
}

.v2-section-sub {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* ================= ТАЙМЛАЙН УРОВНЕЙ И РОВНАЯ ВЕРТИКАЛЬНАЯ ЛИНИЯ ================= */
.v2-rpg {
    position: relative;
    padding-left: 32px; /* Ровный отступ слева под линию */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Связывающая вертикальная линия ("Полосочка") */
.v2-rpg::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 35px;
    bottom: 35px;
    width: 4px;
    background: linear-gradient(to bottom, #0284c7 0%, #ff8c00 50%, #8b5cf6 100%);
    border-radius: 4px;
    z-index: 1;
}

/* Тёмные карточки уровней */
.v2-level {
    background: #13192b;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

/* Светящийся кружок-узел строго НА линии */
.v2-level::after {
    content: '';
    position: absolute;
    left: -28px;
    top: 38px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #ebf0f7;
    z-index: 3;
}

.v2-level.tier-blue::after { background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.v2-level.tier-orange::after { background: #ff8c00; box-shadow: 0 0 10px #ff8c00; }
.v2-level.tier-purple::after { background: #c084fc; box-shadow: 0 0 10px #c084fc; }

/* Белый текст ВНУТРИ ТЁМНЫХ КАРТОЧЕК */
.v2-level-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.v2-level-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.tier-blue .v2-level-icon { background: #0284c7; box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4); }
.tier-orange .v2-level-icon { background: #ff8c00; box-shadow: 0 6px 18px rgba(255, 140, 0, 0.4); }
.tier-purple .v2-level-icon { background: #8b5cf6; box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4); }

.lvl-tag {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2-level-meta h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
}

.v2-level-meta .desc {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

/* XP Шкала */
.v2-xp {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.v2-xp-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.fill { height: 100%; width: 100%; }
.fill-blue { background: #38bdf8; }
.fill-orange { background: #ff8c00; }
.fill-purple { background: #c084fc; }

.v2-xp-label {
    font-size: 11px;
    font-weight: 900;
    color: #22c55e;
    letter-spacing: 1px;
}

/* Грид требований */
.v2-level-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-block-h {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.reqs, .perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.reqs li::before {
    content: "• ";
    color: #ff8c00;
    font-weight: bold;
}

.perks li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

/* ТЁМНЫЙ КАЛЬКУЛЯТОР */
.v2-calc-card {
    background: #13192b;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.v2-calc-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

.v2-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.v2-calc-row .label {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
}

.v2-calc-row .label-meta {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
}

.v2-calc-row .val {
    font-size: 22px;
    font-weight: 900;
    color: #ff8c00;
}

.v2-calc-slider input[type="range"] {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    accent-color: #ff8c00;
    cursor: pointer;
}

.v2-calc-result {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.result-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
}

.result-big {
    font-size: 42px;
    font-weight: 900;
    color: #22c55e;
}

.result-tier {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tier-name {
    color: #ff8c00;
    font-weight: 900;
}

.result-next {
    color: #94a3b8;
}

/* ЧТО НЕЛЬЗЯ */
.v2-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.v2-rule-card {
    background: #13192b;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.v2-rule-card .rule-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.v2-rule-card .rule-text {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
}

/* ЗАЯВКА ТЕЛЕГРАМ */
.v2-apply-block {
    background: #1e293b;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.v2-apply-copy h3 {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}

.v2-apply-copy p {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.v2-btn-tg {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.35);
}

.tg-svg-icon { width: 18px; height: 18px; }

.v2-mediakit-note {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 40px;
}

.v2-mediakit-link {
    color: #ff8c00;
    font-weight: 800;
}

/* FAQ АККОРДЕОН */
.v2-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-faq-item {
    background: #13192b;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.v2-faq-q {
    width: 100%;
    padding: 22px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
}

.v2-faq-q .chev {
    transition: transform 0.3s;
    color: #64748b;
}

.v2-faq-a {
    display: none;
    padding: 0 22px 22px 22px;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.6;
}

.v2-faq-item.open .v2-faq-a { display: block; }
.v2-faq-item.open .chev { transform: rotate(180deg); color: #ff8c00; }

@media (max-width: 800px) {
    .v2-level-grid, .v2-rules-grid { grid-template-columns: 1fr; }
    .v2-apply-block { flex-direction: column; text-align: center; }
}

/* ================= ИНЛАЙН-КНОПКА КОПИРОВАНИЯ ТЕЛЕГРАМ НИКА ================= */
.handle-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 140, 0, 0.12);
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: #ff8c00;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
    margin: 0 4px;
}

.handle-copy:hover {
    background: rgba(255, 140, 0, 0.22);
    border-color: #ff8c00;
    transform: translateY(-1px);
}

.handle-text {
    color: #ff8c00;
    font-weight: 800;
    transition: color 0.2s;
}

.handle-copy svg {
    flex-shrink: 0;
    stroke: currentColor;
}
