* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000;
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    line-height: 1.55;
    min-height: 100vh;
}

.mono { font-family: 'JetBrains Mono', monospace; }
.accent { color: #0fa; }
.muted { color: #7d8a97; }
.small { font-size: 0.8rem; }
.big { font-size: 1.5rem; font-weight: 700; }
.hidden { display: none !important; }

.bg-matrix {
    position: fixed; inset: 0;
    background: radial-gradient(circle at 20% 30%, #061006 0%, #000 70%);
    z-index: -2;
}
.grid {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 170, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 170, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.5;
    z-index: -1;
}

.topbar {
    border-bottom: 1px solid rgba(0, 255, 170, 0.15);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 10;
}
.topbar-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    color: #fff; text-decoration: none;
    font-weight: 700; font-size: 1.15rem;
}
.logo i { color: #0fa; font-size: 1.4rem; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav a {
    color: #b8c4cf; text-decoration: none; font-size: 0.9rem;
    transition: 0.15s;
}
.nav a:hover { color: #0fa; }
.nav-btn {
    border: 1px solid #0fa; padding: 0.4rem 1rem;
    border-radius: 2rem; color: #0fa !important;
}
.nav-btn:hover { background: #0fa; color: #000 !important; }
.nav-btn-ghost { color: #7d8a97 !important; }

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0fa;
    box-shadow: 0 0 12px rgba(0, 255, 170, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.2s;
    background: rgba(0, 255, 170, 0.1);
    text-decoration: none;
}
.nav-avatar:hover {
    border-color: #0d8;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.7);
    transform: scale(1.05);
}
.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nav-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0fa;
    background: linear-gradient(135deg, rgba(0,255,170,0.15), rgba(0,255,170,0.02));
    text-transform: uppercase;
}

.container {
    max-width: 1180px; margin: 0 auto;
    padding: 2rem 2rem 4rem;
}
footer {
    text-align: center; margin-top: 3rem;
    font-size: 0.75rem; color: #3f4e5c;
}

.hero {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.hero-small { padding: 2rem 1.5rem; text-align: left; }

.status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0, 255, 170, 0.12);
    border-radius: 40px; padding: 0.25rem 0.9rem;
    font-size: 0.75rem; font-family: 'JetBrains Mono', monospace;
    color: #0fa; margin-bottom: 1.2rem;
}
.status-badge-fresh {
    background: rgba(255, 187, 0, 0.15);
    color: #fb0;
    margin-left: 0.5rem;
}

h1 {
    font-size: 2.6rem; font-weight: 700; letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 40%, #0fa);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1rem; margin-bottom: 0.6rem; color: #fff; }

.tagline {
    color: #9aa7b3; max-width: 620px;
    margin: 0 auto 1.5rem;
}
.hero-small .tagline { margin: 0; }

.stats-row {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    margin-bottom: 2rem;
}
.stat {
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
    padding: 0.5rem 1rem; border-radius: 1rem;
    font-family: 'JetBrains Mono', monospace; font-size: 0.85rem;
}
.stat span {
    font-size: 1.15rem; font-weight: 700; color: #0fa;
    margin-right: 4px;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-outline, .btn-accent, .btn-disabled {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.8rem 1.6rem; border-radius: 2rem;
    text-decoration: none; font-size: 0.9rem; font-weight: 600;
    border: 1px solid transparent; cursor: pointer;
    transition: 0.15s;
    font-family: inherit;
}
.btn-primary { background: #0fa; color: #000; }
.btn-primary:hover { background: #0d8; box-shadow: 0 0 24px rgba(0,255,170,0.4); }
.btn-outline { background: transparent; color: #0fa; border-color: #0fa; }
.btn-outline:hover { background: rgba(0,255,170,0.1); }
.btn-accent { background: #fb0; color: #000; }
.btn-accent:hover { background: #fc3; box-shadow: 0 0 24px rgba(255,187,0,0.4); }
.btn-disabled { background: #1a1a1a; color: #555; cursor: not-allowed; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg {
    padding: 1.15rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 1rem;
}

.section { margin-bottom: 2.5rem; }
.section > h2 { margin-bottom: 1.2rem; }

.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.step {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.5rem; padding: 1.5rem;
}
.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem; font-weight: 800; color: #0fa;
    margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: #9aa7b3; font-size: 0.9rem; }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.feature {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.15);
    border-radius: 1.5rem; padding: 1.5rem;
    text-align: center;
}
.feature i { font-size: 1.8rem; color: #0fa; margin-bottom: 0.8rem; }
.feature h3 { font-size: 1rem; }
.feature p { color: #9aa7b3; font-size: 0.85rem; }

.auth-wrap {
    display: flex; justify-content: center;
    padding: 3rem 1rem;
}
.auth-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 2rem; padding: 2.5rem;
    max-width: 440px; width: 100%;
    text-align: center;
}
.tg-widget-wrap { margin: 1.5rem 0; display: flex; justify-content: center; }
.divider {
    text-align: center; color: #555; margin: 1.5rem 0;
    position: relative; font-size: 0.8rem;
}
.divider::before, .divider::after {
    content: ''; position: absolute; top: 50%;
    width: 40%; height: 1px; background: rgba(0,255,170,0.1);
}
.divider::before { left: 0; }
.divider::after { right: 0; }
.divider span { background: #000; padding: 0 10px; }

.auth-form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
.auth-form input, .auth-form textarea {
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1rem; padding: 0.85rem 1rem;
    color: #fff; font-family: inherit; font-size: 0.9rem;
    resize: vertical;
}
.auth-form input:focus, .auth-form textarea:focus {
    outline: none; border-color: #0fa;
    box-shadow: 0 0 0 3px rgba(0,255,170,0.15);
}

.dash-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; margin-bottom: 2rem;
}
.dash-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.5rem; padding: 1.4rem;
}
.dash-card h3 { font-size: 0.85rem; color: #7d8a97; margin-bottom: 0.6rem; }
.dash-value { font-size: 1.8rem; font-weight: 700; color: #0fa; }
.dash-card-accent { display: flex; align-items: center; justify-content: center; }

.orders-list { display: flex; flex-direction: column; gap: 0.8rem; }
.order-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.15);
    border-radius: 1rem; padding: 1rem 1.2rem;
}
.order-id { font-weight: 600; }
.order-actions { display: flex; gap: 0.5rem; }

.empty {
    text-align: center; padding: 3rem;
    color: #7d8a97;
    background: rgba(0,0,0,0.4); border-radius: 1.5rem;
    border: 1px dashed rgba(0,255,170,0.15);
}
.empty i { font-size: 2rem; margin-bottom: 0.8rem; display: block; color: #0fa; }
.empty a { color: #0fa; }

.buy-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.5rem; padding: 1.8rem;
}

.status-waiting, .status-done {
    text-align: center; padding: 1rem;
}
.status-waiting i { font-size: 2rem; color: #fb0; margin-bottom: 0.8rem; display: block; }
.status-done i { font-size: 2rem; color: #0fa; margin-bottom: 0.8rem; display: block; }

.admin-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem; margin-bottom: 1rem;
}
.admin-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.15);
    border-radius: 1.5rem; padding: 1.5rem;
}
.admin-msg {
    margin-top: 1rem; padding: 1rem;
    background: rgba(0,255,170,0.1);
    border: 1px solid rgba(0,255,170,0.3);
    border-radius: 1rem; font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* === ACCOUNTS TABLE === */
.accounts-table-wrap {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    overflow-x: auto;
}
.accounts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 640px;
}
.accounts-table thead {
    background: rgba(0, 255, 170, 0.06);
}
.accounts-table th {
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 600;
    color: #9aa7b3;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 255, 170, 0.15);
}
.accounts-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 170, 0.08);
    vertical-align: middle;
}
.accounts-table tbody tr:last-child td { border-bottom: none; }
.accounts-table tbody tr:hover { background: rgba(0, 255, 170, 0.04); }

.badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}
.badge-free {
    background: rgba(0, 255, 170, 0.12);
    color: #0fa;
    border: 1px solid rgba(0, 255, 170, 0.3);
}

/* === PROFILE AVATAR === */
.profile-hero { padding: 2rem 1.5rem; }
.profile-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.profile-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0fa;
    box-shadow: 0 0 24px rgba(0, 255, 170, 0.4);
    flex-shrink: 0;
    background: rgba(0, 255, 170, 0.1);
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #0fa;
    background: linear-gradient(135deg, rgba(0,255,170,0.15), rgba(0,255,170,0.02));
    text-transform: uppercase;
}

/* === REFERRAL === */
.referral-card {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    align-items: center;
}
@media (max-width: 700px) {
    .referral-card { grid-template-columns: 1fr; }
}
.referral-info h3 {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.referral-info h3 i { color: #0fa; }
.referral-link-wrap {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.referral-link-wrap input {
    flex-grow: 1;
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 0.8rem;
    padding: 0.7rem 1rem;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    min-width: 200px;
}
.referral-qr { text-align: center; }
.referral-qr img {
    width: 160px;
    height: 160px;
    border-radius: 0.8rem;
    border: 2px solid rgba(0, 255, 170, 0.4);
    background: #fff;
    padding: 8px;
}
.referral-qr p { margin-top: 0.5rem; }

/* ============================================
   BUY PAGE — PREMIUM
   ============================================ */

.buy-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.8rem;
    align-items: start;
}
@media (max-width: 1050px) {
    .buy-layout { grid-template-columns: 1fr; }
}

.buy-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.buy-choice {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.buy-choice-head {
    text-align: center;
    margin-bottom: 2rem;
}
.buy-choice-head h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 40%, #0fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.choice-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
@media (max-width: 620px) {
    .choice-buttons { grid-template-columns: 1fr; }
}

.choice-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem 1.5rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(0, 255, 170, 0.25);
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.06) 0%, rgba(0, 0, 0, 0.4) 100%);
    color: #e2e8f0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.choice-btn:hover:not(:disabled) {
    border-color: #0fa;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 255, 170, 0.5), 0 0 30px rgba(0, 255, 170, 0.2);
}
.choice-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.choice-icon {
    width: 60px;
    height: 60px;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.25), rgba(0, 255, 170, 0.05));
    color: #0fa;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.2);
    transition: transform 0.3s;
}
.choice-btn:hover:not(:disabled) .choice-icon {
    transform: scale(1.1) rotate(-5deg);
}

.choice-balance {
    border-color: rgba(255, 187, 0, 0.35);
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.choice-balance:hover:not(:disabled) {
    border-color: #fb0;
    box-shadow: 0 20px 40px -15px rgba(255, 187, 0, 0.5), 0 0 30px rgba(255, 187, 0, 0.2);
}
.choice-balance .choice-icon {
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.25), rgba(255, 187, 0, 0.05));
    color: #fb0;
    box-shadow: 0 0 20px rgba(255, 187, 0, 0.2);
}

.choice-info { flex-grow: 1; position: relative; z-index: 1; }
.choice-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.choice-sub { font-size: 0.83rem; color: #9aa7b3; }
.choice-sub b { color: #0fa; font-family: 'JetBrains Mono', monospace; }
.choice-balance .choice-sub b { color: #fb0; }

.choice-arrow {
    font-size: 1.2rem;
    color: #7d8a97;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.choice-btn:hover:not(:disabled) .choice-arrow {
    color: #0fa;
    transform: translateX(8px);
}
.choice-balance:hover:not(:disabled) .choice-arrow { color: #fb0; }

.buy-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(0, 255, 170, 0.1);
}
@media (max-width: 900px) {
    .buy-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .buy-info-grid { grid-template-columns: 1fr; }
}

.buy-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    border-radius: 1rem;
}
.buy-info-item i {
    font-size: 1.3rem;
    color: #0fa;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 170, 0.08);
    border-radius: 0.7rem;
    flex-shrink: 0;
}
.buy-info-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; }
.buy-info-sub { font-size: 0.7rem; color: #7d8a97; }

/* === CARD WIDGET (банковская карта) === */
.buy-req-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
}
.buy-req-head h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
}
.buy-req-head h3 i { color: #0fa; }

.card-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.card-widget-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586;
    max-height: 340px;
    border-radius: 1.6rem;
    padding: 1.8rem 2rem;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 255, 170, 0.28) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(255, 187, 0, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0d3d2e 0%, #061a12 50%, #000 100%);
    border: 1px solid rgba(0, 255, 170, 0.4);
    box-shadow:
        0 25px 50px -20px rgba(0, 255, 170, 0.5),
        0 0 0 1px rgba(0, 255, 170, 0.15) inset,
        0 0 80px rgba(0, 255, 170, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.card-widget-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: cardGlow 5s infinite ease-in-out;
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.card-widget-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transition: left 1.2s ease;
    pointer-events: none;
}

.card-widget-bg:hover::after { left: 100%; }

.card-widget-bg:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 40px 80px -25px rgba(0, 255, 170, 0.7),
        0 0 0 1px rgba(0, 255, 170, 0.25) inset,
        0 0 100px rgba(0, 255, 170, 0.3);
}

.card-shine {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 255, 170, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.card-chip {
    width: 46px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4af37 0%, #f7e98e 50%, #d4af37 100%);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.card-chip::before {
    content: '';
    position: absolute;
    top: 9px; left: 7px; right: 7px;
    height: 2px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 0 12px 0 rgba(0, 0, 0, 0.3);
}
.card-chip::after {
    content: '';
    position: absolute;
    top: 4px; bottom: 4px; left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
}

.card-brand {
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 0%, #b8ffe9 50%, #0fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.card-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.3);
    word-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

.card-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.2rem;
    align-items: end;
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 0.6rem;
    color: rgba(0, 255, 170, 0.65);
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
}
.card-value {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-amount-block { text-align: right; }
.card-value.accent {
    color: #0fa;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.6);
}

.card-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.card-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 187, 0, 0.06);
    border: 1px solid rgba(255, 187, 0, 0.2);
    border-radius: 1rem;
    font-size: 0.85rem;
    color: #b8c4cf;
    width: 100%;
}
.card-hint i { color: #fb0; font-size: 1.1rem; flex-shrink: 0; }
.card-hint b { color: #fb0; }

.buy-order { padding: 1.8rem; }
.buy-order h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
}
.buy-order h3 i { color: #0fa; }

.order-num-line {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.8rem;
    background: rgba(0, 255, 170, 0.06);
    border: 1px dashed rgba(0, 255, 170, 0.3);
    border-radius: 0.8rem;
}

.buy-balance {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}
.balance-head { margin-bottom: 1.8rem; }
.balance-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.25), rgba(255, 187, 0, 0.05));
    color: #fb0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 187, 0, 0.3);
}
.balance-head h3 { font-size: 1.4rem; font-weight: 700; }

.balance-calc {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 187, 0, 0.03) 100%);
    border: 1px solid rgba(255, 187, 0, 0.2);
    border-radius: 1.3rem;
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.balance-row {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    align-items: center;
}
.balance-row span:first-child { color: #9aa7b3; }
.balance-row span:last-child { font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.balance-total {
    border-top: 1px solid rgba(255, 187, 0, 0.2);
    padding-top: 1rem;
    margin-top: 0.5rem;
}
.balance-total span:last-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fb0;
    text-shadow: 0 0 20px rgba(255, 187, 0, 0.4);
}

/* === МИНИ-КАТАЛОГ === */
.buy-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 90px;
}

