/* 现代化软件下载中心样式 */
/* 使用现代配色方案和设计理念   #667eea */

* {
    list-style: none;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
    overflow-x: hidden;
}

/* 链接样式重置 */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:link, a:visited, a:active, a:focus {
    text-decoration: none;
}

/* 粒子背景 */
#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

/* 主容器 */
.container {
    position: relative;
    top: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: #ffffff;
    z-index: 1;
}

/* 头部样式 */
.header {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1::before {
    content: "🍊 ";
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.header h1 i {
    margin-right: 0.5rem;
    color: #4fc3f7;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 300;
}

/* 内容区域 */
.content {
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 安全提示区域 */
.a-main {
    margin: 0 auto;
    width: 100%;
    height: auto;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.a-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.4);
}

.a-main i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #ffffff;
}

.a-main h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #ffffff;
    font-weight: 500;
    display: inline;
}

/* 链接项目 */
.g-main {
    margin: 0 auto;
    width: 100%;
    height: auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out both;
}

.g-main:nth-child(2) { animation-delay: 0.6s; }
.g-main:nth-child(3) { animation-delay: 0.7s; }
.g-main:nth-child(4) { animation-delay: 0.8s; }
.g-main:nth-child(5) { animation-delay: 0.9s; }
.g-main:nth-child(6) { animation-delay: 1.0s; }

.g-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 左侧内容 */
.wz-main {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.software-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.g-main:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #4fc3f7;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.g-main strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.g-main strong em {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: normal;
    margin: 0;
    font-weight: 400;
}

/* 下载按钮样式 */
.g-main span {
    margin: 0;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    line-height: 1;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    white-space: nowrap;
}

.g-main span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049, #4caf50);
}

.g-main a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.g-main a i {
    font-size: 0.9rem;
}

/* 友情链接样式 */
.friend-links {
    margin: 2rem auto;
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 1.0s both;
}

.friend-links-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.friend-links h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.friend-links h3 i {
    color: #4fc3f7;
    font-size: 1.1rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.links-grid a {
    display: block;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.links-grid a:hover {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

/* 页脚样式 */
.floot {
    padding: 2rem 0;
    text-align: center;
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer-content p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #4fc3f7;
    text-decoration: underline;
}

.footer-content i {
    margin-right: 0.3rem;
    color: #4fc3f7;
}

.footer-desc {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        top: 1rem;
        width: 95%;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .a-main {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .a-main h3 {
        font-size: 1.1rem;
    }
    
    .g-main {
        padding: 1rem;
        border-radius: 12px;
        flex-direction: row;
        gap: 1rem;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }
    
    .wz-main {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
    }
    
    .icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .software-icon {
        width: 35px;
        height: 35px;
        object-fit: cover;
        object-position: center;
    }
    
    .g-main strong {
        font-size: 1rem;
    }
    
    .g-main em {
        font-size: 0.85rem;
    }
    
    .g-main span {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        top: 0.5rem;
        width: 98%;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .a-main {
        padding: 0.8rem;
    }
    
    .a-main h3 {
        font-size: 1rem;
    }
    
    .g-main {
        padding: 0.8rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .wz-main {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .software-icon {
        width: 30px;
        height: 30px;
        object-fit: cover;
        object-position: center;
    }
    
    .g-main strong {
        font-size: 0.95rem;
    }
    
    .g-main em {
        font-size: 0.8rem;
    }
    
    .g-main span {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* 移动端友情链接样式 */
    .friend-links {
        margin: 1.5rem auto;
        width: 95%;
    }
    
    .friend-links-content {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .friend-links h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.6rem;
    }
    
    .links-grid a {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}