/* Reset & Base */
:root {
    --primary-teal: #083842;
    --dark-teal: #042127;
    --light-teal: #0E5E6E;
    --gold: #D4AF37;
    --light-gold: #F3E5AB;
    --text-light: #E0F2F1;
    --glass-bg: rgba(8, 56, 66, 0.6);
    --glass-border: rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Arabesque Background Pattern (Subtle) */
.background-pattern {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0 Q40 20 20 40 Q0 20 20 0" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

.app-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gold-border {
    border: 1px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-10 { margin-bottom: 10px; }
.mt-10 { margin-top: 10px; }

/* Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.avatar-container img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.user-info h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

.user-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Balance Card */
.balance-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(14,94,110,0.8) 0%, rgba(8,56,66,0.9) 100%);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 60%);
    z-index: 0;
}

.balance-title {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--light-gold);
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.currency {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-full { width: 100%; }

.btn-gold {
    background: linear-gradient(90deg, #B8860B 0%, #D4AF37 50%, #B8860B 100%);
    color: #111;
    background-size: 200% auto;
}

.btn-gold:hover, .btn-gold:active {
    background-position: right center;
    box-shadow: 0 0 15px var(--gold);
    transform: scale(0.98);
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-light);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn .icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.action-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}

.hover-glow:hover, .hover-glow:active {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) inset, 0 5px 15px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

/* Info Section */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child { border-bottom: none; }

.status-active {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
}
