.navigationbg {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: #f1f1f1;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem 1rem;
overflow-x: hidden;
}
.container {
width: 100%;
max-width: 1560px;
}

header {
text-align: center;
margin-bottom: 3rem;
position: relative;
}

.header-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.0rem;
}

.title-link {
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
}

.title-link:hover {
transform: translateY(-3px);
}

h1 {
font-size: 2.8rem;
color: #feca57;
margin-bottom: 0.5rem;
position: relative;
padding: 0 1.5rem;
font-weight: 700;
}

.title-link:hover h1 {
color: #ff9f43;
}

h1::before, h1::after {
content: "";
position: absolute;
top: 50%;
width: 50px;
height: 3px;
background: #feca57;
transform: translateY(-50%);
opacity: 0;
transition: all 0.3s ease;
}

h1::before {
left: -20px;
}

h1::after {
right: -20px;
}

.title-link:hover h1::before,
.title-link:hover h1::after {
opacity: 1;
width: 80px;
}

.title-link:hover h1::before {
left: -40px;
}

.title-link:hover h1::after {
right: -40px;
}

.subtitle {
font-size: 1.2rem;
color: #a0aec0;
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
position: relative;
padding: 0 1.0rem;
}

.subtitle::before {
content: "「";
position: absolute;
left: 0;
top: -5px;
color: #feca57;
font-size: 1.5rem;
}

.subtitle::after {
content: "」";
position: absolute;
right: 0;
top: -5px;
color: #feca57;
font-size: 1.5rem;
}

/* Navigation组件样式 */
.navigation {
display: flex;
height:560px;
width: 100%;
border-radius:12px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
position: relative;
touch-action: pan-y;
}

.navigation-item {
position: relative;
flex: 1;
overflow: hidden;
cursor: pointer;
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 2rem;
filter: brightness(0.7);
min-width: 60px;
border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation-item:last-child {
border-right: none;
}

.navigation-item.active {
flex: 3;
filter: brightness(1);
box-shadow: inset 0 0 0 3px rgba(254, 202, 87, 0.3);
}

.navigation-item:hover:not(.active) {
flex: 1.5;
filter: brightness(0.9);
}

.item-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
z-index: -1;
}

.navigation-item.active .item-bg {
transform: scale(1.05);
}

.item-content {
transform: translateY(100px);
opacity: 0;
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
transition-delay: 0.2s;
}

.navigation-item.active .item-content {
transform: translateY(0);
opacity: 1;
}

.item-title {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
}

.item-title h2 {
font-size: 2.2rem;
margin-right: 15px;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
color: #feca57;
font-weight: 700;
}

.item-title span {
font-size: 1rem;
background: rgba(254, 202, 87, 0.2);
padding: 0.3rem 1rem;
border-radius: 20px;
backdrop-filter: blur(5px);
border: 1px solid rgba(254, 202, 87, 0.3);
color: #feca57;
font-weight: 500;
}

.item-description {
font-size: 1.1rem;
line-height: 1.8;
max-width: 500px;
background: rgba(0, 0, 0, 0.7);
padding: 1.8rem;
border-radius: 12px;
backdrop-filter: blur(10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
border-left: 4px solid #feca57;
position: relative;
color: #e2e8f0;
}

.item-description::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, transparent 95%, rgba(254, 202, 87, 0.1) 100%);
border-radius: 12px;
pointer-events: none;
}

.item-number {
position: absolute;
top: 1.5rem;
left: 1.5rem;
font-size: 1.2rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.3);
z-index: 1;
}

.mobile-controls {
display: none;
justify-content: center;
margin-top: 2rem;
gap: 15px;
}

.mobile-controls button {
background: rgba(254, 202, 87, 0.1);
border: none;
color: #feca57;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
transition: all 0.3s;
backdrop-filter: blur(5px);
border: 1px solid rgba(254, 202, 87, 0.3);
display: flex;
align-items: center;
justify-content: center;
}

