* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #a855f7;
    --primary-blue: #6366f1;
    --primary-cyan: #06b6d4;
    --dark-bg: #0a0118;
    --glass-bg: rgba(99, 102, 241, 0.08);
    --glass-border: rgba(168, 85, 247, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%);
    --gradient-3: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #8b5cf6 100%);
    --glow-purple: 0 0 30px rgba(168, 85, 247, 0.6);
    --glow-blue: 0 0 30px rgba(99, 102, 241, 0.6);
    --glow-strong: 0 0 50px rgba(168, 85, 247, 0.9), 0 0 100px rgba(99, 102, 241, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgRotate 30s linear infinite;
}

@keyframes bgRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(168, 85, 247, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(99, 102, 241, 0.4), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(168, 85, 247, 0.3), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    pointer-events: none;
    z-index: 0;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    from { background-position: 0 0, 40px 60px, 130px 270px, 70px 100px; }
    to { background-position: 200px 200px, 240px 260px, 330px 470px, 270px 300px; }
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Premium Glass Top Bar */
.top-bar {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 1, 24, 0.7);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 10px;
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.top-bar-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.top-bar-item:hover::before {
    opacity: 0.15;
}

.top-bar-item:hover {
    border-color: var(--primary-purple);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-purple);
}

.top-bar-item:active {
    transform: translateY(-1px) scale(0.98);
}

.profile-widget {
    flex: 0;
    padding: 4px;
    justify-content: center;
    border-radius: 50%;
    min-width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.top-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--gradient-2) border-box;
    object-fit: cover;
    object-position: center;
    animation: avatarGlow 3s ease-in-out infinite;
    display: block;
}

@keyframes avatarGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8); }
}

.widget-icon {
    font-size: 22px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.widget-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}

.widget-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.widget-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 24px;
    padding-bottom: 100px;
    overflow-y: auto;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.profile-header {
    text-align: center;
    padding: 24px;
}

.avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-2);
    padding: 5px;
    animation: avatarPulse 3s ease-in-out infinite;
    position: relative;
}

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--gradient-2);
    filter: blur(20px);
    opacity: 0.5;
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(99, 102, 241, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(168, 85, 247, 0.9), 0 0 100px rgba(99, 102, 241, 0.6);
        transform: scale(1.05);
    }
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: var(--glass-bg);
    position: relative;
    z-index: 1;
}

.user-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Premium Balance Section */
.balance-section {
    background: rgba(10, 1, 24, 0.6);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 32px;
    padding: 50px 35px;
    text-align: center;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(10, 1, 24, 0.6), rgba(10, 1, 24, 0.6)),
        var(--gradient-2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 50px rgba(168, 85, 247, 0.3),
        0 20px 100px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.balance-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    animation: balanceRotate 20s linear infinite;
}

@keyframes balanceRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.balance-section::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(99, 102, 241, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.balance-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.balance-amount {
    font-size: 56px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

.balance-amount.updating {
    animation: balanceUpdate 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes balanceUpdate {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15) rotate(-2deg); }
    75% { transform: scale(1.15) rotate(2deg); }
}

.ton-icon {
    font-size: 42px;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Premium Buttons */
.wallet-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-action {
    background: rgba(10, 1, 24, 0.6);
    backdrop-filter: blur(30px);
    color: white;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(10, 1, 24, 0.6), rgba(10, 1, 24, 0.6)),
        var(--gradient-2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 28px 24px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-action:hover::before {
    opacity: 0.2;
}

.btn-action:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--glow-strong);
}

.btn-action:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-action .btn-icon,
.btn-action span {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(10, 1, 24, 0.9);
    backdrop-filter: blur(40px) saturate(200%);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    z-index: 100;
    box-shadow: 0 -8px 40px rgba(168, 85, 247, 0.2);
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
}

.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    border-radius: 16px;
    transition: opacity 0.4s ease;
}

