/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat fixed;
    opacity: 0.1;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(15, 15, 25, 0.7);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(138, 43, 226, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at top right, rgba(138, 43, 226, 0.1), transparent 70%);
    z-index: -1;
}

header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.8), transparent);
}

/* 语言切换器样式 - 现代化设计 */
.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    gap: 8px;
    position: relative;
    padding: 5px;
    background: rgba(20, 20, 35, 0.4);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
    margin-right: -2px;
    font-size: 0.9rem;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.lang-btn.active {
    color: white;
    text-shadow: 0 1px 3px rgba(138, 43, 226, 0.5);
}

.lang-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border-radius: 25px;
    z-index: -1;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(138, 43, 226, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    }
}

/* 公司logo样式 */
.company-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.company-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(138, 43, 226, 0.3));
    transition: all 0.3s ease;
}

.company-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(138, 43, 226, 0.5));
}

header p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 游戏平台链接样式 */
.game-platforms {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.game-link-item {
    background: rgba(30, 30, 40, 0.9);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.game-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    z-index: 0;
}

.game-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.5);
}

.game-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    margin-right: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(138, 43, 226, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.game-link-item:hover .game-logo {
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3), 0 0 0 2px rgba(138, 43, 226, 0.4);
    transform: scale(1.05);
}

.game-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-link-item:hover .game-logo img {
    transform: scale(1.1);
}

.link-text {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.game-link-item:hover .link-text {
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transform: translateX(3px);
}

.login-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(138, 43, 226, 0.8);
    color: #fff;
    margin-left: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.game-link-item:hover .login-icon {
    background-color: rgba(75, 0, 130, 0.9);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.5);
}

.btn-login {
    display: inline-block;
    background: linear-gradient(90deg, #8a2be2, #4b0082);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
    margin: 8px 0;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 10; /* 提高z-index确保按钮在最上层 */
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4b0082, #8a2be2);
    transition: all 0.4s;
    z-index: -1;
}

.btn-login:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.btn-login:hover::before {
    width: 100%;
}

.btn-login:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

.btn-login i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-login:hover i {
    transform: translateX(4px);
}

/* APP安装按钮样式 */
.app-install-button {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.btn-app-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9900, #ff6600);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 153, 0, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
        transform: scale(1);
    }
}

.btn-app-install::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #ff6600, #ff9900);
    transition: all 0.4s;
    z-index: -1;
}

.btn-app-install:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.5), 0 0 20px rgba(255, 153, 0, 0.3);
    letter-spacing: 1px;
}

.btn-app-install:hover::before {
    width: 100%;
}

.btn-app-install:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

.btn-app-install i {
    margin-right: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-app-install:hover i {
    transform: translateY(-3px);
}

/* 下载弹窗样式 */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: rgba(25, 25, 35, 0.95);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #ff9900, #ff6600);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff9900;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.download-game-item {
    display: flex;
    align-items: center;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.download-game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
}

.download-game-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(138, 43, 226, 0.2);
    flex-shrink: 0;
}

.download-game-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.download-game-info {
    flex-grow: 1;
}

.download-game-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.3rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.download-btn.android {
    background: linear-gradient(135deg, #a4c639, #8aa631);
    color: #fff;
    box-shadow: 0 3px 10px rgba(164, 198, 57, 0.3);
}

.download-btn.ios {
    background: linear-gradient(135deg, #999, #666);
    color: #fff;
    box-shadow: 0 3px 10px rgba(153, 153, 153, 0.3);
}

.download-btn i {
    margin-right: 5px;
    font-size: 1rem;
}

.download-btn:hover i {
    transform: translateY(-3px);
}

/* Google Play Protect指南链接样式 */
.play-protect-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 5px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    max-width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-protect-guide:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #FF0000, #990000);
}

.play-protect-guide:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 0, 0, 0.3);
}

.play-protect-guide i {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s;
}

.play-protect-guide:hover i {
    transform: scale(1.2);
}

/* Google Play Protect指南链接样式 */
.play-protect-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 5px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    max-width: fit-content;
    text-align: center;
}

.play-protect-guide i {
    margin-right: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.play-protect-guide:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #FF0000, #990000);
}

