﻿.app-container {
    min-height: 100vh;
    background: var(--bg-page);
    padding-bottom: 90px;
    position: relative;
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    z-index: 10;
}

.background-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-primary {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-secondary {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.10) 0%, transparent 70%);
    bottom: 20%;
    left: -175px;
    animation-delay: 7s;
}

.orb-accent {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
    bottom: -150px;
    right: 10%;
    animation-delay: 14s;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(0, 168, 107, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(46, 204, 113, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(52, 152, 219, 0.015) 0%, transparent 70%);
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(30px, -40px) scale(1.1) rotate(90deg); }
    50% { transform: translate(-20px, 30px) scale(0.9) rotate(180deg); }
    75% { transform: translate(40px, -20px) scale(1.05) rotate(270deg); }
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(0, 168, 107, 0.1);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.header-content {
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.balance-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.balance-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 4px;
}

.currency-symbol {
    font-size: 16px;
    color: var(--accent-primary);
    font-weight: 700;
}

.balance-amount #userBalance {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: 'Outfit', 'JetBrains Mono', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'tnum' 1;
}

.main-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-banner-section {
    margin: 28px 0;
    position: relative;
}

.slider-container {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 107, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.slider-wrapper {
    position: absolute;
    inset: 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

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

.banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.default-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--gradient-dark);
    position: relative;
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.banner-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(0, 168, 107, 0.6);
    transform: scale(1.2);
}

.banner-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--gradient-dark);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.heading-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heading-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 168, 107, 0.5) 0%, transparent 100%);
    border-radius: 2px;
}

.section-heading .heading-divider:first-child {
    background: linear-gradient(90deg, transparent 0%, rgba(0, 168, 107, 0.5) 100%);
}

.operations-section {
    margin-bottom: 42px;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.operation-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.operation-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: all 0.4s ease;
}

.operation-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 168, 107, 0.4);
}

.operation-item:hover::before {
    opacity: 1;
}

.operation-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.recharge-operation .operation-icon {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.18) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #22C55E;
}

.withdraw-operation .operation-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
    color: #F59E0B;
}

.service-operation .operation-icon {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18) 0%, rgba(20, 184, 166, 0.08) 100%);
    color: #2DD4BF;
}

.operation-item:hover .operation-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.recharge-operation:hover .operation-icon {
    background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
    color: #fff;
}

.withdraw-operation:hover .operation-icon {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #fff;
}

.service-operation:hover .operation-icon {
    background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
    color: #fff;
}

.operation-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.35s ease;
}

.operation-label {
    text-align: left;
    flex: 1;
}

.label-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.label-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investments-section {
    margin-bottom: 32px;
}

.investments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card {
    background: #FFFFFF;
    border: 2px solid rgba(0, 168, 107, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    display: flex;
    flex-direction: row;
    min-height: 170px;
}

.product-card[data-idx="0"] { animation-delay: 0s; }
.product-card[data-idx="1"] { animation-delay: 0.1s; }
.product-card[data-idx="2"] { animation-delay: 0.2s; }
.product-card[data-idx="3"] { animation-delay: 0.3s; }
.product-card[data-idx="4"] { animation-delay: 0.4s; }
.product-card[data-idx="5"] { animation-delay: 0.5s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 168, 107, 0.2);
    border-color: rgba(0, 168, 107, 0.35);
}

.product-card-disabled {
    border-color: rgba(148, 163, 184, 0.35);
    filter: saturate(0.65);
}

.product-card-disabled:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(148, 163, 184, 0.35);
}

.product-image {
    width: 140px;
    min-width: 140px;
    min-height: 170px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-name-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 168, 107, 0.95);
    color: #FFFFFF;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    justify-content: space-between;
}

.product-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.info-tag {
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.info-tag:hover {
    transform: translateY(-2px);
}

.price-tag {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.12) 0%, rgba(0, 168, 107, 0.08) 100%);
    border: 1.5px solid rgba(0, 168, 107, 0.3);
}

.daily-tag {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12) 0%, rgba(46, 204, 113, 0.08) 100%);
    border: 1.5px solid rgba(46, 204, 113, 0.3);
}

.days-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.3);
}

.total-tag {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.15) 0%, rgba(46, 204, 113, 0.1) 100%);
    border: 1.5px solid rgba(0, 168, 107, 0.4);
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.15);
}

.tag-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-value {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', 'JetBrains Mono', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.3px;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'tnum' 1;
}

