* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
        }

        :root {
            --primary: #FE2C55;
            --primary-light: #ff7b9c;
            --primary-dark: #d70032;
            --secondary: #7367F0;
            --secondary-light: #a29bfe;
            --success: #52c41a;
            --warning: #faad14;
            --info: #1890ff;
            --bg: #FFFFFF;
            --bg-light: #f8f9fa;
            --bg-dark: #1a1a2e;
            --text: #161823;
            --text-light: #666;
            --text-lighter: #999;
            --border: #EBEDF0;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        body {
            background: linear-gradient(135deg, #fff5f7 0%, #f8f9fa 100%);
            color: var(--text);
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 40px;
            padding-top: 70px;
        }

        /* 头部样式 */
        .header {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--bg);
            display: flex;
            align-items: center;
            padding: 0 20px;
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow);
            z-index: 1000;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 20px;
            color: var(--primary);
        }

        .logo-icon {
            font-size: 28px;
            color: var(--secondary);
        }

        .header-title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
        }

        .user-actions {
            display: flex;
            gap: 15px;
            align-items: center;
            height: 100%;
        }

        .action-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: var(--primary);
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            color: var(--primary-dark);
        }

        .login-btn {
            background: var(--primary);
            color: white;
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 36px;
            margin-top: -2px;
        }

        .login-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* 公告容器样式 */
        .announcement-container {
            padding: 12px 0;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .announcement-header {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .announcement-header i {
            font-size: 16px;
        }

        .announcement-content {
            flex: 1;
            overflow: hidden;
            position: relative;
            height: 24px;
        }

        .announcement-list {
            position: absolute;
            width: 100%;
        }

        .announcement-item {
            font-size: 14px;
            color: var(--text);
            line-height: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .announcement-item.active {
            opacity: 1;
        }

        /* 用户信息区域样式 */
        .user-info-section {
            background: linear-gradient(135deg, #fbe3eb 0%, #e0efff 100%);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .user-info {
            display: flex;
            align-items: center;
        }

        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 12px;
            object-fit: cover;
        }

        .user-details {
            display: flex;
            flex-direction: column;
        }

        .user-name {
            font-size: 16px;
            font-weight: 500;
            color: #333;
            margin-bottom: 4px;
        }

        .user-id {
            font-size: 14px;
            color: #666;
        }

        .switch-account-btn {
            background-color: #ff4d4f;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .switch-account-btn:hover {
            background-color: #d9363e;
        }

        /* 钻石余额显示和刷新按钮样式 */
        .balance-container {
            display: flex;
            align-items: center;
            border-radius: 20px;
            padding: 19px 23px;
        }

        .balance-amount {
            font-size: 20px;
            font-weight: 600;
            color: #fe2c55;
            margin-right: 8px;
            display: flex;
            align-items: center;
        }

        .balance-amount i {
            margin-right: 4px;
            color: #ffd700;
        }

        .refresh-btn {
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        .refresh-btn i {
            transition: transform 0.5s ease;
        }

        .refresh-btn.loading i {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        /* 联盟开通弹窗额外样式 */
        .alliance-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }

        .alliance-option {
            display: flex;
            align-items: center;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .alliance-option:hover {
            border-color: #1677ff;
            background-color: rgba(22, 119, 255, 0.05);
        }

        .alliance-option.selected {
            border-color: #1677ff;
            background-color: rgba(22, 119, 255, 0.1);
        }

        .option-radio {
            margin-right: 10px;
            margin-bottom: 6px;
            width: 18px;
            height: 18px;
            color: #1677ff;
        }

        .option-label {
            flex: 1;
            font-size: 16px;
        }

        .alliance-account-input {
            display: none;
            margin-top: 15px;
        }

        .alliance-account-input.active {
            display: block;
        }

        .alliance-account-input .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            margin-bottom: 8px;
        }

        .alliance-account-input .error-message {
            color: #ff4d4f;
            font-size: 14px;
            display: none;
        }

        .alliance-account-input .error-message.show {
            display: block;
        }

        /* 赠送钻石标签样式 */
        .amount-item {
            position: relative;
            overflow: hidden;
            padding: 16px 12px;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .bonus-tag {
            position: absolute;
            top: 0;
            right: 0;
            background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
            color: white;
            font-size: 11px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 0 8px 0 8px;
            box-shadow: 0 2px 4px rgba(254, 44, 85, 0.3);
            z-index: 2;
            line-height: 1;
        }

        /* 自定义金额输入框的提示信息 */
        .custom-amount-bonus {
            position: absolute;
            top: 0;
            right: 0;
            background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
            color: white;
            font-size: 11px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 0 8px 0 8px;
            box-shadow: 0 2px 4px rgba(254, 44, 85, 0.3);
            z-index: 2;
            line-height: 1;
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--primary);
            color: white;
            font-size: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 下拉菜单样式 */
        .nav-dropdown {
            position: relative;
            display: inline-block;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .dropdown-toggle {
            background: none;
            border: none;
            color: var(--text);
            padding: 8px;
            cursor: pointer;
            font-size: 20px;
            color: var(--primary);
            display: flex;
            align-items: center;
            height: 100%;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 8px 0;
            display: none;
            min-width: 150px;
            z-index: 1000;
            margin-top: 5px;
        }

        .dropdown-item {
            padding: 10px 16px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text);
        }

        .dropdown-item:hover {
            background: rgba(254,44,85,0.06);
        }

        .dropdown-item i {
            width: 20px;
            text-align: center;
        }

        /* 钻石数量展示 */
        .diamond-counter {
            max-width: 600px;
            margin: 20px auto;
            padding: 0 12px;
        }

        @media (max-width: 480px) {
            .diamond-counter {
                padding: 0 10px;
            }
        }

        .diamond-card {
            background: #fff;
            border-radius: 10px;
            padding: 30px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .diamond-card::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
            z-index: 1;
        }

        .diamond-label {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 10px;
            position: relative;
            z-index: 2;
        }

        .diamond-count {
            font-size: 64px;
            font-weight: 800;
            color: var(--primary);
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 10px;
        }

        .diamond-icon {
            font-size: 50px;
            color: var(--secondary);
            animation: pulse 2s infinite;
        }

        .refresh-btn1 {
            background: var(--secondary);
            border: none;
            border-radius: 10px;
            padding: 8px 20px;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(254, 44, 85, 0.15);
        }

        .diamond-effects {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .diamond-effect {
            position: absolute;
            font-size: 24px;
            color: rgba(115, 103, 240, 0.5);
            animation: float 8s infinite linear;
        }

        /* 功能特性 */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-top: 40px;
            max-width: 800px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .feature-icon {
            font-size: 42px;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .feature-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text);
        }

        .feature-desc {
            font-size: 15px;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* 页脚 */
        .footer {
            text-align: center;
            padding: 30px 0;
            color: var(--text-light);
            font-size: 14px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--primary);
        }

        /* 充值区域 */
        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 12px;
        }

        .recharge-card {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 20px;
        }

        .recharge-tip {
            font-size: 12px;
            color: rgba(22,24,35,.34);
            flex-shrink: 0;
            margin-left: 15px;
        }

        .amount-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin: 20px 0;
        }

        .amount-item {
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 16px;
        }

        .amount-item.selected {
            border-color: var(--primary);
            background: rgba(254, 44, 85, 0.06);
        }

        .custom-amount {
            width: 100%;
            padding: 16px 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            text-align: center;
            font-size: 16px;
            transition: all 0.3s;
            color: #fe2c55;
        }

        .custom-amount:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(254, 44, 85, 0.2);
            outline: none;
        }

        .custom-amount::placeholder {
            color: #999;
            text-align: center;
            font-size: 16px;
        }

        .payment-methods {
            margin: 20px 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .payment-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px;
            border: 1px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .payment-option.selected {
            border-color: var(--primary);
            background: rgba(254, 44, 85, 0.06);
        }

        .payment-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .checkmark {
            width: 20px;
            height: 20px;
            border: 1px solid #DCDFE6;
            border-radius: 50%;
            position: relative;
            transition: all 0.2s;
        }

        .checkmark::after {
            content: "";
            position: absolute;
            left: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            opacity: 0;
        }

        .payment-option.selected .checkmark {
            background: var(--primary);
            border-color: var(--primary);
        }

        .payment-option.selected .checkmark::after {
            opacity: 1;
        }

        .recharge-agreement {
            text-align: center;
            color: #666;
            margin: 15px 0;
            font-size: 14px;
        }

        .recharge-agreement a {
            color: var(--primary);
            text-decoration: none;
        }

        .dy-btn {
            background: var(--primary);
            color: #FFF;
            border: none;
            border-radius: 8px;
            padding: 16px;
            width: 100%;
            font-size: 16px;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .dy-btn.small {
            padding: 8px 12px;
            font-size: 14px;
            width: auto;
        }

        .dy-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
        }

        .modal-content {
            background: #FFF;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            padding: 24px;
            position: relative;
            pointer-events: auto;
            z-index: 1001;
        }

        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }

        .form-control {
            width: 100%;
            padding: 12px 12px 12px 40px;
            border: 1px solid #EBEDF0;
            border-radius: 8px;
            font-size: 14px;
        }

        .error-message {
            color: var(--primary);
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        .transfer-header {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-close {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .modal-close:hover {
            background: #eee;
        }

        .modal-close i {
            font-size: 16px;
            color: #666;
        }

        .modal-content h3 {
            margin: 0 0 10px 0;
            text-align: center;
        }

        @keyframes rotating {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .loading {
            animation: rotating 1s linear infinite;
        }

        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            display: none;
            z-index: 1001;
        }

        .shake {
            animation: shake 0.4s;
        }

        @keyframes shake {
            0%, 100% {
                transform: translateX(0);
            }
            25% {
                transform: translateX(6px);
            }
            75% {
                transform: translateX(-6px);
            }
        }

        .loader {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: rotating 1s linear infinite;
            display: none;
            z-index: 9999;
        }

        #paymentModal .modal-content {
            padding: 24px;
            text-align: center;
        }

        #qrcode {
            margin: 20px 0;
            min-height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        #qrcode svg {
            width: 200px;
            height: 200px;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 12px;
            shape-rendering: crispEdges;
        }

        .loader.small {
            width: 30px;
            height: 30px;
            border-width: 3px;
        }

        /* 推荐标签的样式 */
        .recommend-tag {
            color: #FE2C55;
            border: 1px solid #FE2C55;
            border-radius: 3px;
            font-size: 12px;
            padding: 2px 4px;
            margin-left: 8px;
            line-height: 1;
            position: relative;
            top: -1px;
        }

        .payment-amount {
            color: #000;
            font-size: 18px;
            font-weight: 500;
            margin: 15px 0;
            text-align: center;
        }

        /* 金额数字放大、加粗、红色 */
        .amount-number {
            font-size: 28px !important;
            font-weight: 800 !important;
            color: #FE2C55 !important;
            margin: 0 4px;
        }

        .payment-success {
            text-align: center;
            padding: 40px 20px;
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: 1002;
        }

        .success-icon {
            font-size: 80px;
            color: #52c41a;
            margin-bottom: 20px;
        }

        .success-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .success-message {
            font-size: 16px;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .countdown {
            color: var(--primary);
            font-weight: bold;
        }

        .success-button {
            margin-top: 30px;
            width: 200px;
        }

        .modal-alert {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1100;
            justify-content: center;
            align-items: center;
        }

        .alert-content {
            background: #fff;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            overflow: hidden;
        }

        .alert-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            position: relative;
        }

        .alert-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            display: flex;
            align-items: center;
        }

        .alert-title i {
            color: #FE2C55;
            margin-right: 8px;
            font-size: 20px;
        }

        .alert-close {
            background: none;
            border: none;
            font-size: 20px;
            color: #999;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .alert-close:hover {
            background: #f8f8f8;
            color: #333;
        }

        .alert-body {
            padding: 1px 38px;
            font-size: 14px;
            line-height: 1.5;
            color: #555;
        }

        .alert-footer {
            padding: 16px;
            display: flex;
            justify-content: flex-end;
        }

        .alert-button {
            padding: 5px 24px;
            border: 1px solid #dcdcdc;
            border-radius: 5px;
            background: #fff;
            color: #333;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .alert-button:hover {
            background: #FE2C55;
            color: #fff;
            border-color: #FE2C55;
        }

        .section-header h3 i {
            color: var(--primary);
        }

        /* 新皮肤动画 */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) translateX(50px) rotate(360deg);
                opacity: 0;
            }
        }

        /* 修复登录模态框样式 */
        #loginModal .login-modal {
            position: fixed;
            bottom: -100%;
            left: 0;
            right: 0;
            background: var(--bg);
            border-radius: 20px 20px 0 0;
            padding: 24px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
            z-index: 1001;
            max-height: 90vh;
            overflow-y: auto;
        }

        #loginModal.active .login-modal {
            bottom: 0;
        }

        #loginModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: flex-end;
        }

        #loginModal.active {
            display: flex;
        }

        #loginModal .modal-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }

        #loginModal .close-btn {
            position: absolute;
            top: 0;
            right: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        #loginModal .modal-title {
            font-size: 22px;
            margin-bottom: 8px;
        }

        #loginModal .form-input {
            padding: 14px;
            border: 1px solid #eee;
            border-radius: 8px;
            font-size: 16px;
            margin-bottom: 16px;
            width: 100%;
        }

        #loginModal .login-agreement {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 15px 0;
            font-size: 14px;
            color: #666;
        }

        #loginModal .login-agreement a {
            color: var(--primary);
            text-decoration: none;
        }

        .help-link {
            color: var(--primary);
            cursor: pointer;
            text-decoration: underline;
            font-weight: 500;
        }

        /* 响应式调整 */
        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }

            .amount-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .modal-content {
                width: 95%;
                padding: 16px;
            }

            #qrcode svg {
                width: 220px;
                height: 220px;
            }

            .payment-amount {
                font-size: 16px;
            }

            .dy-btn {
                padding: 12px;
                font-size: 15px;
            }

            .diamond-count {
                font-size: 48px;
            }

            .diamond-icon {
                font-size: 40px;
            }

            .header-title {
                font-size: 16px;
            }

            .logo span {
                display: none;
            }

            .custom-amount {
                padding: 14px 12px;
                font-size: 15px;
            }

            .custom-amount::placeholder {
                font-size: 15px;
            }

            .login-btn {
                font-size: 13px;
                padding: 6px 12px;
                height: 32px;
            }

            /* 移动端金额数字样式调整 */
            .amount-number {
                font-size: 24px !important;
            }

            /* 移动端赠送标签样式调整 */
            .bonus-tag,
            .custom-amount-bonus {
                font-size: 10px;
                padding: 2px 6px;
            }

            .amount-item {
                padding: 14px 10px;
                min-height: 55px;
            }

            /* 移动端公告样式调整 */
            .announcement-container {
                padding: 10px 0;
                gap: 8px;
            }

            .announcement-header {
                font-size: 13px;
            }

            .announcement-header i {
                font-size: 14px;
            }

            .announcement-item {
                font-size: 13px;
            }
        }

        @media (max-width: 375px) {
            #qrcode svg {
                width: 260px;
                height: 260px;
            }

            .amount-grid {
                grid-template-columns: 1fr;
            }

            .diamond-count {
                font-size: 36px;
            }

            .diamond-icon {
                font-size: 30px;
            }

            .diamond-card {
                padding: 20px;
            }

            .custom-amount {
                padding: 14px 10px;
                font-size: 15px;
            }

            .custom-amount::placeholder {
                font-size: 15px;
            }

            /* 小屏幕金额数字样式 */
            .amount-number {
                font-size: 22px !important;
            }

            /* 小屏幕赠送标签样式调整 */
            .bonus-tag,
            .custom-amount-bonus {
                font-size: 9px;
                padding: 2px 5px;
            }

            .amount-item {
                padding: 12px 8px;
                min-height: 50px;
            }
        }

        /* 悬浮图片按钮及波纹效果样式 */
        .floating-alliance-button {
            position: fixed;
            left: 20px;
            bottom: 80px;
            z-index: 999;
            cursor: pointer;
            width: 60px;
            height: 60px;
        }

        .alliance-image {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            position: relative;
            z-index: 2;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        /* 波纹效果容器 */
        .ripple-container {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            border-radius: 50%;
            overflow: visible;
        }

        /* 波纹元素 */
        .ripple {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #0066ff3b;
            transform: scale(0);
            animation: ripple-effect 2s infinite ease-out;
        }

        /* 多个波纹，错开动画时间 */
        .ripple:nth-child(2) {
            animation-delay: 0.5s;
        }

        .ripple:nth-child(3) {
            animation-delay: 1s;
        }

        /* 波纹扩散动画 */
        @keyframes ripple-effect {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(3);
                opacity: 0;
            }
        }

        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: transparent;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .top-logo img {
            height: 48px;
        }

        .top-user-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* 微信提示样式 */
        .wechat-tip {
            position: fixed;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 15px;
            border-radius: 8px;
            font-size: 14px;
            max-width: 280px;
            z-index: 10000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            animation: fadeIn 0.3s ease;
            display: none;
        }

        .wechat-tip::after {
            content: "";
            position: absolute;
            top: -10px;
            right: 20px;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid rgba(0, 0, 0, 0.8);
        }

        .wechat-tip .close-btn {
            position: absolute;
            top: 5px;
            right: 8px;
            background: none;
            border: none;
            color: #ccc;
            font-size: 12px;
            cursor: pointer;
        }

        .wechat-tip .close-btn:hover {
            color: white;
        }

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

        /* 支付提示样式 */
        .payment-warning {
            background: #fff8e6;
            border: 1px solid #ffd666;
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #d48806;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .payment-warning i {
            color: #faad14;
            font-size: 16px;
            flex-shrink: 0;
        }

        /* iOS支付宝手动跳转按钮样式 */
        .manual-alipay-btn {
            background: #1677ff;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 15px;
            width: 100%;
            transition: all 0.3s;
        }

        .manual-alipay-btn:hover {
            background: #0d5fd9;
        }

        .manual-alipay-tip {
            color: #666;
            font-size: 14px;
            margin-top: 10px;
            text-align: center;
        }

        @media (max-width: 480px) {
            .wechat-tip {
                max-width: 220px;
                font-size: 13px;
                padding: 10px 12px;
            }

            .payment-warning {
                padding: 10px 12px;
                font-size: 13px;
            }
        }