/* PyeojinGothic Font */
@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* Font Family */
body {
    font-family: 'PyeojinGothic', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Variables */
:root {
    --primary-color: #316ff4; /* 블루 */
    --primary-dark: #0056b3;
    --primary-light: #4d9fff;
    --secondary-color: #6c757d;
    --accent-color: #32cf61;
    --text-dark: #212529;
    --text-medium: #495057;
    --text-light: #f9fafb;
    --bg-light: #f5f5f5;
    --badge-light: #f5f5f5;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient: linear-gradient(135deg, #0078FF 0%, #4d9fff 100%);
    --border-light: #E9ECEF;
    --white: #FFFFFF;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 12px 40px rgba(0, 120, 255, 0.15);
    --border-radius-large: 16px;
    --border-radius-medium: 8px;
    --border-radius-pill: 9999px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Fixed header space */
}

.container {
    max-width: 1080px; /* PC 버전 최대 가로폭 */
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 10px;}

p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

.highlight {
    color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-strong);
    text-decoration: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 120, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 30px; /* Adjust as needed */
}

.header .nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.header .nav a {
    color: var(--text-medium);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    transition: all 0.3s ease;
    position: relative;
}

.header .nav a:hover {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions .btn-contact {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.header-actions .btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:hover {
    color: var(--primary-color);
    font-weight: 700;
}

.mobile-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-light);
}

.mobile-actions .btn-contact {
    text-align: center;
    padding: 12px;
    border-radius: var(--border-radius-pill);
    background: var(--primary-gradient);
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.mobile-actions .btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.06) 0%, transparent 70%);
    transform: rotate(15deg);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 30%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.06) 0%, transparent 70%);
    transform: rotate(-10deg);
}

/* 히어로 섹션 - 개발자 소스 기반 */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
}

.hero-section .container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-text {
    text-align: center;
    margin-bottom: 40px;
}

.hero-subline {
    color: var(--primary-light);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}

.hero-headline {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.hero-headline .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#dynamicText {
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-strong);
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
    position: relative;
    z-index: 10;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.arrow {
    margin-left: 8px;
    font-size: 1.1em;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-right: 0px;
    z-index: 2;
}

.phone-mockup {
    width: 100%;
    height: auto;
    max-width: 100%;
    border: none;
    box-shadow: none;
    filter: none;
    border-radius: 0;
    transition: none;
}

.hero-image .phone-mockup {
    max-width: 100%;
    width: 100%;
}




.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.hero-image:hover img {
    transform: none;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.features-section h2 {
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 120, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* 간단한 호버 효과 */
.feature-card:hover {
    transform: scale(1.05);
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card:hover h3 {
    color: var(--primary-color);
}



.feature-card img {
    margin-bottom: 0px;
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
}

.step-badge {
    background: var(--badge-light);
    color: var(--text-medium);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}


.feature-card h3 {
    color: var(--text-dark);
    transition: color 0.3s ease;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, #0066cc 0%, #0078FF 25%, #4d9fff 50%, #66b3ff 75%, #3a8dff 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 40px rgba(0, 120, 255, 0.3), 0 8px 16px rgba(0, 120, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.cta-card::before { /* Background illustration element */
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(102, 179, 255, 0.2) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}

.cta-card::after { /* Another background illustration element */
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(77, 159, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
}

/* 추가 그라데이션 요소 */
.cta-card::before {
    background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.2), rgba(102, 179, 255, 0.3), rgba(77, 159, 255, 0.2), rgba(255, 255, 255, 0.1), transparent);
}


.cta-card img {
    max-width: 200px;
    height: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
    animation: giftShake 4s ease-in-out infinite;
}

/* 선물꾸러미 흔들기 애니메이션 - 2번 빠르게 흔들리고 쉬는 패턴 */
@keyframes giftShake {
    0%, 15% {
        transform: rotate(0deg) translateY(0px);
    }
    2% {
        transform: rotate(-2deg) translateY(-2px);
    }
    4% {
        transform: rotate(2deg) translateY(1px);
    }
    6% {
        transform: rotate(-1deg) translateY(-1px);
    }
    8% {
        transform: rotate(1deg) translateY(0px);
    }
    10% {
        transform: rotate(-2deg) translateY(-2px);
    }
    12% {
        transform: rotate(2deg) translateY(1px);
    }
    14% {
        transform: rotate(-1deg) translateY(-1px);
    }
    15%, 100% {
        transform: rotate(0deg) translateY(0px);
    }
}

.cta-card h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.highlight-price {
    font-size: 3.5rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    display: inline-block;
    margin: 10px 0;
    white-space: nowrap;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
}

.cta-card .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%) !important;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 16px 36px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}


/* Mission Types Section */
.mission-types-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.mission-types-section h2 {
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 50px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border-light);
}



.mission-icon {
    margin-bottom: 20px;
}

.mission-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}


.mission-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.mission-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0px;
    line-height: 1.5;
}

.mission-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius-medium);
    margin-top: 15px;
}

.mission-info .time,
.mission-info .reward {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mission-info .time {
    color: var(--secondary-color);
}

.mission-info .reward {
    color: var(--primary-color);
}

/* Live Activity Section */
.live-activity-section {
    padding: 100px 0;
    background: #fafbfc;
    position: relative;
}

.live-activity-section h2 {
    margin-bottom: 16px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a1d29;
}

.section-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 64px;
}

