* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", serif;
    background-color: #eef2e9;
    background-image: radial-gradient(#dde3d8 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 20px;
    min-height: 100vh;
    letter-spacing: 0.4px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin: 30px 0 12px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

.page-desc {
    text-align: center;
    color: #57606f;
    margin-bottom: 48px;
    font-size: 15px;
    line-height: 1.6;
}

.subject-item {
    background-color: #fffef8;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 3px 10px rgba(80,70,60,0.12), 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e8e2d5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.subject-item:hover {
    box-shadow: 0 6px 18px rgba(80,70,60,0.18);
}

.subject-header {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.subject-header:hover {
    background-color: #f8f4e8;
    border-bottom-color: #e8e2d5;
}

.subject-header h3 {
    font-size: 21px;
    color: #34495e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.new-tag {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(231,76,60,0.3);
}

.arrow {
    color: #7f8c8d;
    font-size: 16px;
    transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
}

.exam-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25,0.8,0.25,1);
}

.exam-inner {
    padding: 0 26px 26px;
}

.exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    padding-top: 20px;
}

.exam-btn {
    display: block;
    background: #faf6ec;
    color: #2c3e50;
    text-align: center;
    padding: 22px 16px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #e0d8c8;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.exam-btn strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}

.exam-btn small {
    font-size: 13px;
    color: #636e72;
    font-weight: 400;
}

.exam-btn:hover {
    background: #4a6c8c;
    color: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(74,108,140,0.25);
    border-color: #4a6c8c;
}

.exam-btn:hover small {
    color: #dfe6e9;
}

.footer {
    text-align: center;
    margin-top: 60px;
    color: #747d8c;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .subject-header h3 {
        font-size: 19px;
    }
    .subject-header {
        padding: 18px 20px;
    }
}
.notice-bar {
    background: #fff9e6;
    border: 1px solid #f3dcb2;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #7d5e3b;
    position: relative;
}
.notice-icon {
    font-size: 16px;
}
.notice-text {
    flex: 1;
    line-height: 1.5;
}
.notice-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
}
.notice-close:hover {
    color: #e74c3c;
}