/* Основные стили */
:root {
    --primary-color: #4361ee;
    --primary-light: #4cc9f0;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --text-color: #2b2d42;
    --text-light: #8d99ae;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --success-color: #4bb543;
}

.donate-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.donate-container {
    max-width: 800px;
    width: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.donate-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* Шапка */
.donate-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.donate-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
}

.donate-header h1 span {
    color: var(--primary-color);
    position: relative;
}

.donate-header h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.donate-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto 20px auto;
}

/* header-decoration - теперь не absolute, а обычный блок для логотипа */
.header-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    background: none;
    z-index: 1;
}

/* Круглый логотип */
.logo-wrapper {
    display: flex;
    justify-content: center;
    margin: 0;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
    cursor: pointer;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.3);
}

.logo-circle img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(67, 97, 238, 0.15);
    }
    50% {
        box-shadow: 0 15px 40px rgba(67, 97, 238, 0.3);
    }
}

/* Поле ввода суммы */
.donate-amount {
    margin-bottom: 3rem;
    position: relative;
}

.donate-amount label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.amount-input-container {
    position: relative;
}

.donate-amount input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

.donate-amount input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.2);
}

.amount-decoration {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: 12px;
    z-index: 0;
}

/* Карточки методов оплаты */
.donate-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.method-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.method-icon-container {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.method-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.method-decoration {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.method-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #f1f3f5;
    transform: translateX(5px);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.detail-content {
    flex-grow: 1;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    word-break: break-all;
}

.btn-copy {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-copy:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.method-footer {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f5;
}

.note {
    font-style: italic;
}

/* Футер */
.donate-footer {
    text-align: center;
    margin-top: 3rem;
    position: relative;
}

.thank-you {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.thank-you i {
    color: var(--accent-color);
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.footer-decoration {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

/* Уведомление */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(75, 181, 67, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    opacity: 0;
}

.notification.show {
    bottom: 30px;
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .donate-container {
        padding: 2rem;
    }
    
    .donate-header h1 {
        font-size: 2rem;
    }
    
    .donate-header p {
        max-width: 100%;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .donate-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .donate-header h1 {
        font-size: 1.8rem;
    }
    
    .method-header h2 {
        font-size: 1.3rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-copy {
        align-self: flex-end;
    }
    
    .thank-you {
        font-size: 1.3rem;
    }
    
    .btn-home {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