.side-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 170, 0.02) 100%);
    border: 1px solid rgba(0, 255, 170, 0.18);
    border-radius: 1.5rem;
    padding: 1.4rem;
    transition: all 0.25s;
}
.side-card:hover {
    border-color: rgba(0, 255, 170, 0.35);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 170, 0.3);
}
.side-card-accent {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 187, 0, 0.04) 100%);
    border-color: rgba(255, 187, 0, 0.3);
}

.side-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 255, 170, 0.1);
    font-size: 0.9rem;
    color: #b8c4cf;
    font-weight: 600;
}
.side-head i { color: #0fa; font-size: 1rem; }
.side-head .accent {
    margin-left: auto;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.side-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 340px;
    overflow-y: auto;
}
.side-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.65rem 0.8rem;
    background: rgba(0, 255, 170, 0.03);
    border: 1px solid rgba(0, 255, 170, 0.08);
    border-radius: 0.75rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.side-row:hover {
    background: rgba(0, 255, 170, 0.08);
    border-color: rgba(0, 255, 170, 0.25);
}
.side-foot {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(0, 255, 170, 0.1);
}

.side-tip { display: flex; gap: 1rem; align-items: flex-start; }
.side-tip > i { color: #fb0; font-size: 1.5rem; flex-shrink: 0; }
.side-tip-title { font-weight: 700; color: #fb0; font-size: 0.95rem; margin-bottom: 0.4rem; }
.side-tip-text { font-size: 0.85rem; color: #b8c4cf; line-height: 1.55; margin-bottom: 0.3rem; }

.side-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    text-align: center;
}
.side-stat {
    padding: 0.6rem 0.4rem;
    background: rgba(0, 255, 170, 0.03);
    border-radius: 0.8rem;
}
.side-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    font-family: 'JetBrains Mono', monospace;
}
.side-stat-value.accent { color: #0fa; }
.side-stat-label {
    font-size: 0.68rem;
    color: #7d8a97;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.account-output {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.2rem;
    border-radius: 1rem;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 255, 170, 0.25);
    color: #b8c4cf;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.7;
}

@media (max-width: 720px) {
    h1 { font-size: 1.9rem; }
    .container { padding: 1rem; }
    .topbar-inner { padding: 0.9rem 1rem; }
    .nav { gap: 0.8rem; font-size: 0.85rem; }
    .hero { padding: 2rem 1.2rem; }
    .logo span { font-size: 1rem; }
    .nav-avatar { width: 32px; height: 32px; }
    .nav-avatar-fallback { font-size: 0.8rem; }
    .accounts-table th:nth-child(3),
    .accounts-table td:nth-child(3) { display: none; }
    .accounts-table th,
    .accounts-table td {
        padding: 0.6rem 0.7rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 620px) {
    .profile-row {
        flex-direction: column;
        text-align: center;
    }
    .profile-avatar { width: 72px; height: 72px; }
    .avatar-fallback { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .card-widget-bg {
        padding: 1.2rem 1.3rem;
        max-height: none;
    }
    .card-number { font-size: 1.1rem; letter-spacing: 0.05em; }
    .card-brand { font-size: 1.1rem; top: 1.2rem; right: 1.3rem; }
    .card-chip { width: 34px; height: 26px; }
    .card-value { font-size: 0.75rem; }
    .card-value.accent { font-size: 0.9rem; }
}


/* ============================================
   BUY PAGE — PREMIUM EDITION
   ============================================ */

/* HERO */
.buy-hero {
    padding: 2.5rem 2rem;
    background:
        radial-gradient(circle at 80% 30%, rgba(0, 255, 170, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 170, 0.02) 100%);
}

.buy-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.buy-hero-left { flex-grow: 1; }

.buy-hero-right {
    display: flex;
    gap: 1rem;
}

.hero-mini-stats {
    display: flex;
    gap: 1.2rem;
    padding: 1rem 1.4rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.3rem;
    backdrop-filter: blur(10px);
}

.hero-mini-stat { text-align: center; min-width: 80px; }

.hero-mini-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.hero-mini-value.accent { color: #0fa; text-shadow: 0 0 20px rgba(0, 255, 170, 0.5); }

.hero-mini-label {
    font-size: 0.68rem;
    color: #7d8a97;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* LAYOUT */
.buy-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.8rem;
    align-items: start;
    margin-top: 1.5rem;
}

@media (max-width: 1050px) {
    .buy-layout { grid-template-columns: 1fr; }
    .buy-hero-content { flex-direction: column; text-align: center; }
    .buy-hero-left h1 { font-size: 2rem; }
}

.buy-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.buy-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 170, 0.02) 100%);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 1.8rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* ВЫБОР СПОСОБА */
.buy-choice::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.buy-choice-head {
    text-align: center;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.buy-choice-head h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #fff 40%, #0fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.buy-choice-head h3 i { color: #0fa; background: none; -webkit-text-fill-color: #0fa; }

.choice-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 620px) {
    .choice-buttons { grid-template-columns: 1fr; }
}

.choice-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1.4rem;
    border: 2px solid rgba(0, 255, 170, 0.25);
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    color: #e2e8f0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.choice-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 255, 170, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.choice-btn:hover:not(:disabled)::after { opacity: 1; }

.choice-btn:hover:not(:disabled) {
    border-color: #0fa;
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px -15px rgba(0, 255, 170, 0.5),
        0 0 30px rgba(0, 255, 170, 0.2);
}

.choice-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.choice-icon {
    width: 58px;
    height: 58px;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.25), rgba(0, 255, 170, 0.05));
    color: #0fa;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.25);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.choice-btn:hover:not(:disabled) .choice-icon {
    transform: scale(1.1) rotate(-5deg);
}

.choice-balance {
    border-color: rgba(255, 187, 0, 0.35);
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.06) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.choice-balance::after {
    background: linear-gradient(135deg, transparent 30%, rgba(255, 187, 0, 0.1) 100%);
}

.choice-balance:hover:not(:disabled) {
    border-color: #fb0;
    box-shadow:
        0 20px 40px -15px rgba(255, 187, 0, 0.5),
        0 0 30px rgba(255, 187, 0, 0.2);
}

.choice-balance .choice-icon {
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.25), rgba(255, 187, 0, 0.05));
    color: #fb0;
    box-shadow: 0 0 20px rgba(255, 187, 0, 0.25);
}

