/* Стили для страницы поддержки */
.donation-hero {
    text-align: center;
}

.donation-hero h2 {
    justify-content: center;
}

.motivation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.donation-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.donation-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #8a2be2;
    transition: all 0.3s ease;
}

.donation-method:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.method-header i {
    font-size: 1.8rem;
}

.method-header h3 {
    margin: 0;
    color: #d4c6ff;
}

.donation-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.donation-address code {
    flex: 1;
    color: #b19df7;
    font-size: 0.9rem;
}

.card-details {
    margin-top: 10px;
    padding: 10px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 8px;
    border-left: 3px solid #2196F3;
}

/* Варианты поддержки */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.option-card.highlight {
    border: 2px solid #8a2be2;
    background: rgba(138, 43, 226, 0.1);
    position: relative;
}

.option-card.highlight::before {
    content: "🔥";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.2rem;
}

.option-icon {
    font-size: 2.5rem;
    color: #8a2be2;
    margin-bottom: 15px;
}

.option-card.highlight .option-icon {
    color: #ffcc00;
}

.option-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4CAF50;
    margin: 10px 0;
}

.option-card p {
    font-size: 0.9rem;
    color: #d1d1e9;
    margin: 0;
}

.donation-method:hover .payment-icon {
    transform: scale(1.1);
    /* Меняем только цвет фона, не трогая background-image */
    background-color: rgba(255, 255, 255, 0.15);
}

/* Альтернативный вариант - использование масок для иконок, если они в одном цвете */
.payment-icon.mono {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(220deg);
}

/* Адаптивность для иконок */
@media (max-width: 768px) {
    .payment-icon {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
}

.payment-icon-container {
    position: relative;
    width: 48px;
    height: 48px;
}

.payment-icon {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.fallback-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: #FFCC00;
    z-index: 1;
    opacity: 0.7;
}

img.payment-icon:not([src]), 
img.payment-icon[src=""] {
    opacity: 0;
}

img.payment-icon:not([src]) + .fallback-icon, 
img.payment-icon[src=""] + .fallback-icon {
    opacity: 1;
    z-index: 3;
}

/* Благодарность */
.thanks-list {
    list-style: none;
    margin: 20px 0;
}

.thanks-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    color: #d1d1e9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.thanks-list li:last-child {
    border-bottom: none;
}

.thanks-list li i {
    color: #4CAF50;
    min-width: 20px;
}

.thank-you-note {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(65, 105, 225, 0.1));
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.thank-you-note i.fa-quote-left {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.5rem;
    color: #8a2be2;
    opacity: 0.5;
}

.thank-you-note p {
    font-size: 1.1rem;
    font-style: italic;
    color: #e8e2ff;
    margin: 10px 0 20px;
}

.signature {
    font-weight: 700;
    color: #d4c6ff;
    font-size: 1.1rem;
    text-align: right;
}

/* Адаптивность для страницы поддержки */
@media (max-width: 768px) {
    .motivation-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-method {
        padding: 15px;
    }
    
    .donation-address {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .donation-address code {
        font-size: 0.8rem;
        word-break: break-all;
        width: 100%;
    }
    
    .thank-you-note {
        padding: 20px 15px;
    }
}