body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #d6e4ff 0%, #e6f0fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    background: linear-gradient(90deg, #2c5282 0%, #5a67d8 100%);
    color: white;
    text-align: center;
    padding: 35px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.content {
    max-width: 1000px;
    padding: 40px 20px;
    text-align: center;
}

.content h2 {
    font-size: 2.2em;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 600;
}

.content p {
    color: #4a5568;
    font-size: 1.3em;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

.content p strong {
    color: #2b6cb0;
    font-weight: 600;
}

.app-section {
    margin: 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.app-section img {
    max-width: 250px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-section img:hover {
    transform: scale(1.08);
}

.app-section p {
    color: #4a5568;
    font-size: 1.2em;
    font-weight: 500;
    margin: 0;
}

.download-btn {
    background: linear-gradient(90deg, #2b6cb0 0%, #63b3ed 100%);
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.nav-links {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px;
    margin: 50px 0;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-decoration: none;
    color: #2d3748;
    border-radius: 14px;
    border: 2px solid;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-height: 90px;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    transform: translateY(-4px);
}

.nav-links .site-name {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 12px;
}

.nav-links .site-domain {
    font-size: 1.4em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 各链接的边框颜色 */
.nav-links .link-1 {
    border-color: #b91c1c;
}

.nav-links .link-1 .site-name {
    color: #7f1d1d;
}

.nav-links .link-1 .site-domain {
    color: #991b1b;
}

.nav-links .link-2 {
    border-color: #065f46;
}

.nav-links .link-2 .site-name {
    color: #134e4a;
}

.nav-links .link-2 .site-domain {
    color: #1e6a4b;
}

.nav-links .link-3 {
    border-color: #6b21a8;
}

.nav-links .link-3 .site-name {
    color: #4c1d95;
}

.nav-links .link-3 .site-domain {
    color: #6b21a8;
}

.nav-links .link-4 {
    border-color: #a16207;
}

.nav-links .link-4 .site-name {
    color: #713f12;
}

.nav-links .link-4 .site-domain {
    color: #854d0e;
}

.nav-links .link-5 {
    border-color: #be185d;
}

.nav-links .link-5 .site-name {
    color: #831843;
}

.nav-links .link-5 .site-domain {
    color: #9d174d;
}

.nav-links .link-6 {
    border-color: #1d4ed8;
}

.nav-links .link-6 .site-name {
    color: #1e3a8a;
}

.nav-links .link-6 .site-domain {
    color: #1c4a5e;
}

.nav-links .link-7 {
    border-color: #1f9e6f;
}

.nav-links .link-7 .site-name {
    color: #1a4731;
}

.nav-links .link-7 .site-domain {
    color: #276749;
}

.nav-links .link-8 {
    border-color: #7e22ce;
}

.nav-links .link-8 .site-name {
    color: #4c1d95;
}

.nav-links .link-8 .site-domain {
    color: #6b21a8;
}

.nav-links .link-9 {
    border-color: #b45309;
}

.nav-links .link-9 .site-name {
    color: #7c2d12;
}

.nav-links .link-9 .site-domain {
    color: #9a3412;
}

/* 手机端样式 */
@media (max-width: 600px) {
    body {
        min-height: 100%;
        padding-bottom: 120px;
        /* 为footer留出足够空间 */
    }

    .nav-links {
        grid-template-columns: 1fr;
        padding: 15px;
        margin: 30px 10px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links a {
        padding: 18px;
        min-height: 70px;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
        transform: translateY(0);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links .site-name {
        font-size: 1.4em;
    }

    .nav-links .site-domain {
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .content {
        padding: 30px 15px;
    }

    .content p {
        font-size: 1.1em;
    }

    .app-section {
        margin: 30px 0;
        gap: 15px;
    }

    .app-section img {
        max-width: 200px;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    footer {
        position: relative;
        padding: 20px 10px;
    }
}

/* 电脑端样式 */
@media (min-width: 769px) {
    .nav-links a {
        padding: 25px 30px;
        min-height: 100px;
        border-radius: 16px;
        background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links .site-name {
        font-size: 1.7em;
    }

    .nav-links .site-domain {
        font-size: 1.4em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

footer {
    width: 100%;
    background: linear-gradient(90deg, #2c5282 0%, #5a67d8 100%);
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: auto;
}

footer p {
    margin: 5px 0;
    font-size: 1.1em;
    font-weight: 400;
}

footer a {
    color: #e6f0fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}