/* 截图画廊样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"HM","Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f2e9;
    color: #333;
}

.header {
    background: linear-gradient(120deg, #c0392b, #e74c3c);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.intro {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.intro h2 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-left: 4px solid #c0392b;
    padding-left: 1rem;
}

.intro p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card ul {
    list-style: none;
    line-height: 1.7;
}

.feature-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card li::before {
    content: "•";
    color: #c0392b;
    position: absolute;
    left: 0;
}

.download {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.download h2 {
    color: #c0392b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.download-btn {
    display: inline-block;
    background-color: #c0392b;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #a43122;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 3px solid #c0392b;
}

.gallery-caption {
    padding: 1.2rem;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
}

/* 适配移动端 */
@media (max-width: 768px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }
}
@font-face {
  font-family: 'HM'; /* 自定义字体名，可修改 */
  src: url('1.ttf') format('truetype'); /* 重点：format为truetype */
  font-weight: normal; /* 字重，按需改bold/500等 */
  font-style: normal;
  font-display: swap; /* 避免加载时文字闪烁，必加 */
  font-family: sans-serif; /* 兜底，防止字体加载失败 */
}