/* Стили для секции доната */
.donate-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donate-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-weight: 300;
}

/* Карточка с информацией о VK */
.donate-info-card {
    background: linear-gradient(135deg, rgba(91, 142, 214, 0.1) 0%, rgba(91, 142, 214, 0.05) 100%);
    border: 1px solid rgba(91, 142, 214, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.donate-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 142, 214, 0.1), transparent);
    transition: left 0.6s var(--ease);
}

.donate-info-card:hover::before {
    left: 100%;
}

.donate-info-card .info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5B8ED6, #4A76A8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.info-content a {
    color: #5B8ED6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s var(--ease);
}

.info-content a:hover {
    color: #8BABE6;
    text-decoration: underline;
}

.game-command-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 180, 0, 0.1);
    border: 1px solid rgba(255, 180, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--yellow);
    font-weight: 500;
}

.game-command-info i {
    font-size: 1.2rem;
    color: var(--yellow);
}

.game-command-info strong {
    background: var(--yellow);
    color: var(--black);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-family: 'Druk Wide', sans-serif;
    margin: 0 0.2rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Стили для выбора платежной системы */
.payment-selection {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.payment-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 180, 0, 0.1), transparent);
    transition: left 0.6s var(--ease);
}

.payment-card:hover::before {
    left: 100%;
}

.payment-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 180, 0, 0.3);
    box-shadow: 0 15px 30px rgba(255, 180, 0, 0.1);
}

.payment-card.active {
    border-color: var(--yellow);
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.1) 0%, rgba(255, 180, 0, 0.05) 100%);
    box-shadow: 0 10px 25px rgba(255, 180, 0, 0.15);
}

.payment-card-inner {
    padding: 2rem;
}

.payment-card-front {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.payment-logo {
    flex-shrink: 0;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s var(--ease);
}

.logo-icon.yoomoney {
    background: linear-gradient(135deg, #8B75FF, #5E43F3);
    color: white;
}

.logo-icon.freekassa {
    background: linear-gradient(135deg, #ff1834, #ff3218);
    color: white;
}

.logo-icon.donationalerts {
    background: linear-gradient(135deg, #FFC618, #ff9c18);
    color: white;
}

.payment-card.active .logo-icon {
    transform: scale(1.1);
}

.payment-info {
    flex: 1;
}

.payment-info h3 {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.payment-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.payment-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Дополнительная информация */
.additional-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s var(--ease);
}

.info-card:hover {
    border-color: rgba(255, 180, 0, 0.2);
    transform: translateX(5px);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--yellow), #ff8c00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.1rem;
}

.info-text h4 {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.info-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* Стили для формы */
.donate-form-container {
    position: relative;
}

.form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Группы ввода */
.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s var(--ease);
}

.input-group input {
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0 1rem 0 3rem;
    font-size: 1rem;
    color: var(--white);
    transition: all 0.3s var(--ease);
    font-family: inherit;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group input:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.08);
}

.input-group input:focus + .input-border {
    transform: scaleX(1);
}

.input-border {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
    border-radius: 2px;
}

.input-status {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.input-status.valid {
    color: #2ecc71;
}

.input-status.invalid {
    color: #e74c3c;
}

.input-status.checking {
    color: #f39c12;
}

/* Сводка платежа */
.payment-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-weight: 600;
    color: var(--white);
}

.summary-value {
    color: var(--yellow);
    font-weight: 600;
    font-family: 'Druk Wide', sans-serif;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, var(--yellow), #ff8c00);
    border: none;
    border-radius: 15px;
    color: var(--black);
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.submit-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn:disabled::before {
    display: none;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s var(--ease);
}

.submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 180, 0, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: opacity 0.3s var(--ease);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.submit-btn.loading .btn-content {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Футер формы */
.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* Анимации */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 180, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 180, 0, 0.6);
    }
}

.payment-card.active {
    animation: glow 2s ease-in-out infinite;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .donate-header {
        margin-bottom: 2rem;
    }
    
    .donate-info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .payment-card-inner {
        padding: 1.5rem;
    }
    
    .payment-card-front {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-features {
        justify-content: center;
    }
    
    .info-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .donate-grid {
        gap: 1.5rem;
    }
    
    .form-wrapper {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .payment-summary {
        padding: 1.2rem;
    }
    
    .submit-btn {
        height: 55px;
        font-size: 1rem;
    }
}