/* ===== SUPPORTERS PAGE STYLES ===== */

/* Hero Section */
.supporters-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-mobile-height);
    padding: 4rem 0;
}

@media screen and (min-width: 992px) {
    .supporters-hero {
        margin-top: var(--header-height);
        min-height: 70vh;
    }
}

.supporters-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.95) 0%,
        rgba(123, 45, 126, 0.95) 50%,
        rgba(248, 158, 59, 0.85) 100%
    );
    z-index: -1;
}

.supporters-hero__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.supporters-hero__content {
    text-align: center;
    color: var(--white-color);
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.supporters-hero__title {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.supporters-hero__subtitle {
    font-size: 1.1rem;
    font-weight: var(--font-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

@media screen and (min-width: 768px) {
    .supporters-hero__title {
        font-size: 3.5rem;
    }
    
    .supporters-hero__subtitle {
        font-size: 1.25rem;
    }

    
}

/* Stats Section */
.supporters-stats {
    padding: 3rem 0;
    background: linear-gradient(180deg, 
        rgba(248, 249, 250, 0.5) 0%, 
        rgba(255, 255, 255, 1) 100%
    );
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media screen and (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stat-card {
    background: var(--white-color);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 
        0 4px 16px rgba(214, 45, 140, 0.08),
        0 2px 8px rgba(123, 45, 126, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(214, 45, 140, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 24px rgba(214, 45, 140, 0.15),
        0 4px 12px rgba(123, 45, 126, 0.08);
}

.stat-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: var(--font-medium);
}

/* Filters Section */
.supporters-filters {
    padding: 2rem 0;
    background: var(--white-color);
    border-bottom: 1px solid rgba(214, 45, 140, 0.1);
    position: sticky;
    top: var(--header-mobile-height);
    z-index: 50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media screen and (min-width: 992px) {
    .supporters-filters {
        top: var(--header-height);
    }
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media screen and (min-width: 768px) {
    .filters-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.filters-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(214, 45, 140, 0.05);
    border: 1.5px solid rgba(214, 45, 140, 0.15);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(214, 45, 140, 0.1);
    border-color: rgba(214, 45, 140, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(214, 45, 140, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

/* Sort Dropdown */
.sort-dropdown {
    position: relative;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--white-color);
    border: 1.5px solid rgba(214, 45, 140, 0.15);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    border-color: rgba(214, 45, 140, 0.3);
    background: rgba(214, 45, 140, 0.05);
}

.sort-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.sort-dropdown:hover .sort-menu,
.sort-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sort-menu a:hover {
    background: rgba(214, 45, 140, 0.1);
    color: var(--primary-color);
}

/* Supporters Grid Section */
.supporters-grid-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, 
        var(--white-color) 0%, 
        rgba(248, 249, 250, 0.5) 100%
    );
}

.supporters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media screen and (min-width: 576px) {
    .supporters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .supporters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media screen and (min-width: 1200px) {
    .supporters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Donor Card */
.donor-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(214, 45, 140, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(214, 45, 140, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInCard 0.6s ease-out forwards;
}

@keyframes fadeInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donor-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 12px 32px rgba(214, 45, 140, 0.15),
        0 6px 16px rgba(123, 45, 126, 0.1);
    border-color: rgba(214, 45, 140, 0.2);
}

.donor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-orange));
}

.donor-card__tier-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--white-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donor-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    box-shadow: 0 8px 20px rgba(214, 45, 140, 0.25);
    position: relative;
    overflow: hidden;
}

.donor-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donor-card__name {
    font-size: 1.1rem;
    font-weight: var(--font-semibold);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.donor-card__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.donor-card__location i {
    color: var(--primary-color);
}

.donor-card__tier {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.1), 
        rgba(123, 45, 126, 0.05)
    );
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donor-card__message {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.donor-card__date {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.donor-card__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.donor-card__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 45, 140, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.donor-card__social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    transform: translateY(-3px);
}

/* Load More */
.load-more-wrapper {
    text-align: center;
}

.load-more-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(4px);
}

/* Call to Action Section */
.supporters-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.05) 0%,
        rgba(123, 45, 126, 0.05) 100%
    );
}

.cta-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--white-color);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(214, 45, 140, 0.12);
}

.cta-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(214, 45, 140, 0.3);
}

.cta-card__title {
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-card__text {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-card__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media screen and (min-width: 576px) {
    .cta-card__buttons {
        flex-direction: row;
    }
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.05rem;
}

.btn--large i {
    margin-right: 0.5rem;
}

/* Animation delays for staggered card appearance */
.donor-card:nth-child(1) { animation-delay: 0.1s; }
.donor-card:nth-child(2) { animation-delay: 0.15s; }
.donor-card:nth-child(3) { animation-delay: 0.2s; }
.donor-card:nth-child(4) { animation-delay: 0.25s; }
.donor-card:nth-child(5) { animation-delay: 0.3s; }
.donor-card:nth-child(6) { animation-delay: 0.35s; }
.donor-card:nth-child(7) { animation-delay: 0.4s; }
.donor-card:nth-child(8) { animation-delay: 0.45s; }

/* Hidden class for filtering */
.donor-card.hidden {
    display: none;
}
