/* Design System & Custom Properties */
:root {
    --bg-main: #080a10;
    --bg-card: rgba(15, 20, 32, 0.65);
    --bg-card-hover: rgba(22, 29, 45, 0.8);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #ffffff;
    --text-secondary: #a0aabf;
    --text-muted: #626e85;
    
    /* Accents */
    --color-ubl: #0d47a1;
    --color-ubl-glow: rgba(13, 71, 161, 0.4);
    --color-jazzcash: #f5a623;
    --color-jazzcash-glow: rgba(245, 166, 35, 0.4);
    --color-whatsapp: #25d366;
    --color-whatsapp-glow: rgba(37, 211, 102, 0.4);
    
    --accent-yellow: #ffd600;
    --accent-purple: #bb86fc;
    
    /* Font sizes */
    --font-sans: 'Outfit', 'Manrope', sans-serif;
    --font-mono: 'Outfit', monospace;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

/* Background Animation */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.6;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    animation: floatOrb 30s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    animation: floatOrb 20s infinite alternate ease-in-out;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    z-index: 1;
}

/* Header Styles */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.avatar-container {
    display: inline-block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-purple) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #0b0d14;
    border: 3px solid #080a10;
}

.welcome-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    background: linear-gradient(to right, #ffffff, #d8e1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.send-payments-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.highlight-yellow {
    color: var(--accent-yellow);
    text-shadow: 0 0 12px rgba(255, 214, 0, 0.4);
}

.highlight-purple {
    color: var(--accent-purple);
    text-shadow: 0 0 12px rgba(187, 134, 252, 0.4);
}

/* Payment Cards */
.payment-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.payment-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    transition: opacity 0.3s;
}

.ubl-card:hover .card-glow {
    background: radial-gradient(circle at 80% 20%, var(--color-ubl) 0%, rgba(0,0,0,0) 60%);
    opacity: 0.25;
}

.jazzcash-card:hover .card-glow {
    background: radial-gradient(circle at 80% 20%, var(--color-jazzcash) 0%, rgba(0,0,0,0) 60%);
    opacity: 0.25;
}

.card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.bank-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bank-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.ubl-logo-bg {
    box-shadow: 0 4px 12px var(--color-ubl-glow);
}

.jazzcash-logo-bg {
    box-shadow: 0 4px 12px var(--color-jazzcash-glow);
}

.bank-icon {
    width: 24px;
    height: 24px;
}

.bank-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.bank-name-group {
    display: flex;
    flex-direction: column;
}

.bank-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #90caf9;
    text-transform: uppercase;
}

.wallet-badge {
    color: #ffe082;
}

.bank-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Card Body Details */
.card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.info-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.2s;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

.font-mono {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-weight: 600;
}

.font-sm {
    font-size: 0.88rem;
}

.account-title {
    color: #e2e8f0;
}

/* Copyable Actions */
.copyable {
    cursor: pointer;
}

.copyable:hover .info-value-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copyable:active .info-value-wrapper {
    transform: scale(0.99);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
    margin-left: 8px;
}

.copyable:hover .copy-btn {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* WhatsApp CTA */
.cta-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px var(--color-whatsapp-glow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-btn:hover::before {
    transform: translateX(100%);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.wa-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Footer styling */
.site-footer {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.creator-link {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s;
}

.creator-link:hover {
    color: #d1b3ff;
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 50px);
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid rgba(187, 134, 252, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(187, 134, 252, 0.15);
    border-radius: 30px;
    padding: 12px 24px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-check-icon {
    color: #81c784;
}

.toast-msg {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 20px 14px;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
    
    .payment-card {
        padding: 20px;
    }
    
    .bank-name {
        font-size: 1.15rem;
    }
    
    .font-mono {
        font-size: 0.95rem;
    }
    
    .font-sm {
        font-size: 0.82rem;
    }
}
