:root {
    --primary-blue: #004d91; /* لون بنك الراجحي */
    --accent-gold: #c5a059;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --whatsapp-color: #25D366;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.main-container {
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Header */
.profile-header img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.profile-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.profile-header p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* YouTube Thumbnail Style Section */
.video-guide {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-guide:hover {
    transform: scale(1.02);
}

.video-guide img {
    width: 100%;
    display: block;
    filter: brightness(0.8);
}

.video-guide .play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 60px;
    height: 60px;
    background: #ff0000; /* YouTube Red */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.play-button::after {
    content: '';
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white; /* Triangle for RTL */
    margin-right: 5px;
}

.video-label {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    border-radius: 50px;
}

/* Fancy Link Buttons */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: white;
    text-decoration: none;
    color: var(--primary-blue);
    border-radius: 15px;
    font-weight: 700;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.link-card:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(0, 77, 145, 0.2);
}

.link-card i {
    font-size: 1.2rem;
}

.link-card .alrajhi-icon {
    background: #004d91;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 900;
}

/* Footer */
.footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #888;
}

.donate-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 10px;
    font-weight: 600;
}





/* Accounts Section */
.accounts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.accounts-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-accent {
    width: 0.5rem;
    height: 2rem;
    background: var(--primary-blue);
    border-radius: 9999px;
}

.status-tag {
    font-size: 10px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
}

.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
}

.account-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.75rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.account-name {
    font-size: 0.875rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.bank-label {
    font-size: 14px;
    color:var(--primary-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rajhi-logo-box {
    background: var(--primary-blue);
    padding: 0.2rem;
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.rajhi-logo-inner {
    background: white;
    color: white;
    font-size: 10px;
    font-weight: 900;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.iban-container {
    display: flex;
    flex-direction: column; /* Arrange items in a column */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    text-align: center; /* Optional, to center the text */
    gap: 10px; /* Optional, to add space between the items */
    padding: 20px;
}

.iban-text {
    font-size: 18px;
    color:var(--primary-blue);
    margin-bottom: 10px; /* Optional: Adjust space between the text and the button */
    font-weight: bold;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:  var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px; /* Optional: to round button edges */
    gap: 10px; /* Optional: to add space between the icon and text */
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.copy-btn span {
    font-size: 14px;
}


.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 77, 145, 0.2);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-success {
    background-color: green !important;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 1.25rem;
    border-radius: 1.75rem;
    border: 1px solid white;
    text-align: right;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.info-card h4 {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 11px;
    color: #4b5563;
    font-weight: 700;
}

.info-list a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Pulse Badge */
.pulse-container {
    margin: 3rem 0 2rem;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: var(--primary-blue);
    border: 1px solid rgba(0, 77, 145, 0.05);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 900;
    border-radius: 9999px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.dot-box {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
    margin-left: 0.75rem;
}

.dot-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: #4ade80;
    opacity: 0.75;
}

.dot-solid {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
    background: #22c55e;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.floating-actions > * {
    pointer-events: auto;
}

.btn-wa {
    width: 36px;
    height: 36px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: bounce-slow 3s infinite;
}

.btn-wa:hover {
    transform: scale(1.1);
}

.btn-wa svg {
    width: 22px;
    height:22px;
    fill: var(--glass-bg);
}

.btn-donate {
    height: 36px;
    padding: 0 24px;
    background: var(--primary-blue);
    color: var(--glass-bg);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8725rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-donate:hover {
    background: #0a5233;
}

.heart-icon-box {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}