@font-face {
    font-family: 'UKIJEkran';
    src: url('../fonts/UKIJEkran.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 骨架屏样式 - 优化首屏加载体验 */
.background {
    background-color: #000;
}

.logo, .logo2, .mmmmm, .year {
    will-change: transform;
}

/* 优化动画性能 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'UKIJEkran';
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}


body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: black;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100;
}

.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.logo {
    width: 120px;
    height: auto;
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.logo2 {
    width: 300px;
    height: auto;
    position: fixed;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.mmmmm {
    width: 250px;
    height: auto;
    position: fixed;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: fadeInDown 1.4s ease-out, float 3s ease-in-out infinite;
}

.year {
    width: 100px;
    height: auto;
    position: fixed;
    top: 40%;
    left: 69%;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: fadeInDown2 1.6s ease-out, float2 4s ease-in-out infinite;
}

.download-section {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 10;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-width: 180px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.download-btn.android {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb968 100%);
}

.download-btn.android:hover {
    background: linear-gradient(135deg, #4ef092 0%, #32d177 100%);
}

.download-btn.ios {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    border: 2px solid rgba(255,255,255,0.4);
}

.download-btn.ios:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
    border-color: rgba(255,255,255,0.6);
}

/* PC下载按钮，仅在PC端显示 */
.download-btn.pc {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border: 2px solid rgba(255,255,255,0.35);
    display: none;
}
.download-btn.pc:hover {
    background: linear-gradient(135deg, #22b6f0 0%, #5898ff 100%);
    border-color: rgba(255,255,255,0.55);
}

/* TV下载按钮，仅在PC端显示 */
.download-btn.tv {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: 2px solid rgba(255,255,255,0.35);
    display: none;
}
.download-btn.tv:hover {
    background: linear-gradient(135deg, #9f6dff 0%, #bb68ff 100%);
    border-color: rgba(255,255,255,0.55);
}

.download-btn .icon {
    font-size: 12px;
}

.download-btn .text {
    font-weight: 200;
    letter-spacing: 0.5px;
}


/* IOS提示框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 70% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
    color: #ff6b6b;
    margin-top: 0;
    font-size: 24px;
}

.modal-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #333;
}

.ok-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.ok-btn:hover {
    background-color: #45a049;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -80%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -20%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(80%, -50%);
    }
    to {
        opacity: 1;
        transform: translate(50%, -50%);
    }
}

@keyframes fadeInDown2 {
    from {
        opacity: 0;
        transform: translate(50%, -80%);
    }
    to {
        opacity: 1;
        transform: translate(50%, -50%);
    }
}

@keyframes fadeInUp2 {
    from {
        opacity: 0;
        transform: translate(50%, -20%);
    }
    to {
        opacity: 1;
        transform: translate(50%, -50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(50%, -50%) translateY(-15px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes floatSlow2 {
    0%, 100% {
        transform: translate(50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(50%, -50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(50%, -50%) scale(1);
    }
    50% {
        transform: translate(50%, -50%) scale(1.05);
    }
}

@keyframes rotate360 {
    from {
        transform: translate(50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(50%, -50%) rotate(360deg);
    }
}

/* 响应式设计 */

/* 手机端默认样式 (767px 以下) */
@media screen and (max-width: 767px) {
    .logo,
    .logo2,
    .mmmmm,
    .year {
        position: fixed !important;
    }
    
    .logo {
        width: 120px;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo2 {
        width: 170px;
        top: 27%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mmmmm {
        width: 215px;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .year {
        width: 90px;
        top: 38%;
        left: 45%;
        transform: translate(-50%, -50%);
    }
    
    .download-section {
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 平板设备 (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .logo {
        width: 150px;
        top: 12%;
        position: fixed;
    }
    
    .logo2 {
        width: 230px;
        top: 25%;
        position: fixed;
    }
    
    .mmmmm {
        width: 235px;
        top: 57%;
        position: fixed;
    }
    
    .year {
        width: 90px;
        top: 38%;
        left: 47%;
        position: fixed;
    }
    
    .download-section {
        bottom: 80px;
        gap: 30px;
    }
    
    .download-btn {
        padding: 20px 8px;
        font-size: 20px;
        min-width: 200px;
    }
    
    .modal-content {
        margin: 30% auto;
        width: 70%;
        max-width: 500px;
    }
}

/* 电脑端 (1025px 及以上) */
@media screen and (min-width: 1025px) {
    body {
        display: block;
        padding: 0;
    }
    
    .background {
        object-fit: cover;
        max-width: 100%;
        width: 100%;
        height: 100vh;
        left: 0;
        transform: none;
    }
    
.pc-stage {
        position: relative;
        width: 1280px;
        height: 800px;
        margin: 0 auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo {
        width: 150px;
        position: absolute;
        top: 120px;
        left: 205px;
        transform: none;
    }
    
    .logo2 {
        width: 350px;
        position: absolute;
        top: 260px;
        left: 120px;
        right: auto;
        transform: none;
    }
    
    .mmmmm {
        width: 400px;
        position: absolute;
        top: 50%;
        right: 120px;
        left: auto;
        transform: translateY(-50%);
    }
    
    .year {
        width: 134px;
        position: absolute;
        top: 110px;
        right: 134px;
        left: auto;
        transform: none;
    }
    
    .download-section {
        position: absolute;
        bottom: 80px;
        left: 30px;
        top: auto;
        transform: none;
        gap: 35px;
    }
    
    .download-btn {
        padding: 22px 28px;
        font-size: 18px;
        min-width: 220px;
    }

    .download-btn.pc,
    .download-btn.tv {
        display: flex;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 450px;
    }
    
    /* 电脑端动画调整 */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: translateY(-50%);
        }
    }
    
    @keyframes fadeInDown2 {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(-50%) translateY(0px);
        }
        50% {
            transform: translateY(-50%) translateY(-15px);
        }
    }
    
    @keyframes float2 {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-15px);
        }
    }
}

/* 超大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) {
    .logo {
        width: 165px;
        left: 234px;
        top: 120px;
    }
    
    .logo2 {
        width: 380px;
        left: 150px;
        top: 270px;
    }
    
    .mmmmm {
        width: 380px;
        right: 10px;
    }
    
    .year {
        width: 140px;
        right: 18px;
        top: 120px;
    }
    
    .download-section {
        left: -120px;
    }
    
    .download-btn {
        padding: 24px 30px;
        font-size: 19px;
        min-width: 240px;
    }
}

/* 手机端优化 */
@media screen and (max-width: 600px) {
    .logo {
        position: fixed;
    }
    
    .logo2 {
        position: fixed;
    }
    
    .mmmmm {
        position: fixed;
    }
    
    .year {
        position: fixed;
    }
    
    .modal-content {
        width: 90%;
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .modal-content p {
        font-size: 14px;
    }
}

@media screen and (max-width: 375px) {
    .logo {
        width: 100px;
        position: fixed;
    }
    
    .logo2 {
        width: 170px;
        position: fixed;
    }
    
    .mmmmm {
        width: 195px;
        position: fixed;
    }
    
    .year {
        width: 85px;
        position: fixed;
    }
    
    .download-section {
        bottom: 40px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        padding: 15px 10px;
        font-size: 14px;
        min-width: 160px;
    }
}