.play-protect-guide:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 0, 0, 0.3);
}

.play-protect-guide:hover i {
    transform: scale(1.1);
}

/* 教程按钮样式 */
.tutorial-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(75, 108, 183, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    width: 100%;
}

.tutorial-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(75, 108, 183, 0.5);
    background: linear-gradient(135deg, #5d7ec0, #1e3c72);
}

.tutorial-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(75, 108, 183, 0.3);
}

.tutorial-btn i {
    margin-right: 8px;
    font-size: 1rem;
    transition: transform 0.3s;
}

.tutorial-btn:hover i {
    transform: translateY(-2px);
}

.download-btn.android:hover {
    box-shadow: 0 5px 15px rgba(164, 198, 57, 0.5);
}

.download-btn.ios:hover {
    box-shadow: 0 5px 15px rgba(153, 153, 153, 0.5);
}

/* 页脚样式 */
footer {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
    border-radius: 3px;
}

footer p {
    position: relative;
    display: inline-block;
}

footer p::before,
footer p::after {
    content: '★';
    color: rgba(138, 43, 226, 0.5);
    margin: 0 10px;
    font-size: 0.8rem;
}

/* 游戏安装教程弹窗样式 */
.tutorial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutorial-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.tutorial-content {
    background: rgba(25, 25, 35, 0.95);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(75, 108, 183, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tutorial-modal.show .tutorial-content {
    transform: translateY(0);
    opacity: 1;
}

.tutorial-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #4b6cb7, #182848);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(75, 108, 183, 0.3);
}

.close-tutorial {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-tutorial:hover {
    color: #4b6cb7;
}

.tutorial-body {
    padding: 20px;
}

.tutorial-slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tutorial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.tutorial-slide.active {
    opacity: 1;
    z-index: 1;
}

.tutorial-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tutorial-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.tutorial-nav-btn {
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tutorial-nav-btn:hover:not([disabled]) {
    background: linear-gradient(135deg, #5d7ec0, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(75, 108, 183, 0.3);
}

.tutorial-nav-btn:disabled {
    background: #333;
    cursor: not-allowed;
    opacity: 0.5;
}

.tutorial-nav-btn.prev i {
    margin-right: 5px;
}

.tutorial-nav-btn.next i {
    margin-left: 5px;
}

.tutorial-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.tutorial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tutorial-indicator.active {
    background-color: #4b6cb7;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(75, 108, 183, 0.5);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .language-switcher {
        margin-bottom: 15px;
    }
    
    .lang-btn {
        padding: 4px 10px;
        font-size: 0.85rem;
    }
    .container {
        max-width: 95%;
        padding: 30px;
    }
    
    .game-platforms {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 25px;
    }
    
    .company-logo img {
        max-width: 250px;
    }
    
    .game-card {
        width: 280px;
        height: 330px;
    }
}

@media (max-width: 768px) {
    /* Google Play Protect指南链接响应式样式 */
    .play-protect-guide {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin: 12px auto 5px;
    }
    
    .play-protect-guide i {
        font-size: 1.1rem;
    }
    
    /* 教程弹窗响应式样式 */
    .tutorial-content {
        width: 95%;
        max-width: 600px;
    }
    
    .tutorial-slides {
        height: 350px;
    }
    
    .tutorial-header h2 {
        font-size: 1.5rem;
    }
    
    .tutorial-nav-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .tutorial-btn {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 20px;
    }
    
    /* 响应式语言切换器 */
    .language-switcher {
        margin-bottom: 12px;
        gap: 6px;
        padding: 4px;
    }
    
    .lang-icon {
        font-size: 0.85rem;
        margin-right: -1px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .company-logo img {
        max-width: 200px;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .game-platforms {
        max-width: 95%;
    }
    
    .game-links-list {
        gap: 12px;
    }
    
    .game-link-item {
        padding: 8px 15px;
    }
    
    .game-logo {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .link-text {
        font-size: 1rem;
    }
    
    .login-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    /* 语言切换器小屏幕响应式样式 */
    .language-switcher {
        margin-bottom: 15px;
        gap: 3px;
        padding: 3px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .lang-icon {
        font-size: 0.8rem;
        margin-right: 0;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
    
    /* 倒计时覆盖层响应式样式 */
    .countdown-content {
        padding: 20px;
        width: 300px;
    }
    
    .countdown-message {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .countdown-timer {
        font-size: 2.5rem;
    }
    
    .countdown-close {
        top: 3px;
        right: 8px;
        font-size: 22px;
        width: 26px;
        height: 26px;
    }
    
    /* Google Play Protect指南链接响应式样式 */
    .play-protect-guide {
        font-size: 0.8rem;
        padding: 6px 10px;
        margin: 10px auto 5px;
    }
    
    .play-protect-guide i {
        font-size: 1rem;
    }
    
    /* 教程弹窗响应式样式 */
    .tutorial-slides {
        height: 300px;
    }
    
    .tutorial-header h2 {
        font-size: 1.3rem;
    }
    
    .tutorial-nav-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .tutorial-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tutorial-indicators {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
        border-radius: 15px;
    }
    
    header {
        margin-bottom: 30px;
    }
    
    .language-switcher {
        margin-bottom: 10px;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 3px 7px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .company-logo img {
        max-width: 180px;
    }
    
    .btn-app-install {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .download-game-item {
        padding: 12px;
    }
    
    .download-game-logo {
        width: 50px;
        height: 50px;
    }
    
    .download-game-info h3 {
        font-size: 1.1rem;
    }
    
    .download-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .game-platforms {
        max-width: 100%;
    }
    
    .game-links-list {
        gap: 10px;
    }
    
    .game-link-item {
        padding: 8px 12px;
        border-radius: 40px;
    }
    
    .game-logo {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .link-text {
        font-size: 0.9rem;
    }
    
    .login-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    footer p::before,
    footer p::after {
        margin: 0 5px;
    }
}

@media (max-width: 380px) {
    /* 倒计时覆盖层最小屏幕响应式样式 */
    .countdown-content {
        padding: 15px;
        width: 250px;
    }
    
    .countdown-message {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .countdown-timer {
        font-size: 2rem;
    }
    
    .countdown-close {
        top: 2px;
        right: 6px;
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    
    /* Google Play Protect指南链接响应式样式 */
    .play-protect-guide {
        font-size: 0.75rem;
        padding: 5px 8px;
        margin: 8px auto 5px;
    }
    
    .play-protect-guide i {
        font-size: 0.9rem;
        margin-right: 5px;
    }
    
    /* 教程弹窗响应式样式 */
    .tutorial-slides {
        height: 250px;
    }
    
    .tutorial-body {
        padding: 15px 10px;
    }
    
    .tutorial-header {
        padding: 15px;
    }
    
    .tutorial-header h2 {
        font-size: 1.2rem;
    }
    
    .tutorial-nav-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .tutorial-indicator {
        width: 8px;
        height: 8px;
    }
    
    .language-switcher {
        margin-bottom: 8px;
        gap: 2px;
        padding: 3px;
        max-width: 98%;
        border-radius: 25px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    }
    
    .lang-icon {
        font-size: 0.7rem;
        margin-right: 0;
        margin-left: 3px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
        letter-spacing: 0.2px;
        border-radius: 20px;
    }
    
    .lang-btn.active::before {
        box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    .company-logo img {
        max-width: 150px;
    }
    
    .game-link-item {
        padding: 6px 10px;
        border-radius: 30px;
    }
    
    .game-logo {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .link-text {
        font-size: 0.85rem;
    }
    
    .login-icon {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

/* 倒计时覆盖层样式 */
.countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.countdown-content {
    background: linear-gradient(135deg, #302b63, #24243e);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 350px;
    animation: scaleIn 0.3s ease;
    position: relative;
}

.countdown-message {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: bold;
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    animation: pulse 1s infinite;
}

.countdown-close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.countdown-close:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .game-link-item {
        transition: all 0.2s ease;
    }
    
    .game-link-item:active {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .login-icon {
        transition: all 0.2s ease;
    }
    
    .login-icon:active {
        background-color: rgba(75, 0, 130, 0.8);
        transform: scale(1.1);
    }
    
    /* 添加触摸反馈效果 */
    .game-link-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 2;
    }
    
    .game-link-item:active::after {
        opacity: 1;
    }
}