@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 50px 20px;
    padding-bottom: 80px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.big-title-center {
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 2rem;
    line-height: 1.3;
}

.yqlj {
    margin: 20px auto;
    max-width: 90%;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
}

.yqlj-content {
    position: relative;
    z-index: 2;
    padding: 10px;
}

.yqlj a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.yqlj a:hover {
    text-decoration: underline;
}

.big-title {
  font-size: 2rem;       /* 和 H1 一样大 */
  font-weight: bold;     /* 加粗 */
  margin: 1em 0;         /* 调整上下边距 */
  line-height: 1.3;      /* 行高 */
  color: #333;           /* 颜色 */
}

/* ===== SPLASH样式 ===== */
.splash {
    position: absolute;
    top: 40px;
    right: 50px;
    transform: skewX(-25deg) rotate(-15deg);
    color: yellow;
    font-family: 'Press Start 2P', 'Microsoft YaHei', sans-serif;
    font-size: 18px;
    animation: splash-pulse 0.8s infinite;
    pointer-events: none;
    text-shadow: 2px 2px #000;
    z-index: 999;
    will-change: transform;
    backface-visibility: hidden;
    transition: opacity 0.1s ease;
    white-space: nowrap;
}

@keyframes splash-pulse {

    0%,
    100% {
        transform: skewX(-25deg) rotate(-15deg) scale(1);
    }

    50% {
        transform: skewX(-25deg) rotate(-15deg) scale(1.15);
    }
}

.splash-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 字体大小自适应 */
.splash[data-text-length="7"],
.splash[data-text-length="8"],
.splash[data-text-length="9"],
.splash[data-text-length="10"] {
    font-size: 18px;
}

.splash[data-text-length="11"],
.splash[data-text-length="12"],
.splash[data-text-length="13"],
.splash[data-text-length="14"],
.splash[data-text-length="15"] {
    font-size: 16px;
}

.splash[data-text-length="16"],
.splash[data-text-length="17"],
.splash[data-text-length="18"],
.splash[data-text-length="19"],
.splash[data-text-length="20"] {
    font-size: 14px;
}

.splash[data-text-length="21"],
.splash[data-text-length="22"],
.splash[data-text-length="23"],
.splash[data-text-length="24"],
.splash[data-text-length="25"] {
    font-size: 13px;
}

.splash[data-text-length="26"],
.splash[data-text-length="27"],
.splash[data-text-length="28"],
.splash[data-text-length="29"],
.splash[data-text-length="30"] {
    font-size: 12px;
}

#version-info {
    margin: 20px 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#version-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

#version-info p {
    margin: 10px 0;
    line-height: 1.5;
    color: #555;
}

#version-info strong {
    color: #333;
    font-weight: bold;
    min-width: 80px;
    display: inline-block;
}

#version-info a {
    color: #0066cc;
    text-decoration: none;
    font-weight: normal;
}

#version-info a:hover {
    text-decoration: underline;
}

/* 版本号样式 */
.version-normal {
    color: #0066cc;
    font-weight: bold;
    font-family: monospace;
    background: none;
    padding: 0;
}

.version-error {
    color: #dc3545;
    font-weight: bold;
    font-family: monospace;
    background: none;
    padding: 0;
}

.version-loading {
    color: #6c757d;
    font-style: italic;
    animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
    #version-info h3 {
        font-size: 1.1rem;
    }
    
    #version-info p {
        font-size: 0.9rem;
    }
}