/* Donation Page Specific Styles - imported from showcase/donation.css with minor path adjustments */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-section {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.donation-container {
    max-width: 800px;
    width: 100%;
    padding: 0 2rem;
}

.thank-you-message {
    text-align: left;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-message p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.donation-content-area {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1.5rem;
    align-items: start;
    max-width: 680px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.donation-action-buttons-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
    width: 100%;
    margin-top: 1rem;
}

.thank-you-image-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.thank-you-image {
    width: auto;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.donation-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
    min-height: 48px;
    width: 240px;
    color: white;
    position: relative;
}

.donation-action-btn:hover {
    transform: translateY(-2px);
}

.donation-action-btn-icon {
    font-size: 1.1rem;
    position: absolute;
    left: 1.5rem;
}

.donation-action-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    flex: 1;
    margin-left: 2rem;
}

.wechat-btn {
    background: linear-gradient(135deg, #07C160 0%, #06A556 100%);
    color: white;
}

.wechat-btn:hover {
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.3);
}

.buymeacoffee-btn {
    background: linear-gradient(135deg, #FFDD00 0%, #FFB800 100%);
    color: white;
}

.buymeacoffee-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
}

.buymeacoffee-btn .donation-action-btn-icon {
    color: white;
}

.patreon-btn {
    background: linear-gradient(135deg, #FF424D 0%, #E63946 100%);
    color: white;
}

.patreon-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 66, 77, 0.4);
}

@media (max-width: 768px) {
    .donation-container { padding: 0 1rem; }
    .donation-content-area { grid-template-columns: 1fr; gap: 2rem; max-width: none; }
    .donation-action-buttons-section { gap: 1.25rem; align-items: center; margin-top: 1.5rem; }
    .thank-you-message { margin-bottom: 2rem; }
    .thank-you-message p { font-size: 1.2rem; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 500;
    color: #333;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close-btn:hover {
    background-color: #f5f5f5;
    color: #666;
}

.modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
}

.modal-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qr-code-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
}

.modal-description-section {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 15% auto;
        width: 95%;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem 0.75rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .qr-code-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10% auto;
        width: 98%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.25rem 0.5rem 1.25rem;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .qr-code-image {
        width: 140px;
        height: 140px;
    }
}
