.button__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 기본 리셋 및 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #fff;
}

/* 스크롤 컨테이너 */
.scroll-container {
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* 애니메이션 배경 */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

.shape3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* 스크롤 인디케이터 - 위아래 움직임 수정 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    transition: opacity 0.3s ease;
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes bounceArrow {
    0%, 100% { 
        transform: rotate(-45deg) translateY(-5px);
    }
    50% { 
        transform: rotate(-45deg) translateY(5px);
    }
}

/* 플로팅 네비게이션 */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.nav-label {
    position: absolute;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .nav-label {
    opacity: 1;
    visibility: visible;
    right: 35px;
}

/* 섹션 라벨 (스크롤 시 표시) */
.section-label {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-label.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 히어로 섹션 */
.hero {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

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

.status-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

/* 복무 진행률 섹션 */
.progress-section {
    flex-direction: column;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f1419 100%);
}

.progress-container {
    max-width: 800px;
    width: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-container.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* 원형 프로그레스 바 */
.card {
    margin-top: 22px;
}

.progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ring {
    position: relative;
    width: clamp(200px, 40vw, 280px);
    height: clamp(200px, 40vw, 280px);
}

.ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring .value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta {
    width: 100%;
    text-align: center;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.meta small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat b {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
}

/* Coming Soon 섹션 */
.coming-soon-section {
    background: linear-gradient(180deg, #0f1419 0%, #0a0a0a 100%);
    flex-direction: column;
}

.coming-soon-content {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.coming-soon-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #0a0a0a;
    box-shadow: 0 10px 30px rgba(67, 233, 123, 0.3);
}

.coming-soon-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.coming-soon-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* 아카이브 섹션 */
.archive-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f1419 100%);
}

.archive-card {
    max-width: 700px;
    width: 100%;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-card.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.archive-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(250, 112, 154, 0.5);
    transform: scale(1.02) translateY(0);
    box-shadow: 0 20px 60px rgba(250, 112, 154, 0.2);
}

.archive-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.archive-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.archive-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 50px;
    font-weight: 600;
    color: #0a0a0a;
    transition: all 0.3s ease;
}

.archive-card:hover .archive-link {
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.4);
}

/* 후원 섹션 */
.donation-section {
    background: linear-gradient(180deg, #0f1419 0%, #0a0a0a 100%);
    position: relative;
}

.donation-content {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.donation-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.donation-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.donation-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

/* 후원 버튼 컨테이너 */
.donate-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.reward-btn {
    width: 140px;
    height: 50px;
    background-color: #101218;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.reward-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.IconContainer {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.IconContainer svg {
    width: 40%;
    z-index: 3;
}

.box-top {
    transition: all 0.3s;
}

.text {
    width: 80px;
    height: 100%;
    font-size: 15px;
    color: #6a8ef6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
}

.coin {
    width: 25%;
    height: 25%;
    background-color: #e4d61a;
    position: absolute;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 1;
    border: 2px solid #ffe956;
    margin-top: 4px;
}

.reward-btn:hover .box-top {
    transform: translateY(-5px);
}

.reward-btn:hover .coin {
    transform: translateY(-5px);
    transition-delay: 0.2s;
}

/* 결제 버튼들 */
.payment-buttons {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    z-index: 1;
}

.payment-buttons.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.button {
    text-decoration: none;
    line-height: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    color: #121212;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 45px;
}

.button-decor {
    position: absolute;
    inset: 0;
    background-color: var(--clr);
    transform: translateX(-55%);
    transition: transform 0.3s;
    z-index: 0;
}

.button-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    height: 100%;
}

.button__icon {
    width: 50px;
    height: 100%;
    background-color: var(--clr);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.button__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.button__text {
    display: inline-block;
    transition: color 0.2s;
    padding: 0 0.75rem;
    text-align: center;
    flex-grow: 1;
}

.button:hover .button__text {
    color: #fff;
}

.button:hover .button-decor {
    transform: translate(0);
}

/* 토스트 메시지 */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 9999;
}

.toast {
    display: none;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast-icon {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

.success {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    color: #166534;
}

.redirect {
    background-color: #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.warning {
    background-color: #fef9c3;
    border-left: 4px solid #eab308;
    color: #854d0e;
}

.error {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.toast.show {
    display: flex;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    section {
        padding: 1.5rem;
    }

    .progress-container {
        padding: 2rem;
    }

    .archive-card {
        padding: 2.5rem 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .floating-shape {
        filter: blur(40px);
    }

    .floating-nav {
        right: 15px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .stats {
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .ring {
        width: clamp(180px, 50vw, 220px);
        height: clamp(180px, 50vw, 220px);
    }
}

@media (max-width: 480px) {
    .progress-container {
        padding: 1.5rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .stat b {
        font-size: 1.25rem;
    }

    .stat small {
        font-size: 0.625rem;
    }

    .nav-label {
        font-size: 0.625rem;
        padding: 4px 8px;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 10px 20px;
    }
}