/* Shadowrocket Theme - Refined Modern Minimalist Skeleton */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #ffffff;
}

html {
    min-height: 100%;
}

body {
    font-size: 14px;
    text-align: center;
    background: #2b1f4d linear-gradient(-225deg, #a3c9ff 0%, #68488c 48%, #2b1e4a 100%) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 15px;
}

main {
    flex: 1;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
}

/* Logo Badge */
#logo {
    margin: 20px auto 25px auto;
}

#logo a {
    display: block;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: #ffffff url('static/icon.webp') no-repeat center center;
    background-size: 125px 125px;
    opacity: 0.95;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(163, 201, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#logo a:hover {
    opacity: 1.0;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38), 0 0 35px rgba(163, 201, 255, 0.55);
}

h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

h3 {
    font-size: 17px;
    font-weight: 400;
    color: #f1edff;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 28px auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Feature Chips */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Action Button Area */
.action-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #3b2361;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-primary svg {
    fill: #3b2361;
    width: 20px;
    height: 20px;
}

.btn-primary:hover {
    background: #f7f5ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Guide / Info Section */
.guide-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 24px 28px;
    max-width: 680px;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.guide-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-card ol {
    margin-left: 20px;
    line-height: 1.8;
}

.guide-card ol li {
    color: #f1edff;
    font-size: 14px;
    margin-bottom: 6px;
}

.guide-card ol li strong {
    color: #ffffff;
}

.version-meta {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0 20px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.version-item {
    font-size: 13px;
    color: #eee;
}

.version-item span {
    color: #fff;
    font-weight: 600;
}

/* Footer Section */
footer {
    padding: 20px 0 10px 0;
}

footer section ul {
    margin: 0;
    padding: 0;
}

footer section ul li {
    display: inline-block;
    list-style: none;
}

footer section ul li a {
    color: #e5e0f5;
    margin: 0 10px;
    text-decoration: underline dotted;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s ease;
}

footer section ul li a:hover {
    color: #ffffff;
}

#copyright {
    color: #d1cae8;
    font-size: 12px;
    margin-top: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    #logo a {
        width: 140px;
        height: 140px;
        background-size: 100px 100px;
    }
    h1 {
        font-size: 28px;
    }
    h3 {
        font-size: 15px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
@media (max-width: 880px) {
    .nav-links, .nav-menu {
        display: none !important;
    }
}
