/* 注意：字体定义已在 pokergpt/static/css/main.da39236d.css 中，无需重复定义 */

/* 标签页切换样式 */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* 标签页激活状态 */
.adm-tabs-tab {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
}

.adm-tabs-tab:hover {
    opacity: 0.8;
}

/* 标签页容器居中 */
.adm-tabs-tab-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    padding: 0 12px !important;
}

/* 标签页列表布局 */
.adm-tabs-tab-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* iOS步骤序号对齐修复 - 使序号与标题文字基线对齐 */
.downloadWrap1 .adm-step-icon-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.downloadWrap1 .adm-steps-vertical .adm-step .adm-step-indicator .adm-step-icon-container {
    /* 重置原有的居中定位 */
    top: 0 !important;
    transform: translate(-50%, 0) !important;
    /* 向下微调，使圆圈中心与标题第一行文字中心对齐 */
    
}

.downloadWrap1 .adm-steps-vertical .adm-step .adm-step-content {
    padding-top: 0 !important;
}

.downloadWrap1 .adm-steps-vertical .adm-step .adm-step-content .adm-step-title {
    line-height: 1.5 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 邀请码样式 */
.invite-code-box {
    background: linear-gradient(135deg, #2ebe68 0%, #158241 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(46, 190, 104, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.invite-code-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    font-family: MyCustomFont, sans-serif !important;
    margin-bottom: 0.5rem;
}

.invite-code-value {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    font-family: math;
    letter-spacing: 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0 auto;
    width: fit-content;
}

/* 邀请码复制按钮增强 */
.downloadWrap1 .copyWrap {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.downloadWrap1 .copyWrap:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffc111;
    transform: translateY(-2px);
}

.downloadWrap1 .copyWrap:active {
    transform: translateY(0);
}

/* 安卓下载卡片样式 */
.android-download-card {
    background: linear-gradient(180deg, #00333d, #1d3b2e 100%);
    border: 0.7px solid #459fb8;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.android-download-card ol {
    padding-left: 1.5rem;
    margin: 0;
}

.android-download-card ol li {
    margin-bottom: 0.8rem;
}

/* 右侧浮动客服图标 */
.customer-service-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-icon span {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.service-icon:hover span {
    opacity: 1;
    right: 75px;
}

/* 客服弹窗样式 */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

.service-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-modal-content {
    background-color: #2c2b3b;
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 400px;
    width: 85%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.service-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

#serviceModalBody {
    text-align: center;
    color: #fff;
}

#serviceModalBody h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: MyCustomFontWeight, sans-serif !important;
}

#serviceModalBody img {
    max-width: 200px;
    width: 100%;
    margin: 15px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#serviceModalBody p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0;
    font-family: MyCustomFont, sans-serif !important;
}

.modal-account-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.modal-account-id {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2ebe68;
    margin-top: 8px;
    word-break: break-all;
    font-family: MyCustomFontWeight, sans-serif !important;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 3000;
    display: none;
    animation: toastFadeIn 0.3s ease;
}

.toast.show {
    display: block;
}

@keyframes toastFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .customer-service-float {
        right: 15px;
        bottom: 80px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .service-modal-content {
        padding: 25px 15px;
        width: 90%;
        max-width: 90%;
        margin: 0 5%;
    }
    
    #serviceModalBody h3 {
        font-size: 1.3rem;
    }
    
    #serviceModalBody img {
        max-width: 180px;
    }
    
    #serviceModalBody p {
        font-size: 0.9rem;
    }
    
    .modal-account-info {
        padding: 15px;
    }
    
    .modal-account-id {
        font-size: 1.1rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .service-modal-content {
        padding: 20px 12px;
        width: 92%;
        max-width: 92%;
        margin: 0 4%;
    }
    
    #serviceModalBody h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    #serviceModalBody img {
        max-width: 160px;
        margin: 12px auto;
    }
    
    #serviceModalBody p {
        font-size: 0.85rem;
    }
    
    .modal-account-info {
        padding: 12px;
    }
    
    .modal-account-id {
        font-size: 1rem;
        word-break: break-all;
    }
    
    .service-modal-close {
        right: 15px;
        top: 15px;
        font-size: 1.5rem;
    }
    
    /* 邀请码在小屏幕上的优化 */
    .invite-code-value {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }
    
    .invite-code-box {
        padding: 1rem;
    }
}

/* 点击效果 */
.descDownBtn:active,
.downloadBtn:active {
    transform: scale(0.95);
}

/* 链接样式 */
.agencyDesc a {
    color: #eef7f2;
    text-decoration: none;
    border-bottom: 1px solid #2ebe68;
    transition: all 0.3s ease;
}

.agencyDesc a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* 复制按钮样式增强 */
.copyWrap {
    cursor: pointer;
    transition: all 0.3s ease;
}

.copyWrap:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

.copyWrap:active {
    transform: scale(0.95);
}

/* 下载链接样式增强 */
.downloadUrl {
    transition: all 0.3s ease;
}

.downloadUrl:hover {
    background: #3c3c4c;
    transform: translateX(2px);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 安卓下载按钮特殊样式 */
.android-download-card .descDownBtn {
    background: linear-gradient(180deg, #2ebe68, #158241);
    box-shadow: 0 4px 15px rgba(46, 190, 104, 0.3);
}

.android-download-card .descDownBtn:hover {
    box-shadow: 0 6px 20px rgba(46, 190, 104, 0.5);
    transform: translateY(-2px);
}

