.section-navigation {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 5px;
}

.section-navigation.visible {
    opacity: 1;
    visibility: visible;
}

.nav-container {
    display: flex;
    gap: 5px;
    padding: 5px;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 50px;
    background: transparent;
    white-space: nowrap;
}

.dot-navigation a::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover {
    color: var(--kakao-yellow);
    background: rgba(254, 229, 0, 0.1);
}

.nav-item.active {
    color: #000;
    background: var(--kakao-yellow);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .section-navigation {
        bottom: 20px;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .nav-container {
        gap: 3px;
    }
}

/* 섹션별 도트 색상 통일 */
.dot-navigation a {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 활성 섹션 도트 스타일 */
.section-01 .dot-navigation a.active,
.section-02 .dot-navigation a.active,
.section-03 .dot-navigation a.active,
.section-04 .dot-navigation a.active,
.section-05 .dot-navigation a.active,
.section-06 .dot-navigation a.active,
.section-07 .dot-navigation a.active {
    background-color: var(--kakao-yellow);
    border-color: var(--kakao-yellow);
    box-shadow: 0 0 15px rgba(254, 229, 0, 0.3);
}

.dot-label {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot-navigation a:hover + .dot-label {
    opacity: 1;
    visibility: visible;
    right: 35px;
}

/* 호버 효과 개선 */
.dot-navigation li:hover a::before {
    opacity: 1;
    visibility: visible;
}

/* 애니메이션 효과 */
@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dot-navigation a.active {
    animation: dotPulse 2s infinite;
}

@media screen and (max-width: 768px) {
    .dot-navigation {
        right: 20px;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
        padding: 10px 6px;
    }
    
    .dot-navigation a {
        width: 10px;
        height: 10px;
        margin: 3px 0;
    }

    .dot-navigation ul {
        gap: 12px;
    }
}