.choice-info { flex-grow: 1; position: relative; z-index: 1; }

.choice-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.3px;
}

.choice-sub { font-size: 0.8rem; color: #9aa7b3; }
.choice-sub b { color: #0fa; font-family: 'JetBrains Mono', monospace; }
.choice-balance .choice-sub b { color: #fb0; }

.choice-arrow {
    font-size: 1.1rem;
    color: #7d8a97;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.choice-btn:hover:not(:disabled) .choice-arrow {
    color: #0fa;
    transform: translateX(8px);
}

.choice-balance:hover:not(:disabled) .choice-arrow { color: #fb0; }

.buy-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 170, 0.1);
    position: relative;
    z-index: 1;
}

@media (max-width: 620px) {
    .buy-info-grid { grid-template-columns: 1fr; }
}

.buy-info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem;
    border-radius: 1rem;
    transition: background 0.2s;
}

.buy-info-item:hover { background: rgba(0, 255, 170, 0.04); }

.buy-info-item i {
    font-size: 1.3rem;
    color: #0fa;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 170, 0.08);
    border-radius: 0.7rem;
    flex-shrink: 0;
}

.buy-info-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; }
.buy-info-sub { font-size: 0.72rem; color: #7d8a97; }

/* TRUST ROW */
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

@media (max-width: 900px) {
    .trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .trust-row { grid-template-columns: 1fr; }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.12);
    border-radius: 1.1rem;
    transition: all 0.2s;
}

