* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: white; /* Цвет на случай, если картинка не грузится */
}










/* ===== СТОРІНКА ОПЛАТИ ===== */
.donate-page {
    padding-top: 120px;  /* щоб не перекривало фіксованим хедером */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.donate-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.donate-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.donate-header {
    background: linear-gradient(135deg, #262625 0%, #3a3a38 100%);
    padding: 32px;
    text-align: center;
    color: white;
}

.donate-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.donate-header p {
    font-size: 14px;
    opacity: 0.8;
}

/* Вкладки */
.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 18px 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.tab-btn:hover {
    color: #262625;
    background: #f0f0f0;
}

.tab-btn.active {
    color: #85abba;
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #85abba;
}

/* Контент вкладок */
.tab-content {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Вибір суми */
.amount-section {
    margin-bottom: 32px;
}

.amount-label {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 16px;
    display: block;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    border-color: #85abba;
    color: #85abba;
}

.amount-btn.selected {
    background: #85abba;
    border-color: #85abba;
    color: white;
}

.custom-amount {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-amount input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    outline: none;
    transition: border 0.2s;
    min-width: 150px;
}

.custom-amount input:focus {
    border-color: #85abba;
}

.custom-amount span {
    font-weight: 700;
    color: #4b5563;
}

/* Форма карти */
.card-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #85abba;
    box-shadow: 0 0 0 3px rgba(133,171,186,0.1);
}

.card-row {
    display: flex;
    gap: 16px;
}

.card-row .form-group {
    flex: 1;
}

/* Банківські реквізити */
.bank-details {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.bank-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #85abba;
    display: inline-block;
}

.detail-row {
    margin-bottom: 16px;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1f36;
    word-break: break-all;
    background: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: monospace;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.copy-btn {
    background: none;
    border: 1px solid #85abba;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #85abba;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #85abba;
    color: white;
}

/* Криптовалюта */
.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crypto-item {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.crypto-item:hover {
    border-color: #85abba;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.crypto-icon {
    font-size: 32px;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 10px;
}



.crypto-name {
    font-weight: 700;
    font-size: 18px;
    color: #262625;
}

.crypto-address {
    font-family: monospace;
    font-size: 13px;
    color: #6b7280;
    word-break: break-all;
    background: white;
    padding: 10px;
    border-radius: 12px;
    margin: 8px 0 12px 0;
}

/* Кнопка оплати */
.pay-submit-btn {
    width: 100%;
    background: #85abba;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s ease;
}

.pay-submit-btn:hover {
    background: #6a8a98;
    transform: scale(1.02);
}

.info-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 20px;
}

/* Адаптація */
@media (max-width: 768px) {
    .donate-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .tab-btn {
        padding: 14px 8px;
        font-size: 13px;
        min-width: 90px;
    }
    .tab-content {
        padding: 20px;
    }
    .amount-buttons {
        gap: 8px;
    }
    .amount-btn {
        padding: 8px 16px;
        font-size: 16px;
    }
    .card-row {
        flex-direction: column;
        gap: 0;
    }
    .bank-details {
        padding: 16px;
    }
    .detail-value {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    .copy-btn {
        align-self: flex-start;
        margin-top: 8px;
    }
}

/* FastPay блок */
.fastpay-block {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.fastpay-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 8px;
}

.fastpay-block p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
}

.fastpay-btn {
    display: inline-block;
    background: #85abba;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fastpay-btn:hover {
    background: #6a8a98;
    transform: scale(1.02);
}

.divider-text {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 16px 0;
    position: relative;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e5e7eb;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}