/* donation.css - 후원하기 페이지 전용 스타일 */

.donation-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

.donation-container {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    width: 80%;
    margin: 0 auto;
}

/* 헤더 스타일 */
.donation-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
}

/* 1단계: 상황 설명 (작고 가벼운 톤) */
.header-lead {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.6s ease forwards;
}

/* 2단계: 핵심 메시지 (크고 굵게) */
.donation-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main, #333);
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.7s ease 0.15s forwards;
}

/* 3단계: 조직 설명 (중간 톤) */
.header-org {
    font-size: 14px;
    color: var(--text-sub1, #666);
    line-height: 1.8;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.7s ease 0.3s forwards;
}

/* 4단계: 후원 용도 강조 */
.header-highlight {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--main-color, #ff7f2a);
    line-height: 1.8;
    margin: 0;
    padding: 10px 24px;
    background-color: #fff8f3;
    border-radius: 8px;
    border: 1px solid #ffe8d6;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.7s ease 0.45s forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 후원 계좌 카드 ===== */
.donation-account-card {
    background: linear-gradient(135deg, #fff9f4 0%, #fff 100%);
    border: 1px solid #f0dcc8;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.account-card-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.donation-account-card h3 {
    font-size: 20px;
    color: var(--text-main, #333);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.donation-account-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--main-color, #ff7f2a);
    border-radius: 2px;
}

.account-card-body {
    margin-bottom: 20px;
}

/* 계좌번호 강조 영역 */
.account-number-display {
    background-color: #fff;
    border: 2px solid var(--main-color, #ff7f2a);
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.account-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color, #ff7f2a);
    white-space: nowrap;
}

.account-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main, #333);
    letter-spacing: 1px;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 연락처 행 */
.account-detail-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.account-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-sub1, #666);
}

.detail-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--text-main, #333);
    margin-right: 4px;
    font-size: 13px;
}

.detail-value {
    font-size: 14px;
}

/* 안내 문구 */
.account-notice {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #f0e6dc;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .donation-container {
        width: 90%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .donation-container {
        width: 100%;
        padding: 25px;
    }

    .donation-header h2 {
        font-size: 21px;
    }

    .header-lead,
    .header-org {
        font-size: 13px;
    }

    .header-highlight {
        font-size: 14px;
    }

    .donation-account-card {
        padding: 28px 20px;
    }

    .account-number-display {
        flex-direction: column;
        gap: 6px;
        padding: 14px 18px;
    }

    .account-value {
        font-size: 20px;
    }

    .account-detail-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .donation-header h2 {
        font-size: 18px;
    }

    .header-lead,
    .header-org {
        font-size: 12px;
    }

    .header-highlight {
        font-size: 13px;
        padding: 8px 16px;
    }

    .donation-account-card {
        padding: 24px 16px;
    }

    .account-card-icon {
        font-size: 36px;
    }

    .account-value {
        font-size: 18px;
    }
}
