/* =======================================================
   Reset & Base
======================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; }
a { text-decoration: none; color: inherit; }
body { background-color: #111; color: #fff; line-height: 1.6; word-break: keep-all; }

/* 유틸리티 클래스 */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.point-color { color: var(--point-color) } 
:root {
    --point-color: #01b3b4;     
    --highlight-color: #00cccc; 
}
/* =======================================================
   Layout & Components
======================================================= */
.campaign-container { width: 100%; overflow: hidden; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; text-align: center; z-index: 2; }

/* 공통 섹션 스타일 */
section[class^="sec-"] { 
    padding: 120px 0; 
    position: relative; 
    background-size: cover; 
    background-position: center; 
}
section[class^="sec-"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

/* 텍스트 타이포그래피 */
.sec-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 30px; line-height: 1.4; }
.desc { font-size: 20px; color: #ddd; line-height: 1.7; }
.highlight-text { font-size: 24px; font-weight: 700; color: var(--highlight-color); }
.btn-donate {
    position: relative;
    display: inline-block;
    padding: 18px 48px;
    background-color: var(--point-color);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 14px;
    margin-top: 36px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.btn-donate::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    transition: none;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.btn-donate:hover::after {
    left: 140%;
    transition: all 0.75s ease-in-out;
}
/* =======================================================
   Sections
======================================================= */
/* Sec 1: Hero */
.sec-hero { 
    height: 100vh; 
    min-height: 800px; 
    display: flex; 
    align-items: flex-end; 
    padding-bottom: 160px; 
    background-image: url('../img/section-1.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.sec-hero .badge,
.sec-hero .main-title,
.sec-hero .desc,
.sec-hero .btn-donate {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.sec-hero .badge { animation-delay: 0.1s;}
.sec-hero .main-title { animation-delay: 0.3s;}
.sec-hero .desc {animation-delay: 0.5s;}
.sec-hero .btn-donate {animation-delay: 0.7s;}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sec-hero .content-box {margin-top: 100px; }
.header { position: absolute; top: 40px; left: 20px; right:20px; text-align: left; z-index: 10; }
.logo a { display: block; width: 200px; height:50px; text-indent: -9999px; background: url('../img/weca_logo.png') no-repeat center bottom; background-size: contain; }
.badge { display: inline-block; padding: 8px 20px; background: rgba(213, 251, 255, 0.1); color: var(--point-color); border: 1px solid var(--point-color); border-radius: 30px; font-weight: 700; margin-bottom: 20px; }
.main-title { font-size: 60px; font-weight: 800; line-height: 1.3; margin-bottom: 30px; color: #fff; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); opacity: 0.8; animation: bounce 2s infinite; font-weight: bold; letter-spacing: 1px; color: var(--point-color); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@media (max-width: 768px) {
    .sec-hero {        
        height: 100svh; 
        min-height: 600px;
        align-items: center;       
        justify-content: center;
        padding-bottom: 40px;      
        text-align: center;        
    }    
    .sec-hero .content-box {
        margin-top: 0;
        width: 100%;
        padding: 0 20px;
    }   
    .sec-hero .badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
        word-break: keep-all;
    }   
    .sec-hero .main-title {
        font-size: 28px;
        line-height: 1.35;
        letter-spacing: -0.02em;
        margin-bottom: 18px;
        word-break: keep-all;
    }  
    .sec-hero .desc {
        font-size: 14px;
        line-height: 1.6;
        color: #e2e8f0;
        margin-bottom: 0;
        word-break: keep-all;
    }    
    .sec-hero .btn-donate {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        margin: 28px auto 0;
        padding: 16px 20px;
        font-size: 16px;
    }    
    .scroll-indicator {
        display: none;
    }    
    .header {
        top: 20px;
        left: 16px;
    }
    .logo a {
        width: 140px;
        height: 36px;
    }
}

/* =======================================================
   Sec 2 : Crisis Section
======================================================= */
.sec-crisis {
    background-color: #16181d; 
    padding: 120px 0;
    color: #ffffff;
}
.sec-crisis .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.crisis-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.crisis-img-box {
    flex: 1;
    max-width: 540px;
    width: 100%;
    aspect-ratio: 4 / 3; 
    position: relative;  
    border-radius: 16px;
    overflow: hidden;    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    background-color: #22262e;
}
.crisis-img-box .crisis-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0; 
    animation: zoomFade 12s infinite linear;
}
.crisis-img-box .slide-1 {
    animation-delay: 0s;
}
.crisis-img-box .slide-2 {
    animation-delay: 4s;
}
.crisis-img-box .slide-3 {
    animation-delay: 8s;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1.15); 
    }
    6% {
        opacity: 1;             
    }
    33% {
        opacity: 1;             
    }
    39% {
        opacity: 0;             
        transform: scale(1.0);  
    }
    100% {
        opacity: 0;
        transform: scale(1.0);
    }
}

/* 오른쪽 텍스트 영역 */
.crisis-text-box {
    flex: 1;
    text-align: left;
}
.sec-crisis .sec-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 24px;
}
.sec-crisis .point-highlight {
    color: #f7b731; 
    display: inline-block;
}
.sec-crisis .desc {
    font-size: 18px;
    color: #cfd4dc;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.sec-crisis .point-underline {
    color: #ffd152;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =======================================================
   반응형 (태블릿 & 모바일)
======================================================= */
@media (max-width: 991px) {
    .crisis-wrap {
        flex-direction: column;
        gap: 36px;
    }
    .crisis-img-box {
        max-width: 100%;
    }
    .crisis-text-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sec-crisis {
        padding: 70px 0;
    }
    .sec-crisis .sec-title {
        font-size: 25px;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    .sec-crisis .desc {
        font-size: 15px;
        line-height: 1.6;
    }
    .pc-only-br {
        display: none;
    }
}

/* =======================================================
   Sec 5 : Action Section (Light & Fresh Renewal)
======================================================= */
.sec-action {
    background-image: url(../img/section-5.jpg); opacity:3; 
    padding: 120px 0;
    text-align: center;
}
.sec-action .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.sec-action .sub-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--point-color, #0284c7);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.sec-action .sec-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.35;
    color: #111827; 
    letter-spacing: -0.02em;
    margin-bottom: 50px;
}
/* 2열 그리드 */
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.action-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
    animation: bounceUp 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
}
.action-card.card-1 {
    animation-delay: 0.15s;
}
.action-card.card-2 {
    animation-delay: 0.35s;
}

