* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a120a 0%, #1a2e1a 50%, #163e16 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.nav-sidebar {
    width: calc(100% * 2 / 15);
    background: rgba(20, 35, 20, 0.9);
    border-right: 1px solid rgba(0, 255, 100, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    position: relative;
}

.nav-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #00ff66, #00aa44, #00ff66);
}

.logo {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.logo h1 {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, #00ff66, #00aa44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo p {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    padding: 0 15px;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-item a {
    display: block;
    padding: 15px 20px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
}

.nav-item a:hover {
    color: #00ff66;
    background: rgba(0, 255, 100, 0.1);
    transform: translateX(5px);
}

.nav-item.active a {
    color: #00ff66;
    background: rgba(0, 255, 100, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.1);
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
}

.dropdown {
    position: relative;
}

.dropdown-submenu {
    display: none;
    list-style: none;
    background: rgba(10, 25, 10, 0.95);
    margin-top: 3px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.dropdown-submenu li {
    padding: 0;
}

.dropdown-submenu li a {
    padding: 12px 20px 12px 40px;
    font-size: 12px;
    color: #999;
}

.dropdown-submenu li a:hover {
    color: #00ff66;
    background: rgba(0, 255, 100, 0.1);
}

.dropdown:hover .dropdown-submenu {
    display: block;
}

.dropdown-toggle::after {
    content: '▼';
    float: right;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.main-content {
    width: calc(100% * 10 / 15);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 10, 21, 0.8);
}

.main-image {
    max-width: 100%;
    max-height: 100%;
   width: auto;
    height: 100;

    object-fit: contain;
    transition: opacity 0.5s ease;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.content-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-left: 3px solid #00ff66;
    border-radius: 5px;
}

.content-overlay h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.content-overlay p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.carousel-container {
    width: calc(100% * 3 / 15);
    background: rgba(15, 25, 15, 0.8);
    border-left: 1px solid rgba(0, 255, 100, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.carousel-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 100, 0.2);
}

.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 50, 0.1), rgba(0, 255, 100, 0.1));
}

.carousel-item img {
    width: 100%;
    height: 40%;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.carousel-btn {
    background: rgba(0, 255, 100, 0.2);
    border: 1px solid rgba(0, 255, 100, 0.4);
    color: #00ff66;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 255, 100, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.3);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
    transform: scale(1.2);
}

.carousel-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #00ff66;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 255, 100, 0.3);
    padding-bottom: 10px;
}

.subpage-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.subpage-sidebar {
    width: calc(100% * 2 / 15);
    background: rgba(20, 35, 20, 0.9);
    border-right: 1px solid rgba(0, 255, 100, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    position: relative;
}

.subpage-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #00ff66, #00aa44, #00ff66);
}

.subpage-sidebar .logo {
    margin-bottom: 40px;
}

.subpage-sidebar .nav-menu {
    padding: 0 10px;
}

.subpage-content {
    width: calc(100% * 13 / 15);
    position: relative;
    overflow: hidden;
    background: rgba(5, 10, 21, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-image {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease;
    cursor: zoom-in;  /* 鼠标显示放大镜效果 */
}

/* 图片放大模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow: hidden;
    cursor: grab;
}

.modal-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.modal-image {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.modal-image-container.dragging {
    cursor: grabbing;
    transition: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #00bfff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #00ffff;
}

.subpage-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, transparent 30%);
    pointer-events: none;
}

.back-link {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 100, 0.15);
    border: 1px solid rgba(0, 255, 100, 0.3);
    color: #00ff66;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-link:hover {
    background: rgba(0, 255, 100, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.3);
}

.page-title {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 24px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 5px;
    border-left: 3px solid #00ff66;
    z-index: 10;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 100, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 100, 0.6); }
}

.nav-item.active a {
    animation: glow 2s ease-in-out infinite;
}