/* ===========================================
   DOGECOIN DONATION CARD STYLES
   =========================================== */

.donation-card {
    margin: 40px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.donation-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
}

.donation-content:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.donation-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: dogeBounce 2s ease-in-out infinite;
}

@keyframes dogeBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.donation-content h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-style: italic;
}

.doge-address-container {
    position: relative;
    margin-top: 20px;
}

.doge-address-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    user-select: none;
    margin: 0 20px;
}

.doge-address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.doge-address-card:hover::before {
    left: 100%;
}

.doge-address-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.doge-address-card:active {
    transform: translateY(0) scale(0.98);
}

.doge-address-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.doge-address-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.copy-indicator {
    color: var(--accent-color, #667eea);
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.doge-address-card:hover .copy-indicator {
    opacity: 1;
    transform: scale(1.05);
}

/* Copy success animation */
.doge-address-card.copied {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.2) 0%, 
        rgba(34, 197, 94, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.5);
    animation: copySuccess 0.6s ease-out;
}

.doge-address-card.copied .copy-indicator {
    color: #22c55e;
    content: 'Copied! ✓';
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Colorful ribbon animation styles */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    font-size: 28px;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 45px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.2));
    animation: ribbonFall linear infinite;
}

/* Straight falling ribbons */
.snowflake.straight {
    animation: ribbonFallStraight linear infinite;
}

/* Diagonal falling ribbons */
.snowflake.diagonal {
    animation: ribbonFallDiagonal linear infinite;
}

/* Straight falling ribbons */
@keyframes ribbonFallStraight {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.4);
        opacity: 0.7;
    }
    15% {
        transform: translateY(100px) rotate(5deg) scale(0.6);
        opacity: 0.9;
    }
    30% {
        transform: translateY(250px) rotate(10deg) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translateY(450px) rotate(15deg) scale(1);
        opacity: 1;
    }
    70% {
        transform: translateY(650px) rotate(20deg) scale(1.1);
        opacity: 0.9;
    }
    85% {
        transform: translateY(850px) rotate(25deg) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: translateY(120vh) rotate(30deg) scale(0.3);
        opacity: 0;
    }
}

/* Diagonal falling ribbons */
@keyframes ribbonFallDiagonal {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.4);
        opacity: 0.7;
    }
    15% {
        transform: translateY(80px) translateX(20px) rotate(8deg) scale(0.6);
        opacity: 0.9;
    }
    30% {
        transform: translateY(200px) translateX(50px) rotate(15deg) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translateY(400px) translateX(100px) rotate(25deg) scale(1);
        opacity: 1;
    }
    70% {
        transform: translateY(600px) translateX(150px) rotate(35deg) scale(1.1);
        opacity: 0.9;
    }
    85% {
        transform: translateY(800px) translateX(200px) rotate(45deg) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: translateY(120vh) translateX(250px) rotate(60deg) scale(0.3);
        opacity: 0;
    }
}

/* Fallback animation for ribbons without direction class */
@keyframes ribbonFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.4);
        opacity: 0.7;
    }
    20% {
        transform: translateY(150px) rotate(10deg) scale(0.7);
        opacity: 1;
    }
    50% {
        transform: translateY(400px) rotate(20deg) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateY(700px) rotate(30deg) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translateY(120vh) rotate(40deg) scale(0.3);
        opacity: 0;
    }
}

.thank-you-text {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
    color: var(--text-primary);
    font-size: clamp(18px, 3vw, 46px);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
    animation: thankYouFloat var(--thank-you-duration, 4500ms) ease-out forwards;
    line-height: 2;
}

@keyframes thankYouFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0.1;
        filter: blur(2px);
    }
    45% {
        transform: translateY(calc(-0.25 * (var(--thank-you-target, 100vh)))) translateX(calc(var(--thank-you-shift, 0px) * 0.4)) scale(1.4);
        opacity: 1;
        filter: blur(0);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(-0.65 * (var(--thank-you-target, 100vh)))) translateX(var(--thank-you-shift, 0px)) scale(2.1);
        opacity: 0;
        filter: blur(10px);
    }
}

/* Responsive design for donation card */
@media (max-width: 768px) {
    .donation-content {
        padding: 20px;
        margin: 20px 0;
    }
    
    .donation-icon {
        font-size: 36px;
    }
    
    .donation-content h3 {
        font-size: 20px;
    }
    
    .donation-text {
        font-size: 14px;
    }
    
    .doge-address-value {
        font-size: 12px;
    }
    
    .doge-address-card {
        margin: 0 10px;
    }
}