@keyframes bounceUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 이미지 래퍼 및 호버 효과 */
.action-card .img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.action-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}
.action-card:hover .card-img {
    transform: scale(1.06);
}
.action-card .card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 32px;
    text-align: left;
    background: linear-gradient(
        to top,
        rgba(15, 42, 42, 0.88) 0%,
        rgba(15, 40, 42, 0.4) 50%,
        transparent 100%
    );
    color: #ffffff;
}
.card-overlay .card-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.card-overlay .card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: #ffffff;
}
.card-overlay .card-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
/* 하단 안내 문구 */
.sec-action .notice {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* =======================================================
   반응형 (모바일)
======================================================= */
@media (max-width: 768px) {
    .sec-action {
        padding: 70px 0;
    }

    .sec-action .sec-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 32px;
    }

    .action-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-card .img-wrapper {
        aspect-ratio: 16 / 10;
    }

    .action-card .card-overlay {
        padding: 24px;
    }

    .card-overlay .card-title {
        font-size: 20px;
    }

    .card-overlay .card-desc {
        font-size: 13px;
    }

    .sec-action .notice {
        font-size: 13px;
    }

    .pc-only-br {
        display: none;
    }
}
/* =======================================================
   Sec 3: Children (통이미지 여백에 맞춰 우측 정렬)
======================================================= */
.sec-children {
    background-image: url('../img/section-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    position: relative;
}
/* 전체 inner: 우측 배치 유지 */
.sec-children .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
}

/*투명 검정 박스 */
.children-content-box {
    max-width: 580px;
    width: 100%;
    background: rgba(14, 16, 20, 0.3); 
    backdrop-filter: blur(5px);         
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px 44px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: left; 
}

.sec-children .sec-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.sec-children .desc {
    font-size: 17px;
    color: #d1d5db;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* 본문과 강조문구 사이 얇은 구분선 */
.children-content-box .divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 28px 0;
}

