/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

html {
    overflow: hidden;
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    color: #333;
    line-height: 1.5;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.page-container {
    width: 100%;
    max-width: 100%;
    background: white;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    background: white;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    height: 100vh;
    padding-top: 44px;
}

/* 顶部贷款金额区域 */
.loan-section {
    padding: 10px 20px 5px;
    text-align: center;
    background: white;
    flex-shrink: 0;
}

.loan-title {
    font-size: 67px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}

.loan-amount {
    font-size: 100px;
    font-weight: 900;
    color: #333;
    margin-bottom: 3px;
    line-height: 1;
    letter-spacing: -1px;
}

.loan-subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.loan-disclaimer {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    font-weight: 700;
}

/* 申请步骤区域 */
.steps-section {
    padding: 0 20px 5px;
    background: white;
    flex-shrink: 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-bottom: 15px;
    padding: 0 30px;
    gap: 40px;
    width: 90%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-text {
    font-size: 21px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
    width: 100%;
    word-break: keep-all;
    white-space: nowrap;
    margin-top: 6px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: repeating-linear-gradient(to right, #4CAF50 0, #4CAF50 5px, transparent 5px, transparent 10px);
    z-index: 1;
}

/* 申请按钮区域 */
.button-section {
    padding: 0 10px 5px;
    background: white;
    flex-shrink: 0;
}

.apply-button {
    width: 120%;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    white-space: nowrap;
    transform: translateX(-10%);
}

.apply-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
    outline: none;
    animation: buttonFlash 0.3s ease;
}

@keyframes buttonFlash {
    0% {
        background: #ff4757;
    }
    50% {
        background: #ff6b7a;
    }
    100% {
        background: #ff4757;
    }
}

.apply-button:focus {
    outline: none;
    border: none;
}

.apply-button:hover {
    outline: none;
    border: none;
}

.apply-button:visited {
    outline: none;
    border: none;
}

.button-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 2px;
    vertical-align: middle;
    padding: 2px;
    flex-shrink: 0;
}

.button-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.button-text {
    font-weight: bold;
    letter-spacing: 2px;
}

.countdown-number {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b6b;
    margin-left: 8px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
    animation: pulse 1s infinite;
}

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

/* 手指指向区域 */
.hand-section {
    padding: 0 20px 5px;
    background: white;
    text-align: center;
    flex-shrink: 0;
}

.hand-emoji {
    font-size: 34px;
    animation: bounce 2s infinite;
    letter-spacing: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* 宣传语区域 */
.promo-section {
    padding: 5px 20px;
    background: white;
    text-align: center;
    flex-shrink: 0;
}

.promo-text {
    font-size: 26px;
    color: #333;
    margin-bottom: 4px;
    line-height: 2.3;
    font-weight: 700;
}

.promo-text:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #ff0000;
    font-weight: 700;
}

/* 免责声明区域 */
.disclaimer-section {
    padding: 45px 20px;
    background: white;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

.disclaimer-item {
    margin-bottom: 10px;
    font-weight: 600;
}

/* 免责声明区域内的备案信息 */
.icp-disclaimer {
    margin-top: 20px;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.icp-disclaimer .company-name {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.icp-disclaimer .icp-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #999;
}

.icp-disclaimer .icp-record {
    color: #666;
    font-weight: 500;
    font-size: 11px;
}

.icp-disclaimer .divider {
    color: #ccc;
    margin: 0 4px;
}

.icp-disclaimer .phone-number {
    color: #666;
    font-weight: 500;
    font-size: 11px;
}

/* 手机端适配 */
@media (max-width: 480px) {
    .icp-disclaimer {
        margin-top: 15px;
        padding: 8px 0;
    }
    
    .icp-disclaimer .company-name {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .icp-disclaimer .icp-info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .icp-disclaimer .divider {
        display: none;
    }
    
    .icp-disclaimer .icp-record,
    .icp-disclaimer .phone-number {
        font-size: 10px;
    }
}

.company-info {
    text-align: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #9999997a;
    font-weight: 600;
}

.company-info:last-child {
    margin-top: 4px;
    padding-top: 0;
    border-top: none;
}

/* ICP备案信息底部样式 */
.icp-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 15px;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.icp-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.icp-container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-name {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.icp-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #34495e;
}

.icp-record {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.divider {
    color: #7f8c8d;
    font-weight: 300;
    margin: 0 4px;
}

.phone-number {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.3);
}

/* 手机端适配 */
@media (max-width: 480px) {
    .icp-footer {
        padding: 15px 10px;
    }
    
    .icp-container {
        padding: 12px 15px;
    }
    
    .company-name {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .icp-info-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .divider {
        display: none;
    }
    
    .icp-record,
    .phone-number {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* 添加悬浮动画效果 */
.icp-container {
    transition: all 0.3s ease;
}

.icp-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 底部信息 */
.footer-section {
    padding: 3px 20px;
    background: white;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-text {
    font-size: 12px;
    color: #9999997a;
    line-height: 1.3;
}

/* 微信提示框样式 */
.wechat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.wechat-tip {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    max-width: 300px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wechat-tip img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.wechat-tip p {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.close-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.close-btn:active {
    transform: scale(0.95);
}

/* 加载图标样式 */
.apply-button.loading .loading-spinner {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px; /* 和原按钮图标位置一致 */
    display: inline-block !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    border-top: 2px solid #fff !important;
    animation: spin 1s linear infinite !important;
    vertical-align: middle !important;
}



/* 加载文本 */
.loading-text {
    font-weight: bold;
    letter-spacing: 2px;
    color: white;
    font-size: 30px;
}

/* 按钮文本 */
.button-text {
    display: inline;
}

/* 加载内容 */
.loading-content {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    transition: opacity 0.3s ease;
}

/* 修改加载状态样式 - 确保和原按钮完全一致 */
.apply-button.loading {
    background: #d32f2f !important; /* 保持原按钮背景色 */
    width: 120% !important;
    height: auto !important; /* 保持原按钮高度 */
    padding: 16px 32px !important; /* 保持原按钮内边距 */
    transform: translateX(-10%) !important; /* 保持原按钮偏移 */
    opacity: 1 !important; /* 移除半透明效果 */
    cursor: not-allowed !important;
    transition: none !important;
    animation: none !important;
    font-size: 30px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25) !important;
    margin: 0 auto !important;
    white-space: nowrap !important;
    border: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    overflow: hidden !important;
}

/* 隐藏原按钮内容 */
.apply-button.loading .button-icon,
.apply-button.loading .button-text {
    display: none !important;
}

/* 确保加载内容完全居中 */
.apply-button.loading .loading-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px; /* 图标和文字的间距 */
    width: 100% !important;
    height: 100% !important;
    position: static !important; /* 移除绝对定位 */
    font-size: 30px !important; /* 和原按钮文字相同大小 */
    font-weight: 600 !important;
    letter-spacing: 2px !important;
}

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

/* 按钮禁用状态 */
.apply-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: translateX(-10%) !important;
}

/* 响应式设计 */
@media (max-width: 320px) {
    .page-container {
        max-width: 100%;
        min-height: 100vh;
    }
    
    .loan-title {
        font-size: 61px;
    }
    
    .loan-amount {
        font-size: 52px;
    }
    
    .loan-subtitle {
        font-size: 13px;
    }
    
    .promo-text {
        font-size: 18px;
    }
    
    .step-circle {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .step-text {
        font-size: 13px;
    }
    
    .steps-container::before {
        top: 19px;
        left: 19px;
        right: 19px;
    }
    
    .apply-button {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .disclaimer-section {
        font-size: 12px;
    }
    
    .company-info {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .page-container {
        max-width: 400px;
        min-height: 100vh;
    }
    
    .loan-title {
        font-size: 30px;
    }
    
    .loan-amount {
        font-size: 68px;
    }
    
    .loan-subtitle {
        font-size: 17px;
    }
    
    .promo-text {
        font-size: 22px;
    }
    
    .apply-button {
        font-size: 18px;
    }
    
    .disclaimer-section {
        font-size: 13px;
    }
    
    .company-info {
        font-size: 18px;
    }
    
    .step-text {
        font-size: 17px;
    }
    
    .step-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .steps-container::before {
        top: 24px;
        left: 24px;
        right: 24px;
    }
}

/* 确保内容在屏幕高度不足时也能完整显示 */
@media (max-height: 600px) {
    .page-container {
        min-height: 100vh;
        justify-content: center;
    }
    
    .loan-section {
        padding: 15px 20px 8px;
    }
    
    .steps-section {
        padding: 0 20px 8px;
    }
    
    .button-section {
        padding: 0 20px 8px;
    }
    
    .hand-section {
        padding: 0 20px 6px;
    }
    
    .promo-section {
        padding: 8px 20px;
    }
    
    .disclaimer-section {
        padding: 8px 20px;
    }
    
    .footer-section {
        padding: 4px 20px;
    }
}

/* 适配iPhone X系列刘海屏 */
@supports (padding: max(0px)) {
    .page-container {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-top: max(0px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* 适配Android状态栏 */
@media screen and (max-height: 600px) {
    .loan-section {
        padding: 15px 20px 15px;
    }
    
    .steps-section {
        padding: 0 20px 15px;
    }
    
    .button-section {
        padding: 0 20px 15px;
    }
    
    .promo-section {
        padding: 10px 20px;
    }
    
    .disclaimer-section {
        padding: 10px 20px;
    }
}

/* 确保页面在移动端正确显示 */
@media screen and (max-width: 375px) {
    .page-container {
        width: 100%;
        max-width: 100%;
    }
    
    .loan-title {
        font-size: 36px;
    }
    
    .loan-amount {
        font-size: 58px;
    }
    
    .promo-text {
        font-size: 19px;
    }
    
    .step-circle {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .step-text {
        font-size: 14px;
    }
    
    .steps-container::before {
        top: 21px;
        left: 21px;
        right: 21px;
    }
}

/* 适配iPhone SE等小屏设备 */
@media screen and (max-width: 375px) and (max-height: 667px) {
    .page-container {
        padding: 10px;
    }
    
    .loan-section {
        padding: 12px 20px 8px;
    }
    
    .steps-section {
        padding: 0 20px 6px;
    }
    
    .button-section {
        padding: 0 20px 6px;
    }
    
    .hand-section {
        padding: 0 20px 4px;
    }
    
    .promo-section {
        padding: 6px 20px;
    }
    
    .disclaimer-section {
        padding: 6px 20px;
        font-size: 10px;
    }
    
    .footer-section {
        padding: 2px 20px;
    }
}

/* 适配iPhone 12/13/14等中等屏幕 */
@media screen and (min-width: 375px) and (max-width: 414px) {
    .loan-title {
        font-size: 28px;
    }
    
    .loan-amount {
        font-size: 62px;
    }
    
    .promo-text {
        font-size: 20px;
    }
    
    .step-circle {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
    
    .step-text {
        font-size: 15px;
    }
    
    .steps-container::before {
        top: 22px;
        left: 22px;
        right: 22px;
    }
}

/* 适配iPhone 12/13/14 Pro Max等大屏设备 */
@media screen and (min-width: 414px) and (max-width: 428px) {
    .loan-title {
        font-size: 30px;
    }
    
    .loan-amount {
        font-size: 66px;
    }
    
    .promo-text {
        font-size: 21px;
    }
    
    .step-circle {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    
    .step-text {
        font-size: 16px;
    }
    
    .steps-container::before {
        top: 23px;
        left: 23px;
        right: 23px;
    }
}

/* 适配Android设备 */
@media screen and (min-width: 360px) and (max-width: 400px) {
    .loan-title {
        font-size: 36px;
    }
    
    .loan-amount {
        font-size: 60px;
    }
    
    .promo-text {
        font-size: 19px;
    }
}

/* 适配横屏模式 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .page-container {
        padding: 5px;
    }
    
    .loan-section {
        padding: 8px 20px 4px;
    }
    
    .steps-section {
        padding: 0 20px 4px;
    }
    
    .button-section {
        padding: 0 20px 4px;
    }
    
    .hand-section {
        padding: 0 20px 2px;
    }
    
    .promo-section {
        padding: 4px 20px;
    }
    
    .disclaimer-section {
        padding: 4px 20px;
        font-size: 9px;
    }
    
    .footer-section {
        padding: 1px 20px;
    }
    
    .loan-title {
        font-size: 32px;
    }
    
    .loan-amount {
        font-size: 48px;
    }
    
    .promo-text {
        font-size: 16px;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .step-text {
        font-size: 12px;
    }
    
    .steps-container::before {
        top: 18px;
        left: 18px;
        right: 18px;
    }
}

/* 防止页面滚动 */
@media (max-width: 768px) {
    body {
        overflow: hidden;
    }
    
    .page-container {
        overflow-y: auto;
        overflow-x: hidden;
    }
} 

/* 顶部导航栏 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 44px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    flex-shrink: 0;
    z-index: 1000;
}

.back-btn, .close-btn-top {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    flex-shrink: 0;
    box-sizing: border-box;
    opacity: 0.7;
}

.back-btn {
    color: #999;
}

.close-btn-top {
    color: #999;
}

.back-btn:hover, .close-btn-top:hover {
    opacity: 1;
    color: #333;
}

.back-btn:active, .close-btn-top:active {
    transform: scale(0.95);
}

/* 弹框遮罩 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

.popup-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

.popup-icon-area {
    margin-bottom: 25px;
    position: relative;
}

.popup-tag {
    background: #4A90E2;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 46px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

.popup-tag::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #4A90E2;
}

.popup-coins {
    font-size: 40px;
    margin-top: 10px;
}

.countdown-area {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

.countdown-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

.countdown-number {
    font-size: 32px;
    font-weight: 700;
    color: #ff4757;
    font-family: "仿宋", "FangSong", "GB2312", serif;
}

.popup-button {
    width: 100%;
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: 2px;
    font-family: "仿宋", "FangSong", "GB2312", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    white-space: nowrap;
}

.popup-button:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3);
}

.popup-button:active {
    transform: scale(0.98);
}

/* 调整主页面内容，避免被顶部导航遮挡 */
.page-container {
    margin-top: -1px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* 响应式调整 */
@media (max-width: 320px) {
    .popup-content {
        padding: 25px 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-description {
        font-size: 13px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .popup-button {
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* 全屏自适应 */
@media screen and (max-height: 600px) {
    .page-container {
        height: 100vh;
    }
    
    .main-content {
        height: 100vh;
        width: 100%;
        margin: 0;
    }
}

@media screen and (min-height: 800px) {
    .page-container {
        height: 100vh;
    }
    
    .main-content {
        height: 100vh;
        width: 100%;
        margin: 0;
    }
}

/* 横屏适配 */
@media screen and (orientation: landscape) {
    .page-container {
        height: 100vh;
    }
    
    .main-content {
        height: 100vh;
        width: 100%;
        margin: 0;
    }
} 