.nav-btn.active::before {
    opacity: 0.15;
}

.nav-btn.active {
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.nav-btn:hover {
    transform: translateY(-3px);
}

.nav-icon {
    font-size: 26px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Premium Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(10, 1, 24, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
    border-radius: 28px;
    width: 90%;
    max-width: 420px;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(10, 1, 24, 0.95), rgba(10, 1, 24, 0.95)),
        var(--gradient-2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(168, 85, 247, 0.4);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary-purple);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-amount {
    background: rgba(10, 1, 24, 0.8);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    color: var(--text-primary);
    font-size: 20px;
    text-align: center;
    transition: all 0.4s ease;
    font-weight: 600;
}

.input-amount:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    background: rgba(10, 1, 24, 0.95);
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--glow-strong);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-full {
    width: 100%;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.payment-method-btn {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.payment-method-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.payment-method-btn:hover::before {
    opacity: 0.15;
}

.payment-method-btn:hover {
    border-color: var(--primary-purple);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow-purple);
}

.method-icon {
    font-size: 36px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
}

.method-name {
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.back-btn {
    color: var(--primary-purple);
    cursor: pointer;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-6px);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

#payment-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* History Sections */
.history-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-toggle {
    cursor: pointer;
    user-select: none;
}

.history-toggle h3:hover {
    color: var(--primary-purple);
}

.withdrawal-item,
.transaction-item {
    background: rgba(10, 1, 24, 0.6);
    backdrop-filter: blur(30px);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(10, 1, 24, 0.6), rgba(10, 1, 24, 0.6)),
        var(--gradient-2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 24px;
    padding: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.6s ease;
    position: relative;
    overflow: hidden;
}

.withdrawal-item::before,
.transaction-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: itemRotate 15s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.withdrawal-item:hover::before,
.transaction-item:hover::before {
    opacity: 1;
}

@keyframes itemRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.withdrawal-item:hover,
.transaction-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.withdrawal-header,
.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.withdrawal-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    font-size: 14px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.withdrawal-id {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.withdrawal-amount,
.transaction-amount {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 14px 0;
    position: relative;
    z-index: 1;
    animation: amountGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

@keyframes amountGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.withdrawal-wallet {
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    padding: 12px;
    background: rgba(10, 1, 24, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    z-index: 1;
}

.withdrawal-date,
.transaction-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.withdrawal-date::before,
.transaction-date::before {
    content: '🕐';
    font-size: 14px;
}

.withdrawal-comment {
    margin-top: 16px;
    padding: 16px;
    background: rgba(168, 85, 247, 0.15);
    border-left: 4px solid var(--primary-purple);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    animation: commentSlide 0.5s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

@keyframes commentSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.withdrawal-comment.rejected {
    background: rgba(239, 68, 68, 0.15);
    border-left-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.status-pending {
    border-image: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(251, 191, 36, 0.3)) 1;
}

.status-pending .withdrawal-status {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-approved {
    border-image: linear-gradient(135deg, rgba(34, 197, 94, 0.6), rgba(34, 197, 94, 0.3)) 1;
}

.status-approved .withdrawal-status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-rejected {
    border-image: linear-gradient(135deg, rgba(239, 68, 68, 0.6), rgba(239, 68, 68, 0.3)) 1;
}

.status-rejected .withdrawal-status {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Dev Message */
.dev-message {
    text-align: center;
    padding: 80px 24px;
}

.dev-icon {
    font-size: 100px;
    margin-bottom: 24px;
    animation: devBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

@keyframes devBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(5deg); }
}

.dev-message h2 {
    font-size: 32px;
    margin-bottom: 14px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dev-message p {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .balance-amount {
        font-size: 44px;
    }
    
    .avatar-container {
        width: 120px;
        height: 120px;
    }
    
    .user-name {
        font-size: 24px;
    }
    
    .btn-action {
        padding: 24px 20px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 1, 24, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-3);
}
