/* 全局样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 合作伙伴部分 */
.partner-section {
    margin-top: 30px;
    padding: 0 15px;
}

.partner-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(0, 150, 136, 0.1);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 150, 136, 0.3);
}

.card-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    background: #e0f2f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #00695c;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logo {
    margin-bottom: 15px;
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.bonus-info {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
}

.deposit-info {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.deposit-flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-button {
    width: 100%;
    padding: 12px 0;
    background: #00897b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 15px;
}

.play-button:hover {
    background: #00695c;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.payment-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 版权信息 */
.copyright {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* 联系方式选择对话框样式 */
.contact-choice-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.choice-dialog-content {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.choice-dialog-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.contact-choices {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.contact-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    width: 45%;
}

.contact-choice-btn i {
    font-size: 32px;
    margin-bottom: 10px;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.telegram-btn {
    background-color: #0088cc;
}

.telegram-btn:hover {
    background-color: #0077b5;
}

.choice-dialog-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.choice-dialog-close:hover {
    color: #fff;
}

/* Telegram联系管理员按钮样式 */
.telegram-contact {
    position: fixed;
    top: 20px;
    left: 20px; /* 从right改为left，避免与语言切换器重叠 */
    z-index: 1000;
}

.telegram-contact {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(135deg, #26a69a, #00796b);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.telegram-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #4db6ac, #00897b);
}

.telegram-contact i {
    margin-right: 8px;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #004d40, #00796b, #009688);
    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, 35, 30, 0.7);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 150, 136, 0.2);
    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(0, 150, 136, 0.15), 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(0, 150, 136, 0.8), transparent);
}

/* 语言切换器样式 - 国旗设计 */
.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    gap: 12px;
    position: relative;
    padding: 8px 12px;
    background: rgba(0, 77, 64, 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(0, 150, 136, 0.2);
}

.lang-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
    margin-right: 5px;
    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;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

/* 国旗按钮样式 */
.flag-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flag-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.lang-btn:hover .flag-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.lang-btn.active .flag-icon {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.lang-btn.active::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    background: linear-gradient(135deg, #0277bd, #1a237e);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 188, 212, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
        opacity: 1;
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
        opacity: 0.8;
    }
}

/* 许可证图片样式 */
.license-images {
    display: flex;
    justify-content: center;
    align-items: center; /* 确保垂直居中 */
    margin-bottom: 15px;
    gap: 15px;
}

.license-img {
    max-width: 80px; /* 减小图片的最大宽度 */
    height: 40px; /* 设置固定高度 */
    object-fit: contain; /* 确保图片比例正确 */
    filter: drop-shadow(0 3px 10px rgba(0, 188, 212, 0.3));
    transition: all 0.3s ease;
}

.license-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(0, 188, 212, 0.5));
}


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

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

/* 放在Pussy888上方的合作伙伴卡片样式 */
.partner-card-top {
    margin: 0 auto 20px auto;
    max-width: 350px;
    width: 100%;
}

.game-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
}

.game-link-item {
    background: rgba(25, 35, 45, 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(0, 188, 212, 0.3);
    width: calc(50% - 8px); /* 每行两个，考虑间距 */
    box-sizing: border-box;
    min-width: 0; /* 允许缩小 */
}

/* 小屏幕设备上的游戏链接样式调整 */
@media (max-width: 480px) {
    .game-link-item {
        padding: 8px 15px;
    }
    
    .game-logo {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .link-text {
        font-size: 0.9rem;
    }
    
    .login-icon {
        width: 32px;
        height: 32px;
    }
}

.game-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.1), rgba(2, 119, 189, 0.1));
    z-index: 0;
}

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

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

.game-link-item:hover .game-logo {
    box-shadow: 0 6px 15px rgba(0, 188, 212, 0.3), 0 0 0 2px rgba(0, 188, 212, 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: 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;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 188, 212, 0.8);
    color: #fff;
    margin-left: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.game-link-item:hover .login-icon {
    background-color: rgba(2, 119, 189, 0.9);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.5);
}

.btn-login {
    display: inline-block;
    background: linear-gradient(90deg, #0277bd, #1a237e);
    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(0, 188, 212, 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, #1a237e, #0277bd);
    transition: all 0.4s;
    z-index: -1;
}

.btn-login:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.5), 0 0 20px rgba(0, 188, 212, 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(30, 144, 255, 0.3);
}

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

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

/* 管理员联系按钮样式 */
.btn-admin-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    color: #fff;
    padding: 12px 15px; /* 减小左右内边距 */
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem; /* 稍微减小字体大小 */
    position: relative;
    overflow: hidden;
    z-index: 10;
    flex: 1; /* 允许按钮伸缩 */
    min-width: 0; /* 允许按钮缩小 */
    white-space: nowrap; /* 防止文本换行 */
}