.mobile-controls button:hover {
background: rgba(254, 202, 87, 0.2);
transform: scale(1.1);
box-shadow: 0 5px 15px rgba(254, 202, 87, 0.2);
}

.indicators {
display: flex;
justify-content: center;
margin-top: 2.5rem;
gap: 12px;
}

.indicator {
width: 14px;
height: 14px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
cursor: pointer;
transition: all 0.3s;
border: 2px solid transparent;
position: relative;
}

.indicator.active {
background: #feca57;
transform: scale(1.3);
box-shadow: 0 0 10px rgba(254, 202, 87, 0.5);
}

.indicator::after {
content: "";
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
border-radius: 50%;
border: 1px solid rgba(254, 202, 87, 0);
transition: all 0.3s;
}

.indicator:hover::after {
border-color: rgba(254, 202, 87, 0.5);
}

.counter {
position: absolute;
top: 2rem;
right: 2rem;
font-size: 1rem;
background: rgba(0, 0, 0, 0.5);
padding: 0.5rem 1rem;
border-radius: 20px;
backdrop-filter: blur(5px);
color: #feca57;
font-weight: 500;
z-index: 10;
display: none;
}

/* 移动端优化样式 */
.mobile-instruction {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
padding: 15px;
z-index: 10;
display: none;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
backdrop-filter: blur(5px);
}

.mobile-instruction i {
margin: 0 5px;
color: #feca57;
}

@media (max-width: 992px) {
.navigation {
height: 500px;
}

.item-title h2 {
font-size: 1.8rem;
}

.item-description {
font-size: 1rem;
}

h1 {
font-size: 2.4rem;
}

.subtitle {
font-size: 1.1rem;
}
}

@media (max-width: 768px) {
.navigation {
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
height: 450px;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}

.navigation::-webkit-scrollbar {
display: none;
}

.navigation {
-ms-overflow-style: none;
scrollbar-width: none;
}

.navigation-item {
flex: 0 0 85%;
min-width: 85%;
scroll-snap-align: center;
margin-right: 2.5%;
transition: transform 0.3s ease;
padding: 1.5rem;
}

.navigation-item:last-child {
margin-right: 2.5%;
}

.navigation-item.active {
flex: 0 0 85%;
transform: scale(1.02);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(254, 202, 87, 0.3);
}

.item-title {
margin-bottom: 1rem;
}

.item-title h2 {
font-size: 1.6rem;
}

.item-description {
padding: 1.2rem;
font-size: 0.95rem;
line-height: 1.6;
}

/* 移动端显示左右箭头 */
.mobile-controls {
display: flex;
}

/* 移动端隐藏原点指示器 */
.indicators {
display: none;
}

.mobile-instruction {
display: block;
}

.counter {
display: block;
top: 1rem;
right: 1rem;
}

h1 {
font-size: 2rem;
}

.subtitle {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.navigation {
height: 400px;
}

.navigation-item {
flex: 0 0 92%;
min-width: 92%;
padding: 1.2rem;
}

.navigation-item.active {
flex: 0 0 92%;
}

.item-title h2 {
font-size: 1.4rem;
}

.item-title span {
font-size: 0.9rem;
padding: 0.2rem 0.8rem;
}

.item-description {
padding: 1rem;
font-size: 0.9rem;
}

h1 {
font-size: 1.8rem;
}

.subtitle {
font-size: 0.95rem;
}
}

/* 移动端导航状态指示器 */
.mobile-nav-indicator {
display: none;
justify-content: center;
align-items: center;
margin-top: 1.5rem;
gap: 10px;
font-size: 0.9rem;
color: #a0aec0;
}

.mobile-nav-indicator .current {
color: #feca57;
font-weight: bold;
font-size: 1.1rem;
}

.mobile-nav-indicator .total {
color: #718096;
}

@media (max-width: 768px) {
.mobile-nav-indicator {
display: flex;
}
}