* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #fff700;
	background: #890909;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></svg>');
    z-index: -1;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部DIY区域 - Logo和网站名称 */
.header-diy {
    background: linear-gradient(120deg, #ff0000 0%, #ff0000 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: -19px;
}

.header-diy::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 500%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo {
    width: 90px;
    height: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo i {
    font-size: 40px;
    color: #c62f2f;
}

.site-name {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #d8ff00;
}

.site-tagline {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
    font-weight: 300;
    color: #fff900; 
}

/* 图片下载区域 */
.download-diy {
	/* background:url(mir/Images/bg.png) */
    background: #890909;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-diy::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,197.3C672,192,768,160,864,149.3C960,139,1056,149,1152,165.3C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: 1;
}

.section-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ff8400;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #c62f2f, #d44949);
    border-radius: 2px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 55px;
    margin-top: 8px;
}

.download-item {
    background: #a91010;
    border-radius: 9px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ff0000;
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.download-img {
    height: 200px;
    background: linear-gradient(45deg, #6a85b6, #bac8e0); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26rem;
}

.download-info {
    padding: 20px;
    text-align: center;
}

.download-info h3 {
    margin-bottom: -93px;
    color: #000000;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(to right, #c62f2f, #d44949);
    color: white;
    padding: 21px 0px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 47, 47, 0.3);
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(198, 47, 47, 0.4);
}

/* 图片展示区域 */
.gallery-diy {
    background: #6e0505;
    border-radius: 10px;
    padding: 5px 5px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.gallery-item:nth-child(odd) {
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
}

.gallery-item:nth-child(even) {
    background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
}

.gallery-item:nth-child(3n) {
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
}

.gallery-item:nth-child(5n) {
    background: linear-gradient(45deg, #84fab0, #8fd3f4);
}

.about-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border-left: 5px solid #c62f2f;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(120deg, #c62f2f 0%, #d44949 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* 装饰点 */
.decorative-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(198, 47, 47, 0.2);
}

.dot:nth-child(2n) {
    background: rgba(212, 73, 73, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .site-name {
        font-size: 2.2rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .gallery-item {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
