/* =============================================
   DONATIONS PAGE — Premium Dark Cards
   ============================================= */

/* --- Donations Grid --- */
.donations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
    margin-bottom: 50px;
}

/* --- Platform Card --- */
.donation-card {
    background: linear-gradient(160deg, rgba(22, 22, 22, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 6px 28px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(179, 15, 15, 0.02);
}

/* Top accent bar per platform */
.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    transition: opacity 0.3s ease;
}

.donation-card.patreon::before {
    background: linear-gradient(90deg, transparent, #ff424d, transparent);
}

.donation-card.kofi::before {
    background: linear-gradient(90deg, transparent, #29abe0, transparent);
}

.donation-card.paypal::before {
    background: linear-gradient(90deg, transparent, #0070ba, transparent);
}

/* Sweep glow */
.donation-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.donation-card:hover::after {
    left: 100%;
}

.donation-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.55),
        0 0 70px rgba(179, 15, 15, 0.08);
}

.donation-card.patreon:hover {
    border-color: rgba(255, 66, 77, 0.3);
}

.donation-card.kofi:hover {
    border-color: rgba(41, 171, 224, 0.3);
}

.donation-card.paypal:hover {
    border-color: rgba(0, 112, 186, 0.3);
}

/* --- Platform Badge / Label --- */
.donation-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
}

.donation-card.patreon .donation-badge {
    color: #ff424d;
    background: rgba(255, 66, 77, 0.1);
    border: 1px solid rgba(255, 66, 77, 0.2);
}

.donation-card.kofi .donation-badge {
    color: #29abe0;
    background: rgba(41, 171, 224, 0.1);
    border: 1px solid rgba(41, 171, 224, 0.2);
}

.donation-card.paypal .donation-badge {
    color: #0070ba;
    background: rgba(0, 112, 186, 0.1);
    border: 1px solid rgba(0, 112, 186, 0.2);
}

/* --- Card Title --- */
.donation-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.donation-card:hover h3 {
    color: #fff;
}

/* --- Card Description --- */
.donation-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #888;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.donation-card:hover p {
    color: #aaa;
}

/* --- Status tag (not functional yet) --- */
.donation-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 12px;
    width: fit-content;
}

/* --- Card Button --- */
.donation-card .btn {
    margin-top: 20px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.9rem;
    width: fit-content;
}

/* --- Important Notes Section --- */
.donations-notes {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px 30px;
    margin-top: 10px;
}

.donations-notes h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #b30f0f;
    margin: 0 0 16px;
}

.donations-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donations-notes li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #888;
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.donations-notes li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #b30f0f;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .donations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .donations-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .donation-card {
        padding: 26px 22px 24px;
    }

    .donations-notes {
        padding: 22px 20px;
    }
}