* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 50%, #c2e9fb 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1800px;
    overflow-wrap: anywhere;
    margin: 0 auto;
    padding: clamp(12px, 2.4vw, 32px);
}

/* 顶部Banner */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(28px, 4vw, 50px) clamp(16px, 3vw, 36px);
    text-align: center;
    border-radius: 16px;
    margin-bottom: clamp(20px, 3vw, 32px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header h1 {
    font-size: clamp(26px, 4vw, 42px);
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.header .subtitle {
    font-size: clamp(15px, 2vw, 18px);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.header .tag-line {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* 版本下载区 */
.version-section {
    margin-bottom: clamp(24px, 3.4vw, 40px);
}

.section-title {
    font-size: clamp(20px, 2.5vw, 26px);
    color: #2c3e50;
    margin-bottom: clamp(14px, 2vw, 24px);
    padding-left: 18px;
    border-left: 6px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 30px;
}

.version-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

@media (max-width: 959px) {
    .version-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
    .version-cards { grid-template-columns: minmax(0, 1fr); }
}

.version-card {
    min-width: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.card-header {
    padding: clamp(20px, 2.5vw, 30px) clamp(14px, 2vw, 22px);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}


.card-forest { --card-gradient: linear-gradient(135deg, #12594d, #287646); }
.card-amber { --card-gradient: linear-gradient(135deg, #86430c, #92680c); }
.card-sunset { --card-gradient: linear-gradient(135deg, #ad411c, #9a3a47); }
.card-indigo { --card-gradient: linear-gradient(135deg, #393987, #365ea1); }
.card-slate { --card-gradient: linear-gradient(135deg, #343841, #526273); }
.card-teal { --card-gradient: linear-gradient(135deg, #155468, #07796f); }
.version-card .card-header, .version-card .btn-download.primary {
    background: var(--card-gradient);
}

.card-60 .card-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-70 .card-header {
    background: linear-gradient(135deg, #4facfe 0%, #1d393b 100%);
}

.card-86 .card-header {
    background: linear-gradient(135deg, #f5576c 0%, #667eea 100%);
}

.card-header .version-number {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.card-header .version-desc {
    font-size: 15px;
    opacity: 0.95;
}

.card-header .version-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 12px;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    font-size: 12px;
}

.card-body {
    padding: clamp(14px, 1.8vw, 22px);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-download {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-60 .btn-download.primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-70 .btn-download.primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-86 .btn-download.primary {
    background: linear-gradient(135deg, #43e97b 0%, #00af91 100%);
}

.btn-download.secondary {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #e0e0e0;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    filter: brightness(1.05);
}

.btn-download.secondary:hover {
    background: #f0f0f5;
    color: #333;
}

/* 公告栏 */
.notice-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
    padding: clamp(18px, 2.5vw, 30px);
    margin-bottom: clamp(24px, 3.4vw, 40px);
    box-shadow: 0 6px 20px rgba(252, 182, 159, 0.3);
}

.notice-section h3 {
    color: #d97706;
    margin-bottom: 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notice-section p {
    color: #92400e;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 6px;
}

.notice-section p:last-child {
    margin-bottom: 0;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: clamp(18px, 3vw, 35px);
    color: #666;
    font-size: 14px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.footer p {
    margin-bottom: 8px;
}

.footer .links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px clamp(12px, 2vw, 20px);
    flex-wrap: wrap;
}

.footer .links a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
}

.footer .links a:hover {
    text-decoration: underline;
}

.btn-download[aria-disabled] { cursor: default; transform: none; box-shadow: none; }
.footer .links span { color: #667eea; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
