.container {
    padding: 20px;
    padding-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 20px;
    padding-left: 5px;
}

.header-title {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-family: 'Times New Roman', serif;
}

.header-subtitle {
    display: block;
    font-size: 14px;
    color: var(--text-sub);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 轮播图 */
.banner-section {
    width: 100%;
    margin-bottom: 25px;
    perspective: 1000px;
}

.banner-swiper {
    height: 190px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    height: 100%;
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
}

.banner-card {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-float);
    flex-shrink: 0;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.swiper-pagination-bullet.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

/* 公告栏 */
.notice-section {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 30px;
    border-radius: 50px;
}

.notice-icon-box {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.notice-emoji {
    font-size: 16px;
}

.notice-swiper {
    flex: 1;
    height: 22px;
    overflow: hidden;
    position: relative;
}

.notice-wrapper {
    transition: transform 0.5s ease;
}

.notice-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 22px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 杂志列表 */
.books-section {
    padding: 0;
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.section-title-en {
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.6;
}

.section-title-cn {
    font-size: 20px;
    color: var(--text-main);
    font-weight: 800;
    margin-top: 3px;
}

/* Grid Layout */
.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

.book-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-card:active {
    transform: scale(0.98);
}

.book-cover-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 6px 12px 12px 6px;
    box-shadow: var(--shadow-float);
    margin-bottom: 12px;
    perspective: 600px;
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover-wrapper {
    transform: rotateY(-5deg);
}

.book-cover {
    width: 100%;
    height: 100%;
    border-radius: 6px 12px 12px 6px;
    z-index: 2;
    position: relative;
    object-fit: cover;
}

/* Book Spine Visual */
.book-spine {
    position: absolute;
    left: 0;
    top: 2%;
    height: 96%;
    width: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(0,0,0,0.1));
    z-index: 3;
    border-radius: 2px 0 0 2px;
}

/* Book Shadow Effect */
.book-shadow {
    position: absolute;
    right: 2px;
    top: 3px;
    width: 98%;
    height: 98%;
    background: #fff;
    border-radius: 6px 12px 12px 6px;
    z-index: 1;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.book-info {
    padding: 0 5px;
}

.book-name {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