.trust-item:hover {
    border-color: rgba(0, 255, 170, 0.3);
    background: rgba(0, 255, 170, 0.03);
}

.trust-item > i {
    font-size: 1.2rem;
    color: #0fa;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 170, 0.1);
    border-radius: 0.7rem;
    flex-shrink: 0;
}

.trust-title { font-size: 0.85rem; font-weight: 600; }
.trust-sub { font-size: 0.72rem; color: #7d8a97; }

/* КАРТА */
.buy-req-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
}

.buy-req-head h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
}

.buy-req-head h3 i { color: #0fa; }

.card-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.card-widget-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586;
    max-height: 320px;
    border-radius: 1.5rem;
    padding: 1.5rem 1.6rem;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 255, 170, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0a2f24 0%, #061410 50%, #000 100%);
    border: 1px solid rgba(0, 255, 170, 0.35);
    box-shadow:
        0 20px 40px -15px rgba(0, 255, 170, 0.4),
        0 0 0 1px rgba(0, 255, 170, 0.1) inset,
        0 0 60px rgba(0, 255, 170, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-widget-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.card-widget-bg:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 30px 60px -20px rgba(0, 255, 170, 0.6),
        0 0 0 1px rgba(0, 255, 170, 0.2) inset,
        0 0 80px rgba(0, 255, 170, 0.25);
}

.card-chip {
    width: 42px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4af37 0%, #f7e98e 50%, #d4af37 100%);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 8px; left: 6px; right: 6px;
    height: 2px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 0 12px 0 rgba(0, 0, 0, 0.3);
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 4px; bottom: 4px; left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
}

.card-brand {
    position: absolute;
    top: 1.5rem; right: 1.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(135deg, #fff 0%, #0fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.3);
    margin-top: 0.8rem;
}

.card-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.card-label {
    font-size: 0.6rem;
    color: rgba(0, 255, 170, 0.6);
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
}

.card-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-value.accent {
    color: #0fa;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.6);
}

.card-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 187, 0, 0.06);
    border: 1px solid rgba(255, 187, 0, 0.2);
    border-radius: 1rem;
    font-size: 0.85rem;
    color: #b8c4cf;
    width: 100%;
}

