page { background-color: #f5f7fa; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif; } .container { padding: 16px; min-height: 100vh; box-sizing: border-box; } .custom-nav { width: 100%; display: flex; align-items: center; height: 44px; margin-top: 30px; /* Approximate status bar height */ margin-bottom: 20px; position: relative; } .back-btn { position: absolute; left: 0; padding: 10px; /* Increase touch area */ display: flex; align-items: center; justify-content: center; z-index: 10; } .back-arrow { width: 10px; height: 10px; border-left: 2px solid #333; border-bottom: 2px solid #333; transform: rotate(45deg); } .nav-title { flex: 1; text-align: center; font-size: 18px; font-weight: 500; color: #000; } .header-title { display: none; /* Hide old title class if referenced elsewhere */ } .logo-section { display: flex; align-items: center; margin-bottom: 20px; justify-content: flex-start; } .logo-icon { width: 24px; height: 24px; margin-right: 8px; border-radius: 4px; } .logo-text { font-size: 20px; font-weight: 700; color: #1a1a2e; font-style: italic; } .input-section { width: 100%; background-color: #fff; border-radius: 12px; padding: 20px 16px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); } .id-input { width: 100%; height: 48px; background-color: #f5f7fa; border-radius: 8px; padding: 0 16px; box-sizing: border-box; font-size: 16px; color: #333; text-align: center; } .recharge-section { margin-bottom: 32px; } .section-title { font-size: 14px; color: #666; margin-bottom: 12px; } .recharge-grid { display: flex; flex-wrap: wrap; justify-content: space-between; } .recharge-item { width: 31%; background-color: #fff; border-radius: 12px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; border: 1px solid #eee; position: relative; overflow: hidden; margin-bottom: 10px; box-sizing: border-box; } .recharge-item.active { border-color: #7b68ee; background-color: #f8f6ff; } .coin-icon { margin-bottom: 8px; } .coin-img { width: 20px; height: 20px; } .amount { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 4px; } .price { font-size: 14px; color: #666; } .action-section { width: 100%; padding: 12px; margin-bottom: 40px; } .login-btn { background: linear-gradient(90deg, #9f7fff, #7b68ee); color: white; border: none; height: 48px; line-height: 48px; font-size: 16px; border-radius: 24px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(123, 104, 238, 0.3); } .agreement-text { text-align: center; font-size: 12px; color: #999; } .link { color: #7b68ee; } .tips-section { padding-bottom: 30px; } .tips-title { font-size: 16px; font-weight: 500; color: #333; margin-bottom: 12px; } .tips-content { font-size: 12px; color: #888; line-height: 1.8; } .tip-line { margin-bottom: 4px; } /* Popup Styles */ .agreement-popup { height: 100%; display: flex; flex-direction: column; } .popup-header { padding: 16px; text-align: center; font-weight: bold; border-bottom: 1px solid #eee; position: relative; } .close-btn { position: absolute; right: 16px; top: 16px; font-size: 20px; color: #999; } .agreement-content { flex: 1; padding: 16px; overflow-y: auto; }