/* FACCTing in Action 타임라인 스타일 - 사진과 정확히 일치 */

/* 타임라인 섹션 기본 스타일 */
.timeline-section {
    background: #f8f9fa;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.timeline-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6c8299;
    margin-bottom: 1rem;
    position: relative;
}

.timeline-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0A2342 0%, #6c8299 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #baaa63 0%, #6c8299 100%);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.3s forwards;
}

@keyframes expandWidth {
    to {
        width: 80px;
    }
}

/* 타임라인 컨테이너 */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 타임라인 중앙선 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 150px;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(186, 170, 99, 0.3) 0%, 
        rgba(108, 130, 153, 0.5) 50%,
        rgba(186, 170, 99, 0.3) 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}

/* 타임라인 아이템 */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

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

/* 왼쪽 아이템 */
.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: 60px;
}

/* 오른쪽 아이템 */
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 60px;
}

/* 타임라인 마커 - 인터랙티브 개선 */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    border: 5px solid #ffffff;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(186, 170, 99, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 
            0 4px 15px rgba(186, 170, 99, 0.3),
            0 0 0 0 rgba(186, 170, 99, 0.4);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(186, 170, 99, 0.3),
            0 0 0 10px rgba(186, 170, 99, 0);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(186, 170, 99, 0.3),
            0 0 0 0 rgba(186, 170, 99, 0);
    }
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, #6c8299 0%, #baaa63 100%);
    transform: translateX(-50%) scale(1.4);
    box-shadow: 
        0 8px 30px rgba(186, 170, 99, 0.6),
        0 0 0 0 rgba(186, 170, 99, 0.4);
    animation: pulse-ring-active 1.5s infinite;
}

@keyframes pulse-ring-active {
    0% {
        box-shadow: 
            0 8px 30px rgba(186, 170, 99, 0.6),
            0 0 0 0 rgba(186, 170, 99, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(186, 170, 99, 0.6),
            0 0 0 15px rgba(186, 170, 99, 0);
    }
    100% {
        box-shadow: 
            0 8px 30px rgba(186, 170, 99, 0.6),
            0 0 0 0 rgba(186, 170, 99, 0);
    }
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 6px 25px rgba(186, 170, 99, 0.5);
    animation: none;
}

/* 타임라인 콘텐츠 - 인터랙티브 개선 */
.timeline-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 4px 20px rgba(10, 35, 66, 0.08),
        0 0 0 1px rgba(186, 170, 99, 0.1) inset;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #baaa63 0%, #6c8299 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(186, 170, 99, 0.5);
}

.timeline-content::after {
    display: none;
}

.timeline-content:hover::before {
    transform: scaleY(1);
}