.price-tag .tag-value {
    color: #00A86B;
}

.daily-tag .tag-value {
    color: #2ECC71;
}

.days-tag .tag-value {
    color: #F59E0B;
}

.total-tag .tag-value {
    color: #00A86B;
    font-size: 16px;
    font-weight: 700;
}

.product-note {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    font-size: 10px;
    color: #2563EB;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 8px;
}

.product-note svg {
    flex-shrink: 0;
}

.invest-button {
    width: 100%;
    padding: 10px 14px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 168, 107, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.invest-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.invest-button:hover::before {
    width: 350px;
    height: 350px;
}

.invest-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.45);
}

.invest-button:active {
    transform: translateY(0);
}

.invest-button svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.invest-button:hover svg {
    transform: rotate(-45deg);
}

.invest-button span {
    position: relative;
    z-index: 1;
}

.invest-button-disabled,
.invest-button-disabled:hover,
.invest-button:disabled {
    cursor: not-allowed;
    background: linear-gradient(135deg, #94A3B8 0%, #CBD5E1 100%);
    box-shadow: none;
    transform: none;
    opacity: 0.9;
}

.invest-button-disabled::before,
.invest-button:disabled::before {
    display: none;
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 168, 107, 0.25);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast-notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 16px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(20px);
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.25);
}

.toast-notification.error {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.25);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

@media (max-width: 480px) {
    .header-content {
        padding: 16px 20px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .balance-label {
        font-size: 10px;
    }
    
    .currency-symbol {
        font-size: 14px;
    }
    
    .balance-amount #userBalance {
        font-size: 18px;
    }
    
    .main-container {
        padding: 0 16px;
    }
    
    .hero-banner-section {
        margin: 20px 0;
    }
    
    .slider-container {
        height: 150px;
        border-radius: 16px;
    }
    
    .operations-grid {
        gap: 12px;
    }
    
    .operation-item {
        padding: 12px 14px;
        border-radius: 12px;
        gap: 8px;
    }
    
    .operation-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }
    
    .operation-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .label-title {
        font-size: 14px;
    }
    
    .label-subtitle {
        font-size: 10px;
    }
    
    .investments-list {
        gap: 14px;
    }
    
    .product-card {
        border-radius: 14px;
        min-height: 145px;
    }
    
    .product-image {
        width: 110px;
        min-width: 110px;
        min-height: 145px;
    }
    
    .product-name-overlay {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 4px 6px;
        font-size: 11px;
        border-radius: 6px;
    }
    
    .product-content {
        padding: 10px 12px;
    }
    
    .product-tags {
        gap: 6px;
    }
    
    .info-tag {
        padding: 6px 7px;
        border-radius: 6px;
    }
    
    .tag-label {
        font-size: 8px;
    }
    
    .tag-value {
        font-size: 13px;
    }
    
    .total-tag .tag-value {
        font-size: 14px;
    }
    
    .product-note {
        font-size: 9px;
        padding: 5px 6px;
        margin-bottom: 6px;
    }
    
    .product-note svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
    
    .invest-button {
        padding: 8px 10px;
        font-size: 11px;
        border-radius: 6px;
        gap: 4px;
    }
    
    .invest-button svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding: 14px 16px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .balance-label {
        font-size: 9px;
    }
    
    .currency-symbol {
        font-size: 12px;
    }
    
    .balance-amount #userBalance {
        font-size: 16px;
    }
    
    .main-container {
        padding: 0 14px;
    }
    
    .hero-banner-section {
        margin: 18px 0;
    }
    
    .slider-container {
        height: 130px;
        border-radius: 14px;
    }
    
    .operations-grid {
        gap: 10px;
    }
    
    .operation-item {
        padding: 10px 12px;
        gap: 7px;
        border-radius: 10px;
    }
    
    .operation-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    
    .operation-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .label-title {
        font-size: 13px;
    }
    
    .label-subtitle {
        font-size: 9px;
    }
    
    .investments-list {
        gap: 12px;
    }
    
    .product-card {
        border-radius: 12px;
        min-height: 130px;
    }
    
    .product-image {
        width: 95px;
        min-width: 95px;
        min-height: 130px;
    }
    
    .product-name-overlay {
        top: 6px;
        left: 6px;
        right: 6px;
        padding: 3px 5px;
        font-size: 10px;
        border-radius: 5px;
    }
    
    .product-content {
        padding: 8px 10px;
    }
    
    .product-tags {
        gap: 5px;
    }
    
    .info-tag {
        padding: 5px 6px;
        border-radius: 5px;
    }
    
    .tag-label {
        font-size: 7px;
    }
    
    .tag-value {
        font-size: 12px;
    }
    
    .total-tag .tag-value {
        font-size: 13px;
    }
    
    .product-note {
        font-size: 8px;
        padding: 4px 5px;
        margin-bottom: 5px;
    }
    
    .product-note svg {
        width: 12px;
        height: 12px;
        margin-right: 3px;
    }
    
    .invest-button {
        padding: 7px 8px;
        font-size: 10px;
        border-radius: 5px;
        gap: 3px;
    }
    
    .invest-button svg {
        width: 11px;
        height: 11px;
    }
}

