/* 全屏按钮 */
.fullscreen-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.fullscreen-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

.fullscreen-icon {
    font-size: 24px;
    color: white;
    display: block;
}

/* 全屏模式样式 */
.container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    z-index: 9999 !important;
    overflow: hidden !important;
}

.container.fullscreen .fullscreen-btn {
    bottom: 30px;
    left: 30px;
}

.container.fullscreen .main-content {
    height: calc(100vh - 40px) !important;
}

.container.fullscreen .left-sidebar,
.container.fullscreen .left-section,
.container.fullscreen .main-area,
.container.fullscreen .article-section,
.container.fullscreen .right-sidebar,
.container.fullscreen .sidebar {
    height: calc(100vh - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    position: static !important;
}

/* 隐藏导航栏 */
.container.fullscreen ~ #navbar-container,
body.fullscreen-mode #navbar-container {
    display: none !important;
}

body.fullscreen-mode {
    overflow: hidden;
}