.live-feed-container {
    max-width: 480px;
    margin: 0 auto;
}

.live-feed-container h3 {
    color: #1a1d29;
    margin-bottom: 32px;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.feed-cards-wrapper {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.feed-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    position: relative;
}

.feed-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    gap: 10px;
    padding: 20px;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: translateY(0);
}

.feed-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.feed-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-type {
    font-size: 0.75rem;
    color: #0ea5e9;
    font-weight: 600;
    background: #f0f9ff;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center; /* 세 영역 수평 중앙선 일치 */
}

.user-info {
    display: flex;
    align-items: center; /* 텍스트 블록의 자연 높이에 중앙 정렬 */
    gap: 12px;
    flex: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch; /* card-content 전체 높이에 맞춤 */
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.2;
}

.mission-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.3;
}

.reward-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.reward-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'PyeojinGothic', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.reward-emoji {
    font-size: 1.25rem;
}

/* 새로운 카드 등장 애니메이션 */
.feed-card.entering {
    animation: cardEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-card.exiting {
    animation: cardExit 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(-32px) scale(0.96);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-8px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(24px) scale(0.98); /* 더 자연스럽게 살짝만 아래로 */
    }
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-medium);
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border: 3px solid rgba(0, 120, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
    max-height: 200px; /* Sufficiently large value */
    padding: 15px 25px 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-medium);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}


/* Bottom CTA Section */
.cta-section-bottom {
    padding: 80px 0;
    background-image: url('assets/cta-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.cta-section-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-bottom-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px 40px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 32px rgba(160, 43, 43, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.cta-bottom-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
}

.cta-bottom-card h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-bottom-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-bottom-card .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulseWave 2s infinite;
}

/* 파동 효과 애니메이션 */
@keyframes pulseWave {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(170, 182, 199, 0.548);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 15px rgba(0, 0, 0, 0);
    }
}

.cta-bottom-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 120, 255, 0.1), transparent);
    transition: left 0.5s;
}

.cta-bottom-card .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: var(--primary-color);
    color: var(--white);
}

.cta-bottom-card .btn-primary:hover::before {
    left: 100%;
}

.cta-bottom-card .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Footer */
.footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 50px 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo img {
    height: 40px; /* Adjust as needed */
    filter: none; /* Remove filter for light background */
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: var(--text-medium);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-info p {
    margin-bottom: 5px;
    color: var(--text-medium);
    line-height: 1.5;
    word-wrap: break-word;
    word-break: keep-all;
}

.footer-info a {
    color: var(--primary-color);
}

.footer-info a:hover {
    color: var(--primary-dark);
}

.copyright {
    margin-top: 20px;
    color: var(--text-light);
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }


/* Responsive Design */
@media (min-width: 1200px) {
    .hero-image {
        max-width: 500px;
        margin-right: 40px;
    }
}

/* PC 버전 스타일 (768px 이상) */
@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-around;
        padding: 80px 0;
    }
    
    .hero-section .container {
        padding: 0 40px;
    }

    .hero-content {
        flex-direction: row;
        justify-content: space-around;
        gap: 0px;
        align-items: flex-start;
    }

    .hero-text {
        flex: 1;
        text-align: left;
        margin-right: 40px;
        margin-bottom: 0;
    }

    .hero-headline {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        flex: 1;
        max-width: 500px;
        margin-right: 40px;
    }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    .header .nav {
        display: none; /* Hide desktop navigation on smaller screens */
    }

    .mobile-menu-toggle {
        display: flex; /* Show mobile menu toggle */
    }

    .header .container {
        justify-content: space-between;
    }

    .header-actions {
        display: none; /* Hide desktop actions on mobile */
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        min-width: unset;
        width: 100%;
    }

    .hero-image {
        justify-content: center;
        margin-top: 0px;
        max-width: 400px;
    }

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

    .cta-card h2,
    .cta-bottom-card h2 {
        font-size: 1.8rem;
    }


    /* Mission Types Section Mobile */
    .mission-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
        max-width: none;
    }

    .mission-card {
        padding: 25px 20px;
    }

    .mission-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Live Activity Section Mobile */
    .live-activity-section {
        padding: 80px 0;
    }

    .live-feed-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .feed-cards-wrapper {
        height: 520px;
    }

    .feed-cards-container {
        gap: 10px;
    }

    .feed-card {
        padding: 16px;
        min-height: 160px;
    }

    .card-header {
        margin-bottom: 12px;
    }

    .user-info {
        gap: 10px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }


    .user-name {
        font-size: 0.9rem;
    }

    .mission-desc {
        font-size: 0.8rem;
    }

    .reward-amount {
        font-size: 1rem;
    }

    .reward-emoji {
        font-size: 1.1rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        text-align: center;
    }

    .footer-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero-content p { font-size: 1rem; }

    .mobile-actions {
        flex-direction: column;
        gap: 10px;
    }
    .mobile-actions .btn-login,
    .mobile-actions .btn-signup {
        width: 100%;
        text-align: center;
    }


    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* 키보드 접근성 개선 */
a:focus-visible, 
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-medium);
}

/* 모바일 메뉴 토글 버튼 포커스 스타일 */
.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* FAQ 버튼 포커스 스타일 */
.faq-question:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}