.timeline-content:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(186, 170, 99, 0.25),
        0 0 0 1px rgba(186, 170, 99, 0.3) inset,
        0 0 40px rgba(186, 170, 99, 0.1);
    border-color: rgba(186, 170, 99, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.timeline-content:active {
    transform: translateY(-8px) scale(1);
    transition: transform 0.1s ease;
}

.timeline-item.active .timeline-content {
    border-color: rgba(186, 170, 99, 0.5);
    box-shadow: 
        0 20px 60px rgba(186, 170, 99, 0.3),
        0 0 0 1px rgba(186, 170, 99, 0.4) inset;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

/* 타임라인 날짜 - 위쪽 배치 */
.timeline-date {
    font-size: 0.8rem;
    color: #baaa63;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    padding: 0.4rem 1rem;
    background: rgba(186, 170, 99, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    width: fit-content;
    order: 1;
}

.timeline-content:hover .timeline-date {
    background: rgba(186, 170, 99, 0.2);
    color: #6c8299;
    transform: translateY(-2px);
}

/* 타임라인 제목 텍스트 - 인터랙티브 개선, 아래쪽 배치 */
.timeline-event-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A2342;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    display: block;
    background: linear-gradient(135deg, #0A2342 0%, #6c8299 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    order: 2;
}

.timeline-event-title::after {
    display: none;
}

.timeline-event-title:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-item.active .timeline-event-title {
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 타임라인 세부사항 */
.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: 2px solid transparent;
    opacity: 0;
}

.timeline-details.show {
    max-height: 1000px;
    padding: 1.5rem 0;
    border-top-color: rgba(186, 170, 99, 0.2);
    opacity: 1;
}

.timeline-details p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

/* 타임라인 이미지 컨테이너 */
.timeline-image {
    margin: 1.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.timeline-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* 타임라인 설명 */
.timeline-description {
    color: #5d6d7e;
    line-height: 1.6;
    margin-top: 15px;
    clear: both;
}

.timeline-description p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.timeline-description ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.timeline-description li {
    margin-bottom: 0.8rem;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: #baaa63;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-description li::before {
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(186, 170, 99, 0.5);
    background: #6c8299;
}

/* To be continued 스타일 - 현대적이고 깔끔한 디자인 */
.timeline-continue {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 120px;
    position: relative;
}

.timeline-continue .timeline-content {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    cursor: default;
    max-width: 320px;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 20px;
    padding: 0;
    transition: none;
    overflow: visible;
}

.timeline-continue .timeline-content::before {
    display: none;
}

.timeline-continue .timeline-content:hover {
    transform: none;
    box-shadow: none;
    border: none;
}

.timeline-marker-continue {
    display: none;
}

.timeline-continue-text {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #6c8299;
    position: relative;
    z-index: 10;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #6c8299 0%, #baaa63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift-text 3s ease infinite;
}

@keyframes gradient-shift-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 점들 애니메이션 - 현대적 디자인 */
.timeline-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    position: relative;
    animation: modern-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 2px 8px rgba(186, 170, 99, 0.3);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    animation: ripple 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(1)::before {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.4s;
}

.dot:nth-child(2)::before {
    animation-delay: 0.4s;
}

.dot:nth-child(3) {
    animation-delay: 0.8s;
}

.dot:nth-child(3)::before {
    animation-delay: 0.8s;
}

@keyframes modern-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* 타임라인 모달 스타일 - 최신식 UI/UX */
.timeline-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.timeline-modal.active {
    opacity: 1;
    visibility: visible;
}

.timeline-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.92) 0%, rgba(108, 130, 153, 0.88) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: backdrop-filter 0.4s ease;
}

.modal-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.modal-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(186, 170, 99, 0.6);
    border-radius: 50%;
    animation: float-particle 3s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(186, 170, 99, 0.5);
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 0.8;
    }
}

.timeline-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    max-width: 1000px;
    width: 90%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 0 100px rgba(186, 170, 99, 0.1);
    transform: scale(0.85) translateY(30px) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    z-index: 10000;
    perspective: 1000px;
}

.timeline-modal.active .timeline-modal-content {
    transform: scale(1) translateY(0) rotateX(0deg);
}

.timeline-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A2342;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-modal-close:hover {
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(186, 170, 99, 0.4);
}

.timeline-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-content-wrapper {
    padding: 3.5rem;
    animation: fadeInUp 0.6s ease-out;
}

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

.timeline-modal-header {
    margin-bottom: 2.5rem;
}

.timeline-modal-date {
    font-size: 0.95rem;
    color: #baaa63;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(186, 170, 99, 0.15) 0%, rgba(108, 130, 153, 0.1) 100%);
    border-radius: 25px;
    border: 1px solid rgba(186, 170, 99, 0.2);
    transition: all 0.3s ease;
}

.timeline-modal-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 170, 99, 0.2);
    background: linear-gradient(135deg, rgba(186, 170, 99, 0.25) 0%, rgba(108, 130, 153, 0.15) 100%);
}

.date-icon {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timeline-modal-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #0A2342 0%, #6c8299 50%, #baaa63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    display: inline-block;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.title-underline {
    display: none;
}

