/* Root Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-pink: #ff6b9d;
    --accent-purple: #c44dff;
    --mb-blue: #1e4db7;
    --mb-dark: #0d2d6b;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: blur(8px) brightness(0.4);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(22, 33, 62, 0.6) 50%, rgba(15, 15, 35, 0.8) 100%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 150, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 200, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Hearts */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear forwards;
    opacity: 0.6;
    filter: blur(0.5px);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px 40px;
    position: relative;
    z-index: 2;
}

/* Two Column Layout */
.main-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 1;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    box-shadow:
        0 10px 40px rgba(255, 107, 157, 0.4),
        0 0 60px rgba(255, 107, 157, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.heart-icon {
    font-size: 40px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Purpose Cards */
.purposes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.purpose-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out backwards;
    animation-delay: var(--delay);
}

.purpose-card:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.purpose-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
}

.purpose-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Check Link */
.check-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--primary-gradient);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.check-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.check-icon {
    font-size: 1.2rem;
}

.arrow {
    transition: transform 0.3s ease;
}

.check-link:hover .arrow {
    transform: translateX(5px);
}

/* Donation Log */
.donation-log {
    margin-top: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    max-height: 300px;
    overflow: hidden;
}

.log-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.log-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.donation-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.donation-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-pink);
}

.donation-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.donation-content {
    flex: 1;
    text-align: left;
}

.donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.donation-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.donation-amount {
    font-weight: 700;
    color: #4CAF50;
    font-size: 0.9rem;
}

.donation-message {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.donation-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

@keyframes slideInDonation {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Donation Section */
.donation-section {
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

.copy-hint {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hint-icon {
    animation: point 1s ease-in-out infinite;
}

@keyframes point {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Bank Card */
.bank-card {
    background: linear-gradient(145deg, #0d3b91 0%, #1e4db7 50%, #0a2a66 100%);
    border-radius: 24px;
    padding: 30px;
    box-shadow:
        0 20px 60px rgba(30, 77, 183, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bank-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.bank-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mb-text {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.bank-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.bank-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.account-info {
    position: relative;
    margin-bottom: 25px;
}

.account-number-container {
    margin-bottom: 20px;
    position: relative;
}

.account-label,
.holder-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-number {
    display: block;
    width: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Quicksand', monospace;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.account-number:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.account-number:active {
    transform: scale(0.98);
}

.copy-feedback {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
    bottom: -35px;
}

.holder-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

/* QR Card */
.qr-card {
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
}

.qr-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Bank Info Card */
.bank-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px;
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-value {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    text-align: left;
}

.info-value:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-pink);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
}

.info-value:active {
    transform: scale(0.98);
}

.info-value.copied {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.copy-icon {
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.info-value:hover .copy-icon {
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
}

.footer-decoration span {
    animation: twinkle 1.5s ease-in-out infinite;
}

.footer-decoration span:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-decoration span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px 30px;
    }

    .title {
        font-size: 2.2rem;
    }

    .purpose-card {
        padding: 15px 18px;
    }

    .account-number {
        font-size: 1.4rem;
        padding: 12px 15px;
    }

    .bank-card {
        padding: 20px;
    }
}