:root {
    background-color: #111;
    font-family: 'Courier New', Courier, monospace;
}
::-webkit-scrollbar{
    background-color: #111;
}
::-webkit-scrollbar-thumb{
    background-color: #666;
}
::-webkit-scrollbar-thumb:hover{
    background-color: #777;
}
::-webkit-scrollbar-thumb:active{
    background-color: #555;
}
/* 全局响应式设计规则 */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}
.page-updateVersion{
    font-weight: bolder;
    font-size:xx-large;
}
.page-updateDate{
    font-size:large;
    color: #eeeeee88;
}
/* 蓝图背景效果 */
body {
    position: relative;
    overflow-x: hidden;
}

.blueprint-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background:
        linear-gradient(90deg, #12181c11 10px, transparent 10px),
        linear-gradient(#12181c11 10px, transparent 10px);
    background-size: 50px 50px;
    animation: blueprintMove 20s linear infinite;
}

@keyframes blueprintMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* 打字机效果 */
.slogan {
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 70px;
    font-weight: bold;
    text-shadow: 10px 10px 20px #111;
    white-space: nowrap;
    border-right: 3px solid #0099ff;
    display: inline-block;
    animation: blink-caret 0.75s step-end infinite;
    width: 0;
    overflow: hidden;
    will-change: width;
    transition: width 1.6s cubic-bezier(0.76, 0, 0.42, 0.99), border-right 0.3s ease;
}

.slogan span {
    display: inline-block;
}

.slogan.typing-done {
    border-right: none;
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: #0099ff
    }
}

.tab {
    display: flex;
    position: fixed;
    background-color: #222;
    width: 100%;
    margin: 0;
    left: 0;
    top: 0;
    height: 50px;
    padding: 10px 0;
    justify-content: space-between;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}



@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 页面容器 */
.page {
    min-height: calc(100vh - 50px);
    padding-top: 50px;
    animation: fadeIn 0.4s ease-out;
    width: 100%;
    overflow-x: hidden; /* 防止水平滚动条 */
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* 页面标题 */
.page-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin: 60px 0 30px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

}

.page-placeholder {
    color: #aaa;
    font-size: 24px;
    text-align: center;
    padding: 40px;
}

/* 日志页面 */
.changelog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 下载页面 */
.download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}



/* 仓库页面 */

.repository-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#tabLogo {
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 30px;
}

.tabButtonTab {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 40px;
    height: 100%;
}