.card-hint i { color: #fb0; font-size: 1.1rem; flex-shrink: 0; }
.card-hint b { color: #fb0; font-family: 'JetBrains Mono', monospace; }

/* ЗАЯВКА */
.buy-order h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
}

.buy-order h3 i { color: #0fa; }

.btn-lg {
    padding: 1.15rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 1rem;
}

.order-num-line {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.8rem;
    background: rgba(0, 255, 170, 0.06);
    border: 1px dashed rgba(0, 255, 170, 0.3);
    border-radius: 0.8rem;
}

/* БАЛАНС */
.buy-balance {
    text-align: center;
    position: relative;
}

.balance-head { margin-bottom: 1.8rem; }

.balance-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.25), rgba(255, 187, 0, 0.05));
    color: #fb0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 187, 0, 0.3);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 187, 0, 0.3); }
    50% { box-shadow: 0 0 45px rgba(255, 187, 0, 0.5); }
}

.balance-head h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; }

.balance-calc {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 187, 0, 0.03) 100%);
    border: 1px solid rgba(255, 187, 0, 0.2);
    border-radius: 1.3rem;
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    align-items: center;
}

.balance-row span:first-child { color: #9aa7b3; }
.balance-row span:last-child { font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.balance-total {
    border-top: 1px solid rgba(255, 187, 0, 0.2);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.balance-total span:last-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fb0;
    text-shadow: 0 0 20px rgba(255, 187, 0, 0.4);
}

/* КАК ЭТО РАБОТАЕТ */
.buy-how {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 170, 0.15);
    border-radius: 1.8rem;
    padding: 2rem;
}

.buy-how h2 {
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.buy-how h2 i { color: #0fa; }

.buy-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.how-step {
    padding: 1.2rem;
    background: rgba(0, 255, 170, 0.03);
    border: 1px solid rgba(0, 255, 170, 0.1);
    border-radius: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}

.how-step:hover {
    border-color: rgba(0, 255, 170, 0.3);
    transform: translateY(-2px);
}

.how-step::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.how-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0fa;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
}

.how-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.how-text {
    font-size: 0.8rem;
    color: #9aa7b3;
    line-height: 1.5;
}

/* ПРАВАЯ ПАНЕЛЬ */
.buy-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 90px;
}

.side-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 170, 0.02) 100%);
    border: 1px solid rgba(0, 255, 170, 0.18);
    border-radius: 1.5rem;
    padding: 1.4rem;
    transition: all 0.25s;
}

