/* 事件区域 */
.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
            165deg,
            transparent,
            transparent 30px,
            var(--light-gray) 30px,
            var(--light-gray) 32px
    );
    opacity: 0.2;
    z-index: 0;
}

/* 当前事件 */
.current-event-section {
    padding: 25px;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.current-event-section h2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.event-card {
    position: relative;
    z-index: 1;
}

.event-history-container {
    position: relative;
    z-index: 1;
}

.current-event-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 1.5px;
}

.event-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    border-image: var(--gradient-1) 1;
}

#event-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

#event-description {
    line-height: 1.6;
    color: var(--text-light);
    font-size: 1rem;
}

/* 事件历史 */
.event-history-section {
    flex: 1;
    padding: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.event-history-section h2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.event-history-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 1.5px;
}

.event-history-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

#event-history-list {
    list-style-type: none;
}

#event-history-list li {
    margin: 12px 0;
    padding: 15px;
    background: rgba(245, 245, 245, 0.7);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#event-history-list li p {
    margin: 8px 0 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

#event-history-list li:hover {
    background: rgba(233, 233, 233, 0.7);
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid transparent;
    border-image: var(--gradient-1) 1;
}

/* 操作按钮 */
.action-buttons {
    padding: 25px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: center;
    position: relative;
}

.action-button {
    padding: 15px 40px;
    border: 2px solid var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--text-color);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.action-button:hover::before {
    left: 100%;
    transition: left 0.5s ease-out;
}

.action-button .square-decoration {
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    border-image: var(--gradient-1) 1;
    transform: rotate(45deg);
    background: transparent;
    flex-shrink: 0;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.action-button:hover .square-decoration {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
}