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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--tg-theme-bg-color, #1a1a1a);
    color: var(--tg-theme-text-color, #ffffff);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-bottom: 70px; /* 为底部导航栏留出空间 */
}

#page-home {
    padding-bottom: 0;
}

.app-wrapper {
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#page-subscribe .container,
#page-profile .container {
    padding: 0;
    max-width: 100%;
}

#page-tasks .container,
#page-subscribe .container,
#page-profile .container {
    padding: 0;
}

/* 首页容器全屏 */
#page-home.active ~ *,
.container:has(#page-home.active),
body:has(#page-home.active) .container {
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
}

#page-home .container,
#page-home {
    padding: 0 !important;
    max-width: 100vw !important;
    margin: 0 !important;
    width: 100vw !important;
}

/* 页面切换 */
.page {
    display: none;
    position: relative;
    z-index: 1;
}

.page.active {
    display: block;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 24px;
    color: var(--tg-theme-text-color, #000000);
}

/* 首页样式 - 已移除，使用全屏视频样式 */

.user-info {
    background: var(--tg-theme-secondary-bg-color, #f0f0f0);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.user-info p {
    margin: 8px 0;
    font-size: 14px;
}

.user-info strong {
    color: var(--tg-theme-hint-color, #999999);
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn {
    background: var(--tg-theme-button-color, #3390ec);
    color: var(--tg-theme-button-text-color, #ffffff);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    opacity: 0.8;
}

.info-section {
    background: var(--tg-theme-secondary-bg-color, #f0f0f0);
    padding: 20px;
    border-radius: 12px;
}

.info-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--tg-theme-text-color, #000000);
}

.info-section p {
    font-size: 14px;
    margin: 8px 0;
    word-break: break-all;
}

.info-section code {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* 内容卡片 */
.content-card {
    background: var(--tg-theme-secondary-bg-color, #f0f0f0);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.content-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--tg-theme-text-color, #000000);
}

.content-card p {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 订阅列表 */
.subscribe-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #f0f0f0);
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.subscribe-item:active {
    opacity: 0.7;
}

.subscribe-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tg-theme-button-color, #3390ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.subscribe-content {
    flex: 1;
}

.subscribe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.subscribe-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--tg-theme-text-color, #000000);
}

.subscribe-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: var(--tg-theme-hint-color, rgba(0, 0, 0, 0.1));
    color: var(--tg-theme-hint-color, #999999);
}

.subscribe-status.active {
    background: var(--tg-theme-button-color, #3390ec);
    color: var(--tg-theme-button-text-color, #ffffff);
}

.subscribe-desc {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 任务页面 */
.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0 4px;
}

.tasks-title-section {
    flex: 1;
}

.tasks-main-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 4px;
}

.tasks-subtitle {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    opacity: 0.8;
}

.tasks-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tasks-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 会员等级卡片 */
.membership-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.membership-cards::-webkit-scrollbar {
    display: none;
}

.membership-card {
    position: relative;
    min-width: 100px;
    padding: 16px 12px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    text-align: center;
    flex-shrink: 0;
}

.membership-card.selected {
    background: #FFD700 !important;
    border: 2px solid #FFA500;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.membership-card.selected .membership-name {
    color: #000;
    font-weight: 700;
}

.membership-card.selected .membership-price {
    color: #333;
}

.membership-card.active {
    background: #FFD700;
    color: #000000;
}

.membership-lock {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
}

.membership-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.membership-card.active .membership-name {
    color: #000000;
}

.membership-action {
    font-size: 12px;
    color: #000000;
    opacity: 0.8;
}

.membership-price {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    position: relative;
}

.stat-card.highlight {
    border: 2px solid #FFD700;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 进度区域 */
.progress-section {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
}

.progress-text {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #FFD700;
    border-radius: 4px;
    transition: width 0.3s;
}

.claim-btn {
    padding: 8px 16px;
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.claim-btn:active {
    opacity: 0.8;
}

/* 品牌广告区域 */
.brand-ads-section {
    margin-top: 8px;
}

.section-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
}

.brand-ads-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-ad-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 16px;
    overflow: hidden;
}

.brand-ad-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-overlay {
    font-size: 80px;
    opacity: 0.3;
    filter: blur(2px);
}

.brand-ad-content {
    padding: 16px;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 8px;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
}

.experience-btn {
    background: #FFD700;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.experience-btn:active {
    opacity: 0.8;
}

.brand-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.stat-deposit {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.stat-participants {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.stat-commission {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.stat-watch {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    cursor: pointer;
}

.stat-watch:active {
    opacity: 0.7;
}

.stat-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.stat-label {
    flex: 1;
    font-weight: 500;
}

.stat-value {
    font-weight: 700;
    font-size: 16px;
}

/* 实时奖励区域 */
.rewards-section {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
}

.rewards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rewards-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFD700;
}

.rewards-subtitle {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.rewards-list::-webkit-scrollbar {
    width: 4px;
}

.rewards-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.rewards-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

.rewards-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.reward-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tg-theme-button-color, #3390ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.reward-content {
    flex: 1;
}

.reward-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 2px;
}

.reward-action {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.reward-amount {
    font-size: 14px;
    font-weight: 600;
    color: #4ade80;
}

/* 设置列表 */
.settings-list {
    margin-top: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.setting-item:active {
    opacity: 0.7;
}

.setting-item span:first-child {
    font-size: 16px;
    color: var(--tg-theme-text-color, #000000);
}

.setting-item span:last-child {
    font-size: 20px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    color: var(--tg-theme-hint-color, #999999);
}

.nav-item:active {
    opacity: 0.7;
}

.nav-item.active {
    color: #FFD700;
}

.nav-icon {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}

/* 订阅页面 */
.subscribe-main {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* BLACK GOLD MEMBERSHIP 横幅 */
.membership-banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.membership-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.banner-content {
    flex: 1;
    z-index: 1;
}

.banner-title {
    font-size: 28px;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.banner-icon {
    font-size: 48px;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* 黑金专属特权 */
.privileges-section {
    margin-top: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 6px;
}

.section-desc {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 16px;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.privilege-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.privilege-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.privilege-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 6px;
}

.privilege-desc {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
    line-height: 1.4;
}

/* 会员等级选择 */
.membership-levels-section {
    margin-top: 8px;
}

/* VIP 卡片 */
.vip-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.vip-1 {
    background: linear-gradient(135deg, #8b4513, #654321);
}

.vip-2 {
    background: linear-gradient(135deg, #2d5016, #1a3009);
}

.vip-3 {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
}

.vip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.vip-icon {
    width: 48px;
    height: 48px;
    background: #FFD700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    flex-shrink: 0;
}

.vip-info {
    flex: 1;
}

.vip-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.vip-level {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.vip-pricing {
    text-align: right;
}

.vip-price {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 4px;
}

.vip-discount {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.discount-badge {
    background: #ff4444;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.original-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.vip-benefits {
    margin-bottom: 20px;
}

.benefit-item {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.benefit-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 18px;
}

.vip-subscribe-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vip-1-btn {
    background: #FFD700;
    color: #000000;
}

.vip-2-btn {
    background: #20b2aa;
    color: #ffffff;
}

.vip-3-btn {
    background: #4169e1;
    color: #ffffff;
}

.vip-subscribe-btn:active {
    opacity: 0.8;
}

/* 订阅说明 */
.subscribe-note {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 20px;
    margin-top: 8px;
}

.note-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 12px;
}

.note-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-item {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    line-height: 1.5;
}

/* 我的页面 */
.profile-main {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 100px;
}

/* 用户信息卡片 */
/* 我的页面新布局 */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    text-align: center;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin-bottom: 16px;
    border: 3px solid #FFD700;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.profile-id {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 16px;
}

.recharge-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 12px;
    padding: 12px 32px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.recharge-btn:active {
    opacity: 0.8;
}

/* 收益卡片区域 */
.earnings-cards {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 16px;
}

.earnings-card {
    flex: 1;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 16px;
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: #FFD700;
    color: #000000;
}

.withdraw-btn-small {
    background: #FFD700;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.withdraw-btn-small:active {
    opacity: 0.8;
}

.card-title {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.card-amount {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
}

.card-expiry {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 实时提现动态卡片 */
.withdrawal-status-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
    margin: 0 20px 16px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
}

.status-title,
.status-auto-refresh {
    font-weight: 600;
}

.withdrawal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.withdrawal-list::-webkit-scrollbar {
    width: 4px;
}

.withdrawal-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.withdrawal-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

.withdrawal-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.withdrawal-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdrawal-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.withdrawal-content {
    flex: 1;
}

.withdrawal-user {
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 2px;
}

.withdrawal-action {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.withdrawal-right {
    text-align: right;
}

.withdrawal-amount {
    font-size: 14px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 2px;
}

.withdrawal-time {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.user-profile-card {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.user-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 3px solid #FFD700;
    flex-shrink: 0;
}

.user-badge {
    background: #FFD700;
    color: #000000;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.user-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.user-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.user-id {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

.user-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
}

/* 最近活动 */
.recent-activity {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tg-theme-button-color, #3390ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.activity-user {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 2px;
}

.activity-amount {
    font-size: 16px;
    font-weight: 600;
    color: #FFD700;
}

.activity-time {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 我的工具 */
.tools-section {
    margin-top: 8px;
    padding: 0 20px;
}

.tools-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tools-close {
    font-size: 24px;
    color: #ff4444;
    cursor: pointer;
    line-height: 1;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tool-item:active {
    opacity: 0.7;
}

.tool-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-content {
    flex: 1;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.tool-desc {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 支付页面 */
#page-payment {
    padding: 0;
    padding-bottom: 100px;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.payment-title-section {
    flex: 1;
}

.payment-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.payment-subtitle {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.payment-icon {
    font-size: 24px;
    color: #FFD700;
}

.payment-main {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 金额输入 */
.amount-input-section {
    margin-bottom: 8px;
}

.amount-input {
    width: 100%;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    text-align: center;
}

/* 金额选择 */
.amount-selection {
    margin-top: 8px;
}

.section-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 12px;
}

.amount-buttons {
    display: flex;
    gap: 12px;
}

.amount-btn {
    flex: 1;
    padding: 14px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn.active {
    background: #FFD700;
    color: #000000;
    border-color: #FFD700;
}

.amount-btn:active {
    opacity: 0.8;
}

/* 支付方式 */
.payment-methods {
    margin-top: 8px;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.method-item.active {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.method-icon.bitcoin {
    background: #f7931a;
    color: #ffffff;
}

.method-icon.ethereum {
    background: #627eea;
    color: #ffffff;
}

.method-icon.paypal {
    background: #0070ba;
    color: #ffffff;
}

.method-icon.usdt {
    background: #26a17b;
    color: #ffffff;
}

.method-icon.stars {
    background: #FFD700;
    color: #000000;
}

.method-info {
    flex: 1;
}

.method-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.method-desc {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.method-radio {
    flex-shrink: 0;
}

.method-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #FFD700;
    cursor: pointer;
}

/* 支付按钮 */
.payment-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.pay-now-btn {
    width: 100%;
    padding: 16px;
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.pay-now-btn:active {
    opacity: 0.8;
}

.pay-icon {
    font-size: 20px;
}

/* 工具页面通用样式 */
.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title-section {
    flex: 1;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.page-icon {
    font-size: 24px;
    color: #FFD700;
}

/* 充值记录页 */
.record-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.record-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    padding: 16px;
    border-radius: 12px;
}

.summary-item {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 8px;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.filter-btn.active {
    background: #FFD700;
    color: #000000;
    border-color: #FFD700;
}

.record-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
}

.record-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.record-content {
    flex: 1;
}

.record-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.record-time {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 4px;
}

.record-order {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.record-amount {
    text-align: right;
}

.amount {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 4px;
}

.status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.status.processing {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status.failed {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.no-more {
    text-align: center;
    color: var(--tg-theme-hint-color, #999999);
    font-size: 14px;
    padding: 20px;
}

/* 收益中心页 */
.earnings-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.earnings-title-section {
    flex: 1;
}

.earnings-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.earnings-subtitle {
    font-size: 12px;
    color: var(--tg-theme-text-color, #ffffff);
}

.refresh-btn {
    background: #FFD700;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.earnings-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.earnings-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.earnings-label {
    font-size: 16px;
    font-weight: 600;
    color: #FFD700;
}

.earnings-count {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
}

.earnings-records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.earnings-record-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
}

.earnings-record-icon {
    width: 48px;
    height: 48px;
    background: #FFD700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.earnings-icon-inner {
    width: 24px;
    height: 24px;
    background: #FFD700;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.earnings-record-content {
    flex: 1;
    min-width: 0;
}

.earnings-record-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 6px;
}

.earnings-record-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 8px;
}

.earnings-record-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.earnings-record-number {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.earnings-record-time {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.earnings-record-amount {
    text-align: right;
    flex-shrink: 0;
}

.earnings-amount-value {
    font-size: 18px;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 8px;
}

.earnings-status {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.earnings-status.credited {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* 提现记录页 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 收款方式页 */
.payment-methods-main {
    padding: 16px;
}

.saved-accounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    font-weight: 600;
}

.add-account-btn {
    background: #FFD700;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.empty-accounts {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-accounts .empty-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.empty-accounts .empty-text {
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    font-weight: 600;
}

.empty-desc {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 8px;
}

.add-account-btn-large {
    background: #FFD700;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

/* 银行账户卡片样式 */
.bank-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.bank-account-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bank-account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, rgba(255, 215, 0, 0.5) 100%);
}

.bank-account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.account-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.account-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.account-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.account-main-info {
    flex: 1;
    min-width: 0;
}

.account-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.account-bank-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    letter-spacing: 0.3px;
}

.default-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.account-number-display {
    font-size: 20px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
}

.account-country-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tg-theme-hint-color, #999999);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-card-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-action-btn.edit-btn {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.account-action-btn.edit-btn:active {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(0.98);
}

.account-action-btn.delete-btn {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.account-action-btn.delete-btn:active {
    background: rgba(255, 59, 48, 0.25);
    transform: scale(0.98);
}

.action-icon {
    font-size: 16px;
}

.action-text {
    font-size: 14px;
}

/* 新增收款账户页 */
#page-add-account {
    padding: 0;
    padding-bottom: 100px;
}

.add-account-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FFD700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.add-account-header .back-btn {
    color: #000000;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
}

.add-account-title-section {
    flex: 1;
}

.add-account-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.add-account-subtitle {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.8);
}

.menu-btn {
    background: none;
    border: none;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.add-account-main {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.bank-select-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.bank-select-field:active {
    opacity: 0.7;
}

.bank-select-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.bank-icon {
    font-size: 24px;
    color: #FFD700;
    width: 32px;
    text-align: center;
}

.bank-select-text {
    flex: 1;
}

.bank-placeholder {
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.bank-country {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.select-arrow {
    font-size: 24px;
    color: var(--tg-theme-hint-color, #999999);
    flex-shrink: 0;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    outline: none;
}

.form-input::placeholder {
    color: var(--tg-theme-hint-color, #999999);
}

.add-account-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.save-account-btn {
    width: 100%;
    padding: 16px;
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.save-account-btn:active {
    opacity: 0.8;
}

.save-icon {
    font-size: 20px;
    font-weight: 700;
}

/* 上传支付凭证页面 */
#page-upload-voucher {
    padding: 0;
    padding-bottom: 100px;
}

.voucher-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.voucher-title-section {
    flex: 1;
}

.voucher-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.voucher-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.voucher-icon {
    font-size: 24px;
    color: #FFD700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.voucher-main {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voucher-section {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 16px;
}

.voucher-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 12px;
}

.voucher-amount {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-amount-crypto {
    font-size: 24px;
    font-weight: 700;
    color: #4caf50;
}

.voucher-amount-usd {
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
}

.exchange-rates {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rate-item {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    line-height: 1.5;
}

.recipient-info {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
}

.upload-area:active {
    opacity: 0.7;
}

.upload-icon {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 12px;
    font-weight: 300;
}

.upload-text {
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
    font-weight: 500;
}

.upload-hint {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.upload-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.upload-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.note-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.voucher-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.submit-voucher-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8b6914, #d4af37);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-voucher-btn:active {
    opacity: 0.8;
}

/* Telegram Stars 支付页面 */
#page-telegram-stars {
    padding: 0;
    padding-bottom: 100px;
}

.stars-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stars-title {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
}

.stars-main {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stars-icon-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.stars-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.stars-intro {
    text-align: center;
    margin-bottom: 8px;
}

.stars-intro-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.stars-intro-desc {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

.stars-purchase-card,
.stars-exchange-card,
.stars-steps-card,
.stars-reminder-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.stars-amount {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
}

.stars-price {
    font-size: 20px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.stars-region {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

.stars-vip-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 12px;
}

.exchange-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exchange-line {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
}

.steps-desc {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
    margin-bottom: 16px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #FFD700;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    line-height: 1.5;
    padding-top: 6px;
}

.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    line-height: 1.5;
}

.stars-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.stars-pay-btn {
    width: 100%;
    padding: 16px;
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.stars-pay-btn:active {
    opacity: 0.8;
}

/* 品牌视频播放页面 */
#page-brand-video {
    padding: 0;
    background: var(--tg-theme-bg-color, #1a1a1a);
    min-height: 100vh;
    display: none;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

#page-brand-video.active {
    display: flex;
}

.video-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
}

.video-brand-info {
    flex: 1;
}

.video-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 4px;
}

.video-brand-level {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
}

.video-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-player-container {
    position: relative;
    width: 100%;
    background: #000000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.brand-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.video-countdown {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.video-progress-fill {
    height: 100%;
    background: #3390ec;
    width: 0%;
    transition: width 0.1s;
}

.video-controls {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
}

.video-control-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-control-btn:active {
    opacity: 0.8;
}

.play-btn {
    background: #4ecdc4;
    color: #ffffff;
}

.sound-btn {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    color: var(--tg-theme-text-color, #ffffff);
}

.video-reward-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    margin: 0 16px;
    border-radius: 12px;
}

.reward-icon {
    font-size: 24px;
}

.reward-text {
    flex: 1;
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
}

.reward-amount {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
}

.video-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: var(--tg-theme-hint-color, #999999);
    font-size: 14px;
}

.tip-icon {
    font-size: 18px;
    color: #FFD700;
}

/* 广告提现页面 */
#page-ad-withdrawal {
    padding: 0;
    padding-bottom: 100px;
}

.withdrawal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdrawal-title-section {
    flex: 1;
}

.withdrawal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.withdrawal-subtitle {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.withdrawal-menu-btn {
    background: #FFD700;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000000;
}

.withdrawal-main {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 可提现余额卡片 */
.withdrawal-balance-card {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid #FFD700;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    position: relative;
}

.balance-card-icon {
    width: 40px;
    height: 40px;
    background: #FFD700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    flex-shrink: 0;
}

.balance-card-content {
    flex: 1;
}

.balance-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.balance-label {
    font-size: 14px;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 8px;
}

.balance-amount-large {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
}

.balance-expiry {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 收款账户部分 */
.withdrawal-account-section {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid #FFD700;
    border-radius: 16px;
    padding: 20px;
}

.account-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.account-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
}

.add-account-link {
    background: none;
    border: none;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
}

.account-select-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 12px;
}

.account-select-field:active {
    opacity: 0.7;
}

.account-select-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.account-icon {
    font-size: 24px;
    color: #FFD700;
    width: 32px;
    text-align: center;
}

.account-select-text {
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    font-weight: 500;
}

.select-arrow {
    font-size: 24px;
    color: var(--tg-theme-text-color, #ffffff);
    flex-shrink: 0;
}

.account-hint {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 提现金额部分 */
.withdrawal-amount-section {
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border: 2px solid #FFD700;
    border-radius: 16px;
    padding: 20px;
}

.amount-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 16px;
}

.withdrawal-amount-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.withdrawal-amount-input {
    width: 100%;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.withdrawal-amount-input::-webkit-outer-spin-button,
.withdrawal-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.withdrawal-amount-input:focus {
    border-color: #FFD700;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.withdrawal-amount-input::placeholder {
    color: #999999;
    font-weight: 400;
    opacity: 0.7;
}

.withdrawal-amount-display {
    font-size: 36px;
    font-weight: 700;
    color: var(--tg-theme-text-color, #ffffff);
    text-align: center;
    padding: 12px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.withdrawal-amount-hint {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff4444;
    font-size: 12px;
    line-height: 1.4;
}

.withdrawal-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--tg-theme-bg-color, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.submit-withdrawal-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8b6914, #d4af37);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-withdrawal-btn:active {
    opacity: 0.8;
}

/* 国家/地区页 */
.country-main {
    padding: 16px;
}

.country-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    font-weight: 600;
}

.country-count {
    background: #FFD700;
    color: #000000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.search-icon {
    font-size: 20px;
    color: var(--tg-theme-hint-color, #999999);
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: var(--tg-theme-hint-color, #999999);
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.country-item:active {
    opacity: 0.7;
}

.country-flag {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

.country-name {
    flex: 1;
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
}

.country-code {
    font-size: 14px;
    color: var(--tg-theme-hint-color, #999999);
}

/* 语言设置页 */
.language-main {
    padding: 16px;
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--tg-theme-text-color, #ffffff);
    font-size: 16px;
    font-weight: 600;
}

.language-count {
    background: #FFD700;
    color: #000000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.language-item.active {
    border: 2px solid #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.language-flag {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

.language-name {
    flex: 1;
    font-size: 16px;
    color: var(--tg-theme-text-color, #ffffff);
}

.language-check {
    color: #FFD700;
    font-size: 20px;
    font-weight: 700;
}

/* 客服中心页 */
.service-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color, #2a2a2a);
    border-radius: 12px;
}

.service-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.service-content {
    flex: 1;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color, #ffffff);
    margin-bottom: 4px;
}

.service-desc {
    font-size: 12px;
    color: var(--tg-theme-hint-color, #999999);
}

.service-open-btn {
    background: var(--tg-theme-button-color, #3390ec);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    body {
        background: #212121;
        color: #ffffff;
    }
    
    .bottom-nav {
        background: #1e1e1e;
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

/* 首页视频部分 - 全屏显示 */
#page-home.active {
    padding: 0 !important;
    margin: 0 !important;
    height: calc(100vh - 70px) !important; /* 减去底部导航栏高度 */
    overflow: hidden !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 1;
    display: block !important;
}

/* 确保其他页面正常显示，不被首页覆盖 */
.page.active:not(#page-home) {
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

/* 当首页激活时，容器也要全屏 */
#page-home.active ~ *,
body:has(#page-home.active) .container,
.container:has(#page-home.active) {
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
}

.home-video-section {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #000;
}

.home-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    background: #000;
    z-index: 1;
}

.home-youtube-iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* 首页视频播放器（普通视频） */
.home-video-player {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover;
}

.home-video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 首页视频播放器（普通视频） */
.home-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