.timeline-modal-image-wrapper {
    position: relative;
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-modal-image-wrapper:hover {
    transform: translateY(-5px);
}

.image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(186, 170, 99, 0.1) 0%, rgba(108, 130, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.timeline-modal-image-wrapper:hover .image-overlay-effect {
    opacity: 1;
}

.timeline-modal-image {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-modal-image:hover {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(186, 170, 99, 0.3) inset;
}

.modal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-modal-image:hover .modal-img {
    transform: scale(1.05);
}

.image-zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #0A2342;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-modal-image:hover .image-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.image-zoom-hint svg {
    width: 18px;
    height: 18px;
    color: #baaa63;
}

.timeline-modal-description {
    color: #5d6d7e;
    line-height: 1.9;
    margin-top: 2.5rem;
    font-size: 1.1rem;
}

.description-intro {
    margin-bottom: 2.5rem;
}

.description-intro p {
    margin-bottom: 0;
    font-size: 1.15rem;
    color: #2c3e50;
    line-height: 1.8;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(186, 170, 99, 0.05) 0%, rgba(108, 130, 153, 0.05) 100%);
    border-radius: 16px;
    border-left: 4px solid #baaa63;
    transition: all 0.3s ease;
}

.description-intro p:hover {
    background: linear-gradient(135deg, rgba(186, 170, 99, 0.1) 0%, rgba(108, 130, 153, 0.1) 100%);
    transform: translateX(5px);
}

.description-features {
    margin-top: 2rem;
}

.features-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #baaa63 0%, #6c8299 100%);
    border-radius: 2px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(186, 170, 99, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateX(-20px);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(186, 170, 99, 0.1) 0%, rgba(108, 130, 153, 0.1) 100%);
    transition: width 0.4s ease;
    z-index: 0;
}

.feature-item:hover::before {
    width: 100%;
}

