/* Donate Page Styles */

/* Hero Section */
.donate-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 80px;
    text-align: center;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 80%, white 1px, transparent 1px);
    background-size: 50px 50px;
}

.donate-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.donate-hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.donate-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.donate-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.donate-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Donation Plans */
.donation-plans {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.plan-toggle {
    display: flex;
    gap: 0;
    justify-content: center;
    margin: 3rem auto;
    max-width: 400px;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
}

.toggle-btn {
    flex: 1;
    padding: 0.875rem 2rem;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card.featured {
    border-color: #667eea;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.plan-card.premium {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #764ba2;
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.plan-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-right: 0.5rem;
}

.plan-description {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.plan-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.plan-card.custom .plan-btn {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.plan-card.custom .plan-btn:hover {
    background: #667eea;
    color: white;
}

/* Top Supporters */
.top-supporters {
    padding: 80px 0;
    background: white;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.supporter-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--transition-base);
    overflow: hidden;
}

.supporter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.supporter-card:hover::before {
    opacity: 1;
}

.supporter-card.top-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.supporter-card.top-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
}

.supporter-card.top-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
}

.supporter-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rank-badge {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.supporter-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.supporter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.75rem;
}

.supporter-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.supporter-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 12px;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.supporter-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Other Supporters */
.other-supporters {
    margin-top: 4rem;
}

.other-supporters h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.supporters-list {
    max-width: 800px;
    margin: 0 auto;
}

.supporter-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.supporter-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-md);
}

.supporter-rank-small {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    min-width: 40px;
    text-align: center;
}

.supporter-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.supporter-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-info {
    flex: 1;
}

.supporter-name-small {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.supporter-message-small {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

.supporter-amount-small {
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
    text-align: left;
    white-space: nowrap;
}

/* Why Donate Section */
.why-donate {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reason-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all var(--transition-base);
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.reason-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.reason-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* CTA Section */
.donate-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 1.25rem 3rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px 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-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg);
}

.modal-content h2 {
    padding: 2rem 2rem 1rem;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

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

.selected-plan {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.plan-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.plan-amount-large {
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
}

/* Donation Form */
.donation-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .donate-hero {
        padding: 100px 1rem 60px;
    }

    .donate-stats {
        grid-template-columns: 1fr;
    }

    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .supporter-item {
        flex-direction: column;
        text-align: center;
    }

    .supporter-amount-small {
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }
}