.sec-children .highlight-text {
    font-size: 19px;
    font-weight: 600;
    color: #f7b731; 
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* =======================================================
   반응형 (태블릿 & 모바일)
======================================================= */
@media (max-width: 768px) {
    .sec-children {
        padding: 80px 0;
    }

    .sec-children .inner {
        justify-content: center; 
    }

    .children-content-box {
        max-width: 100%;
        padding: 32px 24px;
        background: rgba(14, 16, 20, 0.3); 
        text-align: center;
    }

    .sec-children .sec-title {
        font-size: 23px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .sec-children .desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .children-content-box .divider {
        margin: 20px 0;
    }

    .sec-children .highlight-text {
        font-size: 16px;
    }

    .pc-only-br {
        display: none;
    }
}

/* =======================================================
   Sec 4: Appeal
======================================================= */
.sec-appeal {background-color: #111; padding: 140px 0;}
.sec-appeal::before { display: none; } 
.appeal-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; text-align: left;}
/* 좌측 텍스트 박스 */
.appeal-text {flex: 1.2; }
.sec-appeal .sec-title { margin-bottom: 25px; text-align: left;}
.sec-appeal .desc { color: #b0b0b0;  text-align: left;}
.sec-appeal .highlight-text {  text-align: left;}
/* 우측 이미지 박스 */
.appeal-img {
    flex: 1;
    height: 450px; 
    border-radius: 16px;
    background-image: url('../img/section-04.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* =======================================================
   Sec 4: Appeal (Mobile Responsive)
======================================================= */
@media (max-width: 768px) {
  .sec-appeal {
    padding: 70px 0; 
  }  
  .appeal-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

 .appeal-img {
    flex: none;          
    width: 100%;
    height: 260px;       
    display: block;
    border-radius: 12px;
    background-image: url('../img/section-04.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .appeal-text {
    width: 100%;
  }

  .pc-only-br {
    display: none;
  }
  .sec-appeal .sec-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .sec-appeal .desc {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* =======================================================
   Sec 6: CTA (하단 통이미지 배경 적용)
======================================================= */
.sec-cta { 
    padding: 160px 0; 
    position: relative;
    background-color: #000;
    overflow: hidden;
}
.sec-cta .bg-video { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
}
.sec-cta .placeholder-video { 
    width: 100%; 
    height: 100%; 
    background-image: url('../img/section-6.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5; 
}
.sec-cta .inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}
/* 우측 콘텐츠 박스 */
.sec-cta .cta-content {
    max-width: 680px;
    text-align: right; 
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}
.sec-cta .cta-title { 
    font-size: 38px; 
    font-weight: 800; 
    line-height: 1.45; 
    color: #fff; 
    letter-spacing: -0.02em;
    word-break: keep-all;
}
.sec-cta .cta-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 20px;
    margin-bottom: 36px;
    word-break: keep-all;
}

/* =======================================================
   반응형 (Mobile)
======================================================= */
@media (max-width: 768px) {
    .sec-cta {
        padding: 100px 0;
    }
    .sec-cta .inner {
        justify-content: center;
    }
    .sec-cta .cta-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    .sec-cta .cta-title {
        font-size: 24px;
        line-height: 1.4;
    }
    .sec-cta .cta-desc {
        font-size: 15px;
        margin-top: 14px;
        margin-bottom: 28px;
    }
}


/* =======================================================
   Footer (세련된 다크 그레이 & 시인성 개선 버전)
======================================================= */
.footer { 
    background-color: #1a1c1e; /* 💡 완전 검은색 대신 신뢰감을 주는 딥 차콜 그레이 */
    color: #a0a5ab;            /* 💡 본문 텍스트가 눈에 잘 띄도록 밝기 상향 */
    padding: 70px 20px;        /* 위아래 여백을 살짝 늘려 공간감 확보 */
    font-size: 14px; 
    text-align: center; 
}

.footer-top { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 30px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid #2d3135; /* 💡 배경색에 맞춰 보더 라인 투명도 자연스럽게 변경 */
}

.footer-logo { 
    height: 38px; 
    filter: brightness(0) invert(1); /* 💡 핵심: 칙칙한 회색 대신 완전한 화이트 로고로 치환 */
    opacity: 0.9;                    /* 쨍하지 않게 미세하게 투명도 조절 */
}

.agency-name { 
    color: #ffffff; /* 💡 기관 영문명을 화이트로 변경해 로고와 밸런스 유지 */
    font-size: 18px; 
    letter-spacing: 1px; 
}

.footer-info p { 
    margin-bottom: 12px; 
}

.footer-info span { 
    margin: 0 12px; 
    display: inline-block; 
    color: #90959a; /* 정보 텍스트 가독성 확보 */
}

.copyright { 
    margin-top: 35px; 
    color: #6a7077; /* 카피라이트는 조연이니까 은은하게 낮춤 */
}

.copyright-notice { 
    margin-top: 8px; 
    color: #5a6066; 
    font-size: 12px; 
}
/* =======================================================
   사이드 플로팅 배너 (스피닝 테두리 효과)
======================================================= */
.floating-badge {
    position: fixed;
    top: 240px;
    right: 80px;
    z-index: 9999;
    width: 150px;
    height: 217px;
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.floating-badge a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.floating-badge a::before {  
    content: ""; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%; 
    background: conic-gradient(transparent, transparent 70%, var(--highlight-color)); 
    animation: border-spin 2.5s linear infinite; 
    z-index: 1;
}

.floating-badge a::after {
    content: "";
    position: absolute;    
    top: 2px; 
    right: 2px; 
    bottom: 2px; 
    left: 2px; 
    background-color: #111; 
    background-image: url('../img/sec1_badge.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    z-index: 2;
}

@keyframes border-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =======================================================
   Mobile Responsive (768px 이하)
======================================================= */
@media (max-width: 768px) {
    section[class^="sec-"] { padding: 80px 0; }
    .sec-title { font-size: 26px; }
    .main-title { font-size: 34px; }
    .desc { font-size: 16px; }
    .highlight-text { font-size: 18px; }
    
    .btn-donate { padding: 16px 30px; font-size: 18px; width: 100%; }
    
    .img-grid { flex-direction: column; align-items: center; }
    .img-item { width: 100%; }
    
    .footer-info span { display: block; margin-bottom: 5px; }
    
    .floating-badge { display: none; } /* 모바일에서는 플로팅 배너 숨김 */
}