﻿

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

.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(255, 111, 0, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

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

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

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 25%, rgba(255, 111, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(255, 160, 0, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 150, 136, 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); }
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 111, 0, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 2px 20px rgba(255, 111, 0, 0.08);
}

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

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

.brand-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255, 111, 0, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.avatar-letter {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Bebas Neue', sans-serif;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255, 111, 0, 0.3), rgba(255, 160, 0, 0.3)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotateRing 8s linear infinite;
}

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

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.brand-subtitle {
    font-size: 12px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.balance-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.balance-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: 'Outfit', sans-serif;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-button {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.service-button:hover {
    background: rgba(45, 212, 191, 0.1);
    border-color: #2DD4BF;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
    transform: scale(1.05);
}

.service-button svg {
    width: 20px;
    height: 20px;
    color: #2DD4BF;
    transition: all 0.3s ease;
}

.service-button:hover svg {
    color: #14B8A6;
    transform: scale(1.1);
}

.main-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-banner {
    position: relative;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 111, 0, 0.15);
    box-shadow: var(--shadow-card);
}

.banner-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(255, 111, 0, 0.8);
    transform: scale(1.2);
}

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

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

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.title-accent {
    flex: 1;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}

.actions-section {
    margin-bottom: 40px;
}

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

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 30px rgba(255, 111, 0, 0.15);
    border-color: rgba(255, 111, 0, 0.3);
}

.action-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.recharge-card .card-icon {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
    color: #4ADE80;
}

.withdraw-card .card-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
    color: #FBBF24;
}

.revenue-card .card-icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
    color: #38BDF8;
}

.service-card .card-icon {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15) 0%, rgba(45, 212, 191, 0.05) 100%);
    color: #2DD4BF;
}

.action-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

.revenue-card:hover .card-icon {
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    color: #fff;
}

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

.card-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.action-card:hover .card-icon svg {
    transform: scale(1.1);
}

.card-content {
    text-align: center;
    flex: 1;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.card-description {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

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

.investment-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--text-muted);
}

.loading-state p {
    margin: 0;
    font-size: 14px;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInCard 0.6s ease forwards;
    height: 460px;
    display: flex;
    flex-direction: column;
}

.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 slideInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(255, 111, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.3);
}

.card-image-section {
    position: relative;
    height: 320px;
    overflow: hidden;
}

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

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px 16px 16px;
    color: #fff;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.card-info-section {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.info-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item.primary {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(255, 160, 0, 0.05) 100%);
    border-color: rgba(255, 111, 0, 0.2);
}

.info-item.highlight {
    background: linear-gradient(135deg, rgba(255, 160, 0, 0.15) 0%, rgba(255, 111, 0, 0.08) 100%);
    border-color: rgba(255, 160, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 160, 0, 0.2);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.info-item.primary .info-value {
    color: var(--accent-primary);
    font-size: 15px;
}

.info-item.highlight .info-value {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px rgba(255, 160, 0, 0.4);
    font-size: 15px;
}

.invest-button {
    width: 100%;
    padding: 14px 20px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.invest-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.invest-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 111, 0, 0.4);
}

.invest-button:hover::before {
    left: 100%;
}

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

.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(255, 111, 0, 0.3);
}

@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(74, 222, 128, 0.15);
    color: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.toast-notification.error {
    background: rgba(248, 113, 113, 0.15);
    color: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}

.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-container {
        padding: 14px 16px;
    }

    .brand-avatar {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .avatar-letter {
        font-size: 24px;
    }

    .brand-title {
        font-size: 20px;
    }

    .balance-label {
        font-size: 11px;
    }

    .balance-value {
        font-size: 13px;
    }

    .main-content {
        padding: 0 16px;
    }

    .hero-banner {
        height: 180px;
        border-radius: 20px;
    }

    .banner-title {
        font-size: 28px;
    }

    .actions-grid {
        gap: 12px;
    }

    .action-card {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-description {
        font-size: 11px;
    }

    .investment-container {
        gap: 16px;
    }

    .product-card {
        height: 420px;
        border-radius: 20px;
    }

    .card-image-section {
        height: 280px;
    }

    .image-overlay {
        padding: 16px 14px 12px;
    }

    .product-name {
        font-size: 16px;
    }

    .card-info-section {
        padding: 14px;
    }

    .info-grid {
        gap: 10px;
        margin-bottom: 14px;
    }

    .info-item {
        padding: 10px 6px;
        border-radius: 10px;
    }

    .info-label {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .info-value {
        font-size: 12px;
    }

    .info-item.primary .info-value {
        font-size: 13px;
    }

    .info-item.highlight .info-value {
        font-size: 13px;
    }

    .invest-button {
        padding: 12px 18px;
        border-radius: 12px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 12px 14px;
    }

    .brand-avatar {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .avatar-letter {
        font-size: 22px;
    }

    .brand-title {
        font-size: 18px;
    }

    .balance-label {
        font-size: 10px;
    }

    .balance-value {
        font-size: 12px;
    }

    .main-content {
        padding: 0 14px;
    }

    .hero-banner {
        height: 160px;
        border-radius: 18px;
    }

    .banner-title {
        font-size: 24px;
    }

    .actions-grid {
        gap: 10px;
    }

    .action-card {
        padding: 14px 10px;
        gap: 10px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    .card-title {
        font-size: 13px;
    }

    .card-description {
        font-size: 10px;
    }

    .product-card {
        height: 400px;
        border-radius: 18px;
    }

    .card-image-section {
        height: 260px;
    }

    .image-overlay {
        padding: 14px 12px 10px;
    }

    .product-name {
        font-size: 14px;
    }

    .card-info-section {
        padding: 12px;
    }

    .info-grid {
        gap: 8px;
        margin-bottom: 12px;
    }

    .info-item {
        padding: 8px 4px;
        border-radius: 8px;
    }

    .info-label {
        font-size: 8px;
        margin-bottom: 4px;
    }

    .info-value {
        font-size: 11px;
    }

    .info-item.primary .info-value {
        font-size: 12px;
    }

    .info-item.highlight .info-value {
        font-size: 12px;
    }

    .invest-button {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

.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(245, 245, 245, 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(255, 111, 0, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.3);
    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(255, 111, 0, 0.08) 0%, rgba(255, 160, 0, 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;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.balance-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 111, 0, 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(255, 111, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.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(255, 111, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.balance-option.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--hz-accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.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(255, 111, 0, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

.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;
    }
}