/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a1a;
    color: #e0e0f0;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ============ AMBIENT BACKGROUND ============ */
.ambient-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: #6C5CE7; top: -100px; left: -100px; }
.orb-2 { width: 350px; height: 350px; background: #00B4D8; bottom: -80px; right: -80px; animation-delay: -7s; }
.orb-3 { width: 250px; height: 250px; background: #fd79a8; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -14s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ============ AUTH SCREEN ============ */
.auth-screen {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: #0a0a1a; padding: 20px;
}
.auth-container {
    width: 100%; max-width: 420px; position: relative; z-index: 1;
    animation: fadeSlideUp 0.6s ease-out;
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-logo { text-align: center; margin-bottom: 36px; }
.auth-logo-mark { display: inline-block; width: 64px; height: 64px; margin-bottom: 16px; animation: logoPulse 3s ease-in-out infinite; }
.auth-logo-mark svg { width: 100%; height: 100%; }
@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(108,92,231,0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(108,92,231,0.6)); }
}
.auth-brand { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #6C5CE7, #00B4D8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-tagline { color: #8888aa; font-size: 13px; margin-top: 4px; font-weight: 400; }
.auth-form {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 32px 24px; backdrop-filter: blur(20px);
}
.auth-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-subtitle { color: #8888aa; font-size: 13px; margin-bottom: 24px; }
.form-field {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 0 16px; margin-bottom: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field:focus-within { border-color: #6C5CE7; box-shadow: 0 0 0 3px rgba(108,92,231,0.15); }
.field-icon { color: #6C5CE7; font-size: 14px; flex-shrink: 0; }
.form-field input {
    flex: 1; background: none; border: none; outline: none; color: #e0e0f0;
    font-size: 14px; padding: 14px 0; width: 100%;
}
.form-field input::placeholder { color: #555570; }
.toggle-pass { color: #555570; font-size: 14px; padding: 4px; transition: color 0.2s; }
.toggle-pass:hover { color: #6C5CE7; }
.form-error { color: #ff6b6b; font-size: 12px; min-height: 18px; margin-bottom: 8px; text-align: center; }
.auth-btn {
    width: 100%; padding: 14px; border-radius: 14px; font-size: 15px; font-weight: 600;
    color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #6C5CE7, #00B4D8);
    box-shadow: 0 4px 20px rgba(108,92,231,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.auth-btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(108,92,231,0.45); }
.auth-btn:hover::after { opacity: 1; }
.auth-btn:active { transform: translateY(0) scale(0.98); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: #8888aa; }
.auth-switch a { color: #6C5CE7; font-weight: 600; transition: color 0.2s; }
.auth-switch a:hover { color: #00B4D8; }

/* ============ DASHBOARD ============ */
.dashboard-screen { position: relative; z-index: 1; min-height: 100vh; padding-bottom: 80px; }

/* Header */
.dash-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px;
    background: rgba(10,10,26,0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.header-logo { width: 38px; height: 38px; flex-shrink: 0; }
.header-logo svg { width: 100%; height: 100%; }
.header-text h1 { font-size: 18px; font-weight: 800; background: linear-gradient(135deg,#6C5CE7,#00B4D8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header-status { font-size: 11px; color: #44ddaa; display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; background: #44ddaa; border-radius: 50%; display: inline-block; animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-icon-btn {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.05); color: #aab;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; position: relative;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.header-icon-btn:hover { background: rgba(108,92,231,0.15); color: #6C5CE7; transform: scale(1.05); }
.notif-badge {
    position: absolute; top: 4px; right: 4px; width: 16px; height: 16px;
    background: #ff6b6b; border-radius: 50%; font-size: 9px; font-weight: 700;
    color: #fff; display: flex; align-items: center; justify-content: center;
    border: 2px solid #0a0a1a;
}

/* ============ PREMIUM CARD SECTION ============ */
.premium-card-section { padding: 20px 20px 0; }

/* Greeting Row */
.greeting-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.welcome-greeting { font-size: 13px; color: #8888aa; font-weight: 400; }
.welcome-name { font-size: 22px; font-weight: 700; margin-top: 2px; }
.greeting-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(0,180,216,0.15));
    border: 2px solid rgba(108,92,231,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #6C5CE7;
    transition: transform 0.3s, box-shadow 0.3s;
}
.greeting-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(108,92,231,0.3);
}

/* Bank Card Wrapper */
.bank-card-wrapper {
    perspective: 1000px;
    margin-bottom: 20px;
}

/* Bank Card */
.bank-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.7 / 1;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1040 0%, #2d1b69 30%, #1e0f4b 60%, #0d0a2a 100%);
    box-shadow:
        0 20px 60px rgba(108,92,231,0.25),
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    overflow: hidden;
    cursor: default;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    animation: cardSlideIn 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(30px) rotateX(8deg) scale(0.95); }
    to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}
.bank-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(108,92,231,0.35),
        0 12px 32px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Card Background Pattern */
.card-bg-pattern {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px;
}
.card-circle {
    position: absolute; border-radius: 50%;
}
.card-circle-1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(108,92,231,0.2) 0%, transparent 70%);
    top: -100px; right: -80px;
    animation: circleFloat1 8s ease-in-out infinite;
}
.card-circle-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
    bottom: -80px; left: -60px;
    animation: circleFloat2 10s ease-in-out infinite;
}
@keyframes circleFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 15px); }
}
@keyframes circleFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -10px); }
}
.card-mesh {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

/* Holographic Shine Effect */
.card-shine {
    position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 35%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.12) 45%,
        rgba(108,92,231,0.08) 50%,
        rgba(0,180,216,0.06) 53%,
        rgba(255,255,255,0.05) 55%,
        transparent 60%,
        transparent 100%
    );
    background-size: 250% 100%;
    animation: shineSwipe 4s ease-in-out infinite;
    z-index: 10;
}
@keyframes shineSwipe {
    0% { background-position: 200% 0; }
    50% { background-position: -50% 0; }
    100% { background-position: 200% 0; }
}

/* Card Top Row */
.card-top-row {
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 5;
}
.card-brand {
    display: flex; align-items: center; gap: 8px;
}
.card-brand-name {
    font-size: 16px; font-weight: 800;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
}
.card-contactless {
    opacity: 0.7; transform: rotate(90deg);
    transition: opacity 0.3s;
}
.bank-card:hover .card-contactless { opacity: 1; }

/* Card Chip */
.card-chip-row { position: relative; z-index: 5; }
.card-chip {
    width: 46px; height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d060 25%, #d4af37 50%, #c5a028 75%, #d4af37 100%);
    background-size: 200% 200%;
    animation: chipShimmer 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
@keyframes chipShimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}
.chip-line {
    position: absolute;
    background: rgba(0,0,0,0.12);
}
.chip-line-1 {
    width: 100%; height: 1px; top: 33%;
}
.chip-line-2 {
    width: 100%; height: 1px; top: 66%;
}
.chip-line-3 {
    width: 1px; height: 100%; left: 50%;
}
.chip-center {
    position: absolute;
    width: 14px; height: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 2px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Card Balance */
.card-balance-row { position: relative; z-index: 5; }
.card-balance-label {
    font-size: 10px; color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
    margin-bottom: 2px;
}
.card-balance-amount {
    font-size: 28px; font-weight: 900; color: #fff;
    display: flex; align-items: baseline; gap: 2px;
    text-shadow: 0 2px 12px rgba(108,92,231,0.4);
    line-height: 1;
}
.balance-currency {
    font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.7);
    margin-right: 2px;
}
.balance-digits {
    background: linear-gradient(135deg, #ffffff, #c0b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.balance-cents {
    font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.5);
}

/* Card Email Row */
.card-email-row {
    display: flex; align-items: center; gap: 8px;
    position: relative; z-index: 5;
}
.card-email-icon {
    font-size: 10px; color: rgba(255,255,255,0.35);
}
.card-email-text {
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    font-family: 'Inter', monospace;
}

/* Card Bottom Row */
.card-bottom-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    position: relative; z-index: 5;
}
.card-label {
    display: block;
    font-size: 8px; color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
    margin-bottom: 2px;
}
.card-holder-name {
    display: block;
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85);
    letter-spacing: 1px; text-transform: uppercase;
}
.card-expiry-date {
    display: block;
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    font-family: 'Inter', monospace;
}

/* MasterCard-style Network Circles */
.card-network {
    display: flex; align-items: center;
    position: relative;
    width: 48px; height: 30px;
}
.network-circle {
    width: 30px; height: 30px;
    border-radius: 50%;
    position: absolute; top: 0;
}
.network-circle-1 {
    background: rgba(255,95,95,0.65);
    left: 0;
}
.network-circle-2 {
    background: rgba(255,180,55,0.55);
    left: 16px;
}

/* ============ CARD QUICK ACTIONS ============ */
.card-quick-actions {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.cqa-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    font-size: 11px; font-weight: 600; color: #aab;
    transition: all 0.3s;
    font-family: inherit;
}
.cqa-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(108,92,231,0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #e0e0f0;
}
.cqa-icon {
    width: 42px; height: 42px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    transition: transform 0.3s;
}
.cqa-btn:hover .cqa-icon { transform: scale(1.15) rotate(-5deg); }
.cqa-icon.green { background: rgba(68,221,170,0.12); color: #44ddaa; }
.cqa-icon.rose { background: rgba(253,121,168,0.12); color: #fd79a8; }
.cqa-icon.blue { background: rgba(0,180,216,0.12); color: #00B4D8; }
.cqa-icon.purple { background: rgba(108,92,231,0.12); color: #6C5CE7; }

/* Stats Strip */
.stats-strip { display: flex; gap: 10px; padding: 16px 20px; overflow-x: auto; }
.stats-strip::-webkit-scrollbar { display: none; }
.stat-pill {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; padding: 8px 16px; font-size: 12px; font-weight: 500;
    white-space: nowrap; flex-shrink: 0; color: #aab;
    transition: transform 0.2s;
}
.stat-pill:hover { transform: scale(1.03); }
.stat-pill i { font-size: 13px; color: #6C5CE7; }
.stat-pill.accent { background: rgba(108,92,231,0.12); border-color: rgba(108,92,231,0.25); color: #c0b0ff; }
.stat-pill.accent i { color: #ff9f43; }

/* ============ DASHBOARD GRID ============ */
.dash-grid { padding: 8px 20px 0; }
.grid-heading { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #cccde0; }
.cards-container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Dashboard Card */
.dash-card {
    position: relative; border-radius: 18px; padding: 20px 16px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    cursor: pointer; overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column; gap: 12px;
    animation: cardEnter 0.5s ease-out backwards;
}
.dash-card:nth-child(1) { animation-delay: 0.1s; }
.dash-card:nth-child(2) { animation-delay: 0.15s; }
.dash-card:nth-child(3) { animation-delay: 0.2s; }
.dash-card:nth-child(4) { animation-delay: 0.25s; }
.dash-card:nth-child(5) { animation-delay: 0.3s; }
.dash-card:nth-child(6) { animation-delay: 0.35s; }
@keyframes cardEnter {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.dash-card:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(108,92,231,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.dash-card:active { transform: scale(0.97); transition-duration: 0.1s; }

.card-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    border-radius: 50%; opacity: 0; transition: opacity 0.4s;
    pointer-events: none;
}
.dash-card:hover .card-glow { opacity: 1; }

/* Card Colors */
[data-color="purple"] .icon-bg { background: rgba(108,92,231,0.15); color: #6C5CE7; }
[data-color="purple"] .card-glow { background: radial-gradient(circle, rgba(108,92,231,0.08), transparent 60%); }
[data-color="blue"] .icon-bg { background: rgba(0,180,216,0.15); color: #00B4D8; }
[data-color="blue"] .card-glow { background: radial-gradient(circle, rgba(0,180,216,0.08), transparent 60%); }
[data-color="teal"] .icon-bg { background: rgba(0,206,209,0.15); color: #00CED1; }
[data-color="teal"] .card-glow { background: radial-gradient(circle, rgba(0,206,209,0.08), transparent 60%); }
[data-color="gold"] .icon-bg { background: rgba(255,159,67,0.15); color: #ff9f43; }
[data-color="gold"] .card-glow { background: radial-gradient(circle, rgba(255,159,67,0.08), transparent 60%); }
[data-color="green"] .icon-bg { background: rgba(68,221,170,0.15); color: #44ddaa; }
[data-color="green"] .card-glow { background: radial-gradient(circle, rgba(68,221,170,0.08), transparent 60%); }
[data-color="rose"] .icon-bg { background: rgba(253,121,168,0.15); color: #fd79a8; }
[data-color="rose"] .card-glow { background: radial-gradient(circle, rgba(253,121,168,0.08), transparent 60%); }

.icon-bg {
    width: 44px; height: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: transform 0.3s;
}
.dash-card:hover .icon-bg { transform: scale(1.1) rotate(-5deg); }
.card-body h4 { font-size: 13px; font-weight: 500; color: #aab; }
.card-value { font-size: 20px; font-weight: 800; margin-top: 4px; }
.card-badge {
    display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 50px;
    font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    background: rgba(68,221,170,0.12); color: #44ddaa;
}
.card-badge.pending { background: rgba(255,159,67,0.12); color: #ff9f43; }
.card-arrow {
    position: absolute; top: 16px; right: 14px; color: #555;
    font-size: 12px; transition: transform 0.3s, color 0.3s;
}
.dash-card:hover .card-arrow { transform: translateX(3px); color: #6C5CE7; }

/* ============ ACTIVITY ============ */
.activity-section { padding: 24px 20px 0; }
.activity-list { display: flex; flex-direction: column; gap: 10px; }
.activity-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; transition: background 0.2s, transform 0.2s;
}
.activity-item:hover { background: rgba(255,255,255,0.06); transform: translateX(4px); }
.activity-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.activity-icon.green { background: rgba(68,221,170,0.12); color: #44ddaa; }
.activity-icon.rose { background: rgba(253,121,168,0.12); color: #fd79a8; }
.activity-icon.blue { background: rgba(0,180,216,0.12); color: #00B4D8; }
.activity-icon.purple { background: rgba(108,92,231,0.12); color: #6C5CE7; }
.activity-info { flex: 1; }
.activity-title { font-size: 14px; font-weight: 500; }
.activity-time { font-size: 11px; color: #666680; }
.activity-amount { font-size: 14px; font-weight: 700; }
.activity-amount.positive { color: #44ddaa; }
.activity-amount.negative { color: #fd79a8; }
.activity-amount.neutral { color: #555; }

/* ============ BOTTOM NAV ============ */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: flex-end; justify-content: space-around;
    padding: 8px 12px 12px; height: 72px;
    background: rgba(10,10,26,0.92); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10px; color: #555570; font-weight: 500;
    transition: color 0.2s;
}
.nav-item .nav-icon { font-size: 20px; transition: transform 0.2s; }
.nav-item.active { color: #6C5CE7; }
.nav-item.active .nav-icon { transform: scale(1.15); }
.nav-item:hover { color: #8878e8; }
.nav-center-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #00B4D8);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; margin-bottom: 4px;
    box-shadow: 0 4px 20px rgba(108,92,231,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-center-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(108,92,231,0.5); }
.nav-center { margin-top: -20px; }

.bottom-spacer { height: 80px; }

/* ============ TOAST ============ */
.toast-notification {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: rgba(68,221,170,0.15); border: 1px solid rgba(68,221,170,0.3);
    color: #44ddaa; padding: 10px 24px; border-radius: 50px;
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 9999;
    backdrop-filter: blur(10px);
}
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ DESKTOP RESPONSIVE ============ */
@media (min-width: 768px) {
    .dashboard-screen { max-width: 800px; margin: 0 auto; }
    .cards-container { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .dash-card { padding: 24px 20px; }
    .bottom-nav { max-width: 800px; left: 50%; transform: translateX(-50%); border-radius: 20px 20px 0 0; }
    .welcome-name { font-size: 26px; }

    /* Premium Card Desktop */
    .bank-card-wrapper { max-width: 480px; }
    .bank-card { padding: 28px; }
    .card-balance-amount { font-size: 32px; }
    .balance-currency { font-size: 20px; }
    .balance-cents { font-size: 18px; }
    .card-holder-name { font-size: 14px; }
    .card-expiry-date { font-size: 14px; }
    .card-email-text { font-size: 14px; }
    .card-brand-name { font-size: 18px; }
    .cqa-btn { padding: 18px 10px; }
    .cqa-icon { width: 46px; height: 46px; font-size: 19px; }
}
@media (min-width: 1024px) {
    .dashboard-screen { max-width: 960px; }
    .cards-container { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .dash-card { padding: 28px 22px; }
    .card-value { font-size: 24px; }
    .activity-item { padding: 16px 20px; }

    /* Premium Card Large Desktop */
    .bank-card-wrapper { max-width: 520px; }
    .bank-card { padding: 32px; }
    .card-balance-amount { font-size: 36px; }
    .card-chip { width: 52px; height: 38px; }
}
@media (min-width: 1280px) {
    .dashboard-screen { max-width: 1100px; }
    .bank-card-wrapper { max-width: 560px; }
}

/* Mobile fine-tune */
@media (max-width: 380px) {
    .cards-container { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-card { padding: 16px 12px; }
    .card-value { font-size: 17px; }
    .icon-bg { width: 38px; height: 38px; font-size: 17px; border-radius: 12px; }

    /* Premium Card Small Mobile */
    .premium-card-section { padding: 16px 14px 0; }
    .bank-card { padding: 18px; border-radius: 16px; }
    .card-balance-amount { font-size: 24px; }
    .balance-currency { font-size: 15px; }
    .balance-cents { font-size: 13px; }
    .card-brand-name { font-size: 14px; }
    .card-holder-name { font-size: 11px; }
    .card-expiry-date { font-size: 11px; }
    .card-email-text { font-size: 11px; }
    .card-chip { width: 38px; height: 28px; }
    .card-quick-actions { gap: 8px; }
    .cqa-btn { padding: 12px 6px; font-size: 10px; }
    .cqa-icon { width: 36px; height: 36px; font-size: 15px; border-radius: 12px; }
    .network-circle { width: 24px; height: 24px; }
    .card-network { width: 38px; height: 24px; }
    .network-circle-2 { left: 13px; }
    .welcome-name { font-size: 20px; }
}