.feature-item:hover {
    transform: translateX(10px) translateY(-2px);
    border-color: rgba(186, 170, 99, 0.4);
    box-shadow: 0 8px 24px rgba(186, 170, 99, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-text {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-text {
    color: #0A2342;
    font-weight: 600;
}

.placeholder-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 이미지 확대 모달 */
.image-expand-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 66, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.image-expand-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A2342;
    transition: all 0.3s ease;
    z-index: 10003;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.image-modal-close:hover {
    background: linear-gradient(135deg, #baaa63 0%, #6c8299 100%);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.expanded-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.image-expand-modal.active .expanded-image {
    transform: scale(1);
}

/* 모달 스크롤바 스타일링 */
.timeline-modal-content::-webkit-scrollbar {
    width: 10px;
}

.timeline-modal-content::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.5);
    border-radius: 32px;
    margin: 10px 0;
}

.timeline-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #baaa63 0%, #6c8299 100%);
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.timeline-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6c8299 0%, #baaa63 100%);
    box-shadow: 0 0 10px rgba(186, 170, 99, 0.5);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .timeline-modal-content {
        width: 92%;
        max-width: 92%;
        max-height: 70vh;
        border-radius: 20px;
        transform: scale(0.95) translateY(20px);
    }
    
    .modal-content-wrapper {
        padding: 1.5rem 1.25rem;
    }
    
    .timeline-modal-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }
    
    .timeline-modal-date {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 1rem;
    }
    
    .timeline-modal-image {
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .description-intro p {
        font-size: 0.9rem;
        padding: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .features-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        padding: 0.85rem 1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
    
    .timeline-modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
    
    .timeline-modal-close svg {
        width: 20px;
        height: 20px;
    }
    
    .image-modal-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
    
    .image-modal-close svg {
        width: 22px;
        height: 22px;
    }
    
    .expanded-image {
        max-width: 92%;
        max-height: 80vh;
    }
    
    .image-zoom-hint {
        bottom: 12px;
        right: 12px;
        padding: 0.5rem 0.85rem;
        font-size: 0.75rem;
    }
    
    .image-zoom-hint svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .timeline-modal-content {
        width: 90%;
        max-width: 90%;
        max-height: 70vh;
        border-radius: 16px;
        transform: scale(0.98) translateY(15px);
    }
    
    .modal-content-wrapper {
        padding: 1.25rem 1rem;
    }
    
    .timeline-modal-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .timeline-modal-date {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.85rem;
    }
    
    .timeline-modal-image {
        margin: 1.25rem 0;
        border-radius: 10px;
    }
    
    .description-intro p {
        font-size: 0.85rem;
        padding: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .features-title {
        font-size: 0.9rem;
        margin-bottom: 0.85rem;
    }
    
    .feature-item {
        padding: 0.75rem 0.85rem;
        margin-bottom: 0.65rem;
    }
    
    .feature-icon {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    .timeline-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .timeline-modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .image-modal-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }
    
    .image-modal-close svg {
        width: 20px;
        height: 20px;
    }
    
    .expanded-image {
        max-width: 90%;
        max-height: 75vh;
    }
    
    .image-zoom-hint {
        bottom: 10px;
        right: 10px;
        padding: 0.45rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .image-zoom-hint svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 768px) {
    /* Timeline Section 모바일 최적화 */
    .timeline-section {
        padding: 3rem 0; /* 40px에서 증가 */
    }
    
    .timeline-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem !important; /* team-title과 동일하게 */
        margin-top: 0 !important;
    }
    
    .timeline-title::after {
        width: 60px !important;
    }
    
    .timeline-subtitle {
        font-size: 1rem;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    
    .timeline-header {
        margin-bottom: 4rem; /* 전체 헤더 하단 여백 증가 */
    }
    
    /* timeline 섹션의 헤더 컨테이너 간격 조정 */
    .timeline-section .text-center.mb-5 {
        margin-bottom: 3rem !important;
    }
    
    .timeline-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .timeline-container {
        padding: 0 1rem; /* 15px에서 증가 */
    }
    
    /* 모바일에서 중앙선 제거하고 단순한 레이아웃 */
    .timeline-container::before {
        display: none; /* 중앙선 숨김 */
    }
    
    .timeline-item {
        margin-bottom: 2.5rem; /* 40px에서 증가 */
        justify-content: flex-start !important;
        padding: 0 !important; /* 모든 패딩 제거 */
        display: block; /* 블록 레이아웃으로 변경 */
    }
    
    .timeline-marker {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 1rem;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        max-width: none;
        margin: 0;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 12px;
        background: white;
    }
    
    .timeline-date {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem;
    }
    
    .timeline-event-title {
        font-size: 1.2rem !important;
        margin-bottom: 1rem;
        cursor: pointer;
    }
    
    .timeline-details {
        margin-top: 1rem;
    }
    
    .timeline-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .timeline-description ul {
        margin-top: 1rem;
        padding-left: 1.2rem;
    }
    
    .timeline-description li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* 초소형 모바일 최적화 */
    .timeline-section {
        padding: 2rem 0;
    }
    
    .timeline-title {
        font-size: 1.6rem; /* 더 축소 */
        margin-bottom: 0.8rem !important; /* team-title과 동일하게 */
        margin-top: 0 !important;
    }
    
    .timeline-subtitle {
        font-size: 0.8rem; /* 더 축소 */
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    
    .timeline-header {
        margin-bottom: 3rem; /* 전체 헤더 하단 여백 증가 */
    }
    
    /* timeline 섹션의 헤더 컨테이너 간격 조정 */
    .timeline-section .text-center.mb-5 {
        margin-bottom: 2.5rem !important;
    }
    
    .timeline-container {
        padding: 0 0.5rem; /* 더 컴팩트 */
    }
    
    .timeline-content {
        margin: 0;
        padding: 1rem; /* 15px에서 증가 */
        border-radius: 8px;
    }
    
    .timeline-event-title {
        font-size: 1.1rem !important;
    }
    
    .timeline-description {
        font-size: 0.9rem;
    }
    
    .timeline-description li {
        font-size: 0.85rem;
    }
    
    /* To be continued 모바일 스타일 */
    .timeline-continue {
        margin-top: 80px;
    }
    
    .timeline-continue .timeline-content {
        max-width: 280px;
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .timeline-continue-text {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.25rem;
    }
    
    .timeline-dots {
        gap: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}
