* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #333;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px 0;
}

header {
    background: linear-gradient(90deg, #2c3e50, #4a69bd);
    color: white;
    padding: 25px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.update-container {
    padding: 20px;
}

.version {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.version summary {
    padding: 18px 20px;
    background: #4a69bd;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.version summary:hover {
    background: #3c58a8;
}

.version summary::-webkit-details-marker {
    display: none;
}

.version summary::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.version[open] summary::after {
    transform: rotate(180deg);
}

.version-content {
    padding: 0 20px;
    background: #f8f9fa;
    border-left: 5px solid #4a69bd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.version[open] .version-content {
    max-height: 1000px;
    padding: 20px;
}

.update-item {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.version[open] .update-item {
    opacity: 1;
    transform: translateY(0);
}

.version[open] .update-item:nth-child(1) { transition-delay: 0.1s; }
.version[open] .update-item:nth-child(2) { transition-delay: 0.15s; }
.version[open] .update-item:nth-child(3) { transition-delay: 0.2s; }
.version[open] .update-item:nth-child(4) { transition-delay: 0.25s; }
.version[open] .update-item:nth-child(5) { transition-delay: 0.3s; }
.version[open] .update-item:nth-child(6) { transition-delay: 0.35s; }
.version[open] .update-item:nth-child(7) { transition-delay: 0.4s; }
.version[open] .update-item:nth-child(8) { transition-delay: 0.45s; }
.version[open] .update-item:nth-child(9) { transition-delay: 0.5s; }
.version[open] .update-item:nth-child(10) { transition-delay: 0.55s; }

.fix::before {
    content: "[修复] ";
    color: #e74c3c;
    font-weight: bold;
}

.add::before {
    content: "[增加] ";
    color: #27ae60;
    font-weight: bold;
}

.optimize::before {
    content: "[优化] ";
    color: #f39c12;
    font-weight: bold;
}

.delete::before {
    content: "[删除] ";
    color: #3498db;
    font-weight: bold;
}

.other::before {
    content: "[其它] ";
    color: #3498db;
    font-weight: bold;
}

.note {
    color: #7f8c8d;
    font-style: italic;
    margin-left: 10px;
}

.category {
    font-weight: bold;
    color: #2c3e50;
    margin-top: 15px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #bdc3c7;
}

.author-notes {
    background: #2c3e50;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.author-notes h2 {
    margin-bottom: 15px;
    text-align: center;
    color: #fdbb2d;
}

.notes-list {
    list-style-type: none;
}

.notes-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.notes-list li::before {
    content: "\f058";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fdbb2d;
    position: absolute;
    left: 0;
}

footer {
    text-align: center;
    margin-top: 20px;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.controls button {
    padding: 8px 15px;
    background: #4a69bd;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.controls button:hover {
    background: #3c58a8;
}

@media (max-width: 768px) {
    .container {
border-radius: 10px;
    }
    
    h1 {
font-size: 2rem;
    }
    
.version summary {
font-size: 1.1rem;
padding: 15px;
}
    
.controls {
flex-direction: column;
}
}

/* 添加分支选择器样式 */
.branch-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.branch-btn {
    padding: 12px 20px;
    background: #34495e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

.branch-btn:hover {
    background: #4a69bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.branch-btn.active {
    background: #fdbb2d;
    color: #2c3e50;
    box-shadow: 0 4px 12px rgba(253, 187, 45, 0.4);
}

.branch-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.branch-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #bdc3c7;
}

.coming-soon i {
    font-size: 3rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.coming-soon h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.coming-soon p {
    color: #7f8c8d;
    font-size: 1.1rem;
}