.side-card:hover {
    border-color: rgba(0, 255, 170, 0.35);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 170, 0.3);
}

.side-card-accent {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 187, 0, 0.04) 100%);
    border-color: rgba(255, 187, 0, 0.3);
}

.side-card-stats {
    padding: 1rem;
}

.side-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 255, 170, 0.1);
    font-size: 0.9rem;
    color: #b8c4cf;
    font-weight: 600;
}

.side-head i { color: #0fa; font-size: 1rem; }

.side-head .accent {
    margin-left: auto;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.side-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 340px;
    overflow-y: auto;
}

.side-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.65rem 0.8rem;
    background: rgba(0, 255, 170, 0.03);
    border: 1px solid rgba(0, 255, 170, 0.08);
    border-radius: 0.75rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.side-row:hover {
    background: rgba(0, 255, 170, 0.08);
    border-color: rgba(0, 255, 170, 0.25);
    transform: translateX(3px);
}

.side-foot {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(0, 255, 170, 0.1);
}

.side-tip { display: flex; gap: 1rem; align-items: flex-start; }
.side-tip > i { color: #fb0; font-size: 1.5rem; flex-shrink: 0; }
.side-tip-title { font-weight: 700; color: #fb0; font-size: 0.95rem; margin-bottom: 0.4rem; }
.side-tip-text { font-size: 0.85rem; color: #b8c4cf; line-height: 1.55; margin-bottom: 0.3rem; }

.side-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    text-align: center;
}

.side-stat {
    padding: 0.7rem 0.4rem;
    background: rgba(0, 255, 170, 0.03);
    border-radius: 0.8rem;
    transition: background 0.2s;
}

.side-stat:hover { background: rgba(0, 255, 170, 0.08); }

.side-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    font-family: 'JetBrains Mono', monospace;
}

.side-stat-value.accent { color: #0fa; }

.side-stat-label {
    font-size: 0.68rem;
    color: #7d8a97;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* FAQ */
.side-card-faq .side-head { margin-bottom: 0.8rem; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    padding: 0.7rem;
    background: rgba(0, 255, 170, 0.02);
    border-radius: 0.7rem;
    border-left: 2px solid rgba(0, 255, 170, 0.3);
}

.faq-q {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #b8c4cf;
}

.faq-a {
    font-size: 0.75rem;
    color: #7d8a97;
    line-height: 1.5;
}

/* АККАУНТ-ВЫВОД */
.account-output {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.2rem;
    border-radius: 1rem;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 255, 170, 0.25);
    color: #b8c4cf;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .card-widget-bg {
        padding: 1.2rem 1.3rem;
        max-height: none;
    }
    .card-number {
        font-size: 1.1rem;
        letter-spacing: 0.05em;
    }
    .card-brand {
        font-size: 1rem;
        top: 1.2rem;
        right: 1.3rem;
    }
    .card-chip {
        width: 34px;
        height: 26px;
    }
    .card-value { font-size: 0.75rem; }
    .card-value.accent { font-size: 0.9rem; }

    .hero-mini-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}