.btn-admin-contact i {
    margin-right: 8px;
}

/* APP安装按钮样式 */
.app-install-button {
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
        gap: 15px;
        flex-wrap: nowrap; /* 防止按钮换行 */
        width: 100%;
        max-width: 100%;
    }

.btn-app-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00bfff, #0088cc);
    color: #fff;
    padding: 12px 15px; /* 减小左右内边距 */
    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(0, 153, 255, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem; /* 稍微减小字体大小 */
    position: relative;
    overflow: hidden;
    z-index: 10;
    animation: pulse 2s infinite;
    flex: 1; /* 允许按钮伸缩 */
    min-width: 0; /* 允许按钮缩小 */
    white-space: nowrap; /* 防止文本换行 */
}

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

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

.btn-app-install:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 89, 255, 0.5), 0 0 20px rgba(255, 140, 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(0, 191, 255, 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(15, 25, 40, 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(0, 188, 212, 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, #00bcd4, #0277bd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
}

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

.close-modal:hover {
    color: #00bcd4;
}

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

.download-game-item {
    display: flex;
    align-items: center;
    background: rgba(25, 35, 45, 0.7);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    transition: all 0.3s ease;
}

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

.download-game-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(0, 188, 212, 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;
    margin-top: 10px;
    justify-content: flex-start;
}

.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;
    margin-right: 5px;
    margin-bottom: 5px;
    min-width: 110px;
    justify-content: center;
}

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

.download-btn.android:hover {
    background: linear-gradient(135deg, #8aa631, #a4c639);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 198, 57, 0.5);
}

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

.download-btn.ios:hover {
    background: linear-gradient(135deg, #666, #999);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(153, 153, 153, 0.5);
}

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

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

.tutorial-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 5px;
    margin-bottom: 5px;
    min-width: 110px;
    justify-content: center;
    background: linear-gradient(135deg, #00bcd4, #0277bd);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3);
    border: none;
    cursor: pointer;
}

.tutorial-btn:hover {
    background: linear-gradient(135deg, #0277bd, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.5);
}

/* Google Play Protect指南链接样式 */
.play-protect-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    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 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    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;
    }
}

/* Telegram按钮响应式样式 */
@media (max-width: 480px) {
    .contact-admin-button {
        top: 10px;
        left: 10px; /* 从right改为left，避免与语言切换器重叠 */
    }
    
    .telegram-contact {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .telegram-contact i {
        font-size: 14px;
    }
}

@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;
    }
    
    .license-images {
        gap: 8px;
    }
    
    .license-img {
        max-width: 75px;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    .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 15px;
    }
    
    .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;
    }
    
    .license-images {
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .license-img {
        max-width: 70px;
    }
    
    .btn-app-install, .btn-admin-contact {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .app-install-button {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .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: 0.8rem;
    }
    
    .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: 25px;
        height: 25px;
        font-size: 0.7rem;
        margin-left: 3px; /* 减少与文本的间距 */
    }
    
    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: 36px; /* 增加点击区域宽度 */
        height: 36px; /* 增加点击区域高度 */
        padding: 8px; /* 增加内边距扩大点击区域 */
    }
    
    /* 游戏链接在超小屏幕上的优化 */
    .game-link-item {
        padding: 5px 8px;
        border-radius: 25px;
        min-width: 0; /* 允许元素收缩 */
        width: 100%; /* 确保占满容器宽度 */
        display: flex;
        justify-content: space-between; /* 两端对齐 */
        align-items: center;
    }
    
    /* 游戏链接文本在超小屏幕上的优化 */
    .link-text {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 45px); /* 留出图标和登录按钮的空间 */
    }
    
    /* 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);
    }
    
    .license-images {
        gap: 10px;
    }
    
    .license-img {
        max-width: 80px;
    }
    
    .game-link-item {
        padding: 6px 10px;
        border-radius: 30px;
    }
    
    .game-logo {
        width: 30px;
        height: 30px;
        margin-right: 6px;
    }
    
    .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, #1a237e, #0277bd);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 188, 212, 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: #4fc3f7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 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: 40px; /* 增加点击区域宽度 */
    height: 40px; /* 增加点击区域高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 10px; /* 增加内边距扩大点击区域 */
    box-sizing: border-box; /* 确保内边距不会增加元素总大小 */
    z-index: 10; /* 确保按钮在最上层 */
}

.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;
    }
}