.balance-selection-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.balance-modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(38, 50, 56, 0.88);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.balance-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 253, 251, 0.95) 100%);
    border: 2px solid var(--hz-accent-primary);
    border-radius: 24px;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: 
        0 0 40px rgba(0, 168, 107, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.balance-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--hz-accent-gradient);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.balance-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--hz-text-primary);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.balance-modal-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: var(--hz-accent-primary);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.balance-modal-tip {
    font-size: 14px;
    color: var(--hz-text-secondary);
    text-align: center;
    margin-bottom: 24px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.08) 0%, rgba(46, 204, 113, 0.08) 100%);
    border-radius: 12px;
    border-left: 3px solid var(--hz-accent-primary);
    line-height: 1.6;
}

.balance-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.balance-option {
    background: var(--hz-bg-card);
    border: 2px solid var(--hz-border-primary);
    border-radius: 16px;
    padding: 20px;
    padding-right: 52px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.balance-option .radio-indicator {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--hz-border-primary);
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-option:not(.disabled):hover .radio-indicator {
    border-color: var(--hz-accent-primary);
}

.balance-option.selected .radio-indicator {
    border-color: var(--hz-accent-primary);
    background: var(--hz-accent-gradient);
}

.balance-option.selected .radio-indicator::after {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.balance-option.disabled .radio-indicator {
    border-color: var(--hz-text-muted);
    opacity: 0.5;
}

.balance-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.balance-option:not(.disabled):hover {
    background: var(--hz-bg-elevated);
    border-color: var(--hz-accent-primary);
    transform: translateY(-4px);
    box-shadow: 
        0 0 20px rgba(0, 168, 107, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.balance-option:not(.disabled):hover::before {
    left: 100%;
}

.balance-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--hz-bg-secondary);
}

.balance-option.selected {
    background: var(--hz-bg-elevated);
    border-color: var(--hz-accent-primary);
    box-shadow: 
        0 0 20px rgba(0, 168, 107, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.12);
}


.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.option-label {
    font-size: 16px;
    color: var(--hz-text-primary);
    font-weight: 600;
}

.option-tag {
    font-size: 11px;
    color: #FFFFFF;
    background: var(--hz-accent-gradient);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.option-balance {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 700;
    color: var(--hz-accent-primary);
    letter-spacing: 0.5px;
}

.option-insufficient {
    font-size: 13px;
    color: var(--hz-danger);
    margin-top: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.option-insufficient::before {
    content: '⚠️';
    font-size: 14px;
}

.balance-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-modal-confirm {
    width: 100%;
    padding: 14px;
    background: var(--hz-accent-gradient);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-modal-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 0 30px rgba(0, 168, 107, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.balance-modal-confirm:active:not(:disabled) {
    transform: translateY(0);
}

.balance-modal-confirm:disabled {
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.4) 0%, rgba(46, 204, 113, 0.4) 100%);
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.balance-modal-cancel {
    width: 100%;
    padding: 14px;
    background: var(--hz-bg-secondary);
    border: 2px solid var(--hz-border-primary);
    border-radius: 12px;
    color: var(--hz-text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.balance-modal-cancel:hover {
    background: var(--hz-bg-elevated);
    border-color: var(--hz-text-muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.balance-modal-cancel:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .balance-modal-content {
        padding: 24px;
        max-width: 100%;
        margin: 16px;
    }
    
    .balance-modal-title {
        font-size: 20px;
    }
    
    .balance-modal-amount {
        font-size: 16px;
    }
    
    .balance-modal-tip {
        font-size: 12px;
        padding: 10px;
    }
    
    .balance-option {
        padding: 16px;
    }
    
    .option-balance {
        font-size: 18px;
    }
}