.tabButton {
    background-color: #00000000;
    color: #eee;
    border: 0;
    height: 100%;
    width: 50px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.tabButton:hover {
    background-color: #333;
}

.titleShow {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
    height: 1000px;
}

.LogoTitle {
    margin-top: 160px;
    width: 400px;
    max-width: 90%;
    height: auto;
}



.TitleShowPho {
    width: 70%;
    max-width: 100%;
    height: auto;
    position: relative;
    left: 0;
    transform: rotateX(10deg) translateZ(-20px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.1s ease-out, left 0.3s ease, width 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    will-change: transform;
    object-fit: contain;
}

.TitleShowPho:hover {
    transform: rotateX(15deg) translateZ(-10px);
}

.p3d {
    z-index: -1;
    position: absolute;
    perspective: 1200px;
    width: 80%;
    max-width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
    transition: width 0.3s ease, padding-top 0.6s ease;
}

.titleF {
    color: #eee;
    display: flex;
    justify-content: right;
    font-size: xx-large;
    font-weight: bold;
    margin-right: 40px;
}

.titleFintor {
    color: #eee;
    display: flex;
    justify-content: right;
    font-size: large;
    margin-right: 80px;
}

.features {
    height: 800px;
}

.backgroundF {
    background-color: #00000055;
    z-index: -10;
    width: 100%;
    height: 880px;
    margin-top: -80px;
    position: absolute;
}

.featureCards {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 50px;
    padding: 0 40px;
    position: relative;
}

.featureCard {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background-color: #222;
    border-radius: 15px;
    padding: 30px;
    width: 30%;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    word-wrap: break-word; /* 防止文字溢出 */
    word-break: break-word; /* 防止长单词溢出 */
}

.featureCard:hover {
    width: 30%;
    height: 200px;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background-color: #2a2a2a;
    z-index: 10;
}

.featureTitle {
    color: #eee;
    font-size: large;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1;
    text-align: right;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.featureCard:hover .featureTitle {
    top: 20px;
    transform: translateY(0);
}

.featureDesc {
    color: #aaa;
    font-size: medium;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    margin-top: 20px;
    pointer-events: none;
}

.featureCard:hover .featureDesc {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.OnlineButton,
.DesktopButton {
    width: 120px;
    border: 0;
    height: 40px;
    font-size: large;
    margin: 10px;
    margin-top: 20px;
    border-radius: 10px;
    transition: filter 0.3s ease;
    min-height: 44px; /* 确保触摸目标足够大 */
}

.OnlineButton {
    background-color: #0099ff;
    color: #eee;
}

.OnlineButton:hover,
.DesktopButton:hover {
    filter: brightness(1.2);
}

.OnlineButton:active,
.DesktopButton:active {
    filter: brightness(0.8);
}

.DesktopButton {
    background-color: #111;
    color: #eee;
}
.page-updateList{
    color: #eee;
}
.Update {
    margin-top: 200px;
    margin-bottom: 500px;
}

.updateT {
    color: #eee;
    display: flex;
    justify-content: center;
    font-size: xx-large;
    font-weight: bold;
}

.updateTIn {
    color: #eee;
    display: flex;
    justify-content: center;
    font-size: large;
}

.UpdateC {
    position: relative;
    background-color: #000000bb;
    border-radius: 10px;
    color: #eee;
    justify-content: center;
    width: 60%;
    margin: 20px auto;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.updatelist{
    margin: 0 30px;
}
.ubgd {
    width: 100%;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: -1;
}

.ubg {
    width: auto;
    height: 100%;
    margin-top: -200px;
    filter: blur(2px);
    opacity: 0.8;
}

.end {
    padding: 60px;
    margin: 0;
    margin-top: 100px;
    background-color: #222;
    left: 0;
    width: 100%;
    min-height: 100px;
    top: 0;
}

body {
    margin: 0 !important;
}

.endlogo {
    width: 200px;
    height: auto;
}

.introend {
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: small;
}

.end {
    display: flex;
    justify-content: space-between;
}

.endby {
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: x-large;
}

.link {
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: x-large;
}

small {
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: right;
    margin-right: 80px;
}

.iconLink {
    width: 20px;
    height: 20px;
}

.iconLinkB {
    margin: 10px;
}

.footer {
    background-color: #222;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: #eee;
    display: flex;
    justify-content: center;
}
.footerT{
    font-size: small;
}

@media (max-width: 1200px) {
    .LogoTitle {
        width: 300px;
    }

    .featureCard {
        width: 40%;
    }

    .featureCard:hover {
        width: 40%;
    }
}

@media (max-width: 1024px) {
    .LogoTitle {
        width: 250px;
    }

    .slogan {
        font-size: 50px;
    }

    .featureCards {
        padding: 0 20px;
    }

    .featureCard {
        width: 45%;
    }

    .featureCard:hover {
        width: 45%;
    }

    .titleF {
        font-size: x-large;
        margin-right: 20px;
    }

    .titleFintor {
        margin-right: 40px;
    }

    .updateTL {
        margin-left: 30%;
        margin-right: 30%;
    }
}

@media (max-width: 768px) {
    #tabLogo {
        height: 30px;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 20px;
    }

    .tabButtonTab {
        margin-right: 20px;
    }

    .tabButton {
        width: auto;
        min-width: 60px;
        font-size: 14px;
        padding: 0 8px;
    }
    //Fuck 换行给我等着
    .slogan {
        font-size: 36px;
        width: 100%;
        text-align: center;
        margin: 20px 0;
        word-wrap: break-word;
    }

    .slogan span {
        display: inline-block;
    }

    .LogoTitle {
        width: 200px;
        margin-top: 100px;
    }

    .p3d {
        width: 90%;
        margin-top: 100px;
        height: 400px;
    }

    .TitleShowPho {
        width: 100%;
        height: auto;
    }

    .titleShow {
        padding-top: 50px;
        height: 700px;
    }

    .OnlineButton,
    .DesktopButton {
        width: 100px;
        font-size: 16px;
    }

    .features {
        height: auto;
        min-height: 600px;
    }

    .backgroundF {
        height: 700px;
        margin-top: -40px;
    }

    .featureCards {
        align-items: center;
    }

    .featureCard {
        width: 80%;
        margin: 10px 0;
    }

    .featureCard:hover {
        width: 80%;
        height: auto;
        min-height: 200px;
    }

    .featureTitle {
        transform: none;
        text-align: center;
        top: 20px;
    }

    .featureCard:hover .featureTitle {
        position: static;
        top: auto;
        transform: none;
    }

    .featureDesc {
        text-align: center;
        padding: 0 10px;
    }

    .titleF {
        font-size: large;
        justify-content: center;
        margin-right: 0;
    }

    .titleFintor {
        font-size: medium;
        justify-content: center;
        margin-right: 0;
    }

    .Update {
        margin-top: 100px;
        height: auto;
        min-height: 500px;
    }

    .updateT {
        font-size: x-large;
    }

    .updateTIn {
        font-size: medium;
    }

    .updateTL {
        margin-left: 10%;
        margin-right: 10%;
    }

    .ubg {
        width: 100%;
        height: auto;
        max-height: 400px;
        margin-top: -100px;
    }

    .end {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }

    .endlogo {
        width: 150px;
    }

    .link {
        margin-top: 20px;
    }

    small {
        justify-content: center;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 5px 0;
        height: 45px;
    }

    .tabButtonTab {
        margin-right: 10px;
    }

    .tabButton {
        min-width: 50px;
        font-size: 12px;
        padding: 0 5px;
        width: auto;
    }

    .slogan {
        font-size: 24px;
        line-height: 1.4;
        text-shadow: 5px 5px 10px #111; /* 在小屏幕上减小阴影 */
    }

    .LogoTitle {
        width: 150px;
        margin-top: 60px;
    }

    .p3d {
        margin-top: 80px;
        height: 300px;
    }

    .titleShow {
        padding-top: 30px;
        height: 600px;
        padding-bottom: 20px;
    }

    .OnlineButton,
    .DesktopButton {
        width: 120px;
        height: 35px;
        font-size: 14px;
        margin: 5px;
    }

    .featureCard {
        width: 90%;
        padding: 20px;
    }

    .featureCard:hover {
        width: 90%;
        height: auto;
        min-height: 150px;
    }

    .titleF {
        font-size: medium;
        padding: 0 10px;
    }

    .titleFintor {
        font-size: small;
        padding: 0 10px;
    }

    .backgroundF {
        height: 600px;
        margin-top: -20px;
    }

    .features {
        min-height: 500px;
    }

    .page-title {
        font-size: 28px; /* 进一步减小标题字体 */
        margin: 40px 0 20px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    .page-placeholder {
        font-size: 18px;
        padding: 20px;
    }

    .updateT {
        font-size: large;
    }

    .updateTIn {
        font-size: small;
    }

    .updateTL {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 14px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .ubg {
        margin-top: -80px;
    }

    .end {
        padding: 30px 15px;
    }

    .endlogo {
        width: 120px;
    }

    .endby {
        font-size: medium;
    }

    .link {
        font-size: medium;
    }

    .introend {
        font-size: 11px; /* 进一步减小文字 */
        line-height: 1.5;
    }

    .footerT {
        font-size: 9px; /* 进一步减小 */
    }
}

/* 超小屏幕优化 */
@media (max-width: 320px) {
    .slogan {
        font-size: 20px;
    }
    
    .LogoTitle {
        width: 120px;
    }
    
    .OnlineButton,
    .DesktopButton {
        width: 100px;
        font-size: 12px;
    }
    
    .featureCard {
        width: 95%;
    }
    
    .featureCard:hover {
        width: 95%;
    }
}