/* ==========================================================================
   小岛凪直播 - 认证/充值/个人中心 专用样式
   复用 style.css 的 CSS 变量（深色科技风 + 霓虹光效 + 玻璃拟态）
   ========================================================================== */

/* ==================== 通用：页面容器 ==================== */
.auth-page {
    min-height: 100vh;
    padding-top: 0;
    position: relative;
    overflow-x: hidden;
}

/* 恢复原生光标（认证页不加载自定义光标系统，需覆盖 style.css 的 cursor:none） */
.auth-page,
.auth-page * {
    cursor: auto !important;
}

.auth-page a,
.auth-page button,
.auth-page label,
.auth-page .btn,
.auth-page .auth-tab,
.auth-page .password-toggle,
.auth-page .flash-close,
.auth-page input[type="checkbox"],
.auth-page .uc-tab,
.auth-page .recharge-card,
.auth-page .order-no {
    cursor: pointer !important;
}

.auth-page input[type="text"],
.auth-page input[type="tel"],
.auth-page input[type="password"],
.auth-page input[type="number"],
.auth-page textarea {
    cursor: text !important;
}

/* 输入框允许文本选择（覆盖 style.css 的全局禁用） */
.auth-page input,
.auth-page textarea,
.auth-page select {
    user-select: text;
    -webkit-user-select: text;
}

/* ==================== 顶部导航 ==================== */
.auth-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.auth-back:hover {
    color: var(--neon-cyan);
}

.auth-back svg {
    transition: var(--transition);
}

.auth-back:hover svg {
    transform: translateX(-3px);
}

.logo-sm .logo-text {
    font-size: 18px;
}

.logo-sm .logo-icon svg {
    width: 28px;
    height: 28px;
}

.auth-topnav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-balance {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.nav-balance strong {
    color: var(--neon-cyan);
    font-family: var(--font-data);
    margin-left: 4px;
}

/* 小按钮变体 */
.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ==================== 登录/注册卡片 ==================== */
.auth-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: var(--shadow-card), 0 0 60px rgba(0, 240, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-cyan-purple);
    opacity: 0.8;
}

/* Tab 切换 */
.auth-tabs {
    display: flex;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    border-radius: 4px;
}

.auth-tab.active {
    color: var(--text-primary);
}

.auth-tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    background: var(--gradient-cyan-purple);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* 表单 */
.auth-form {
    animation: fadeInUp 0.4s ease;
}

.auth-form.hidden {
    display: none;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.auth-form .form-group input::placeholder {
    color: var(--text-tertiary);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 44px !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--neon-cyan);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -4px 0 20px;
}

.checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--neon-cyan);
    cursor: pointer;
}

.checkbox-agree {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    line-height: 1.5;
}

.checkbox-agree input {
    margin-top: 2px;
    flex-shrink: 0;
}

.form-link {
    color: var(--neon-cyan);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.form-link:hover {
    text-decoration: underline;
}

.auth-form .btn-submit {
    margin-top: 8px;
    font-size: 16px;
    padding: 14px;
    letter-spacing: 4px;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-switch a {
    color: var(--neon-cyan);
    font-weight: 500;
    text-decoration: none;
    margin-left: 4px;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Flash 消息 */
.auth-flash,
.uc-flash-wrap {
    margin-bottom: 20px;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    transition: opacity 0.3s ease;
    border: 1px solid transparent;
}

.flash-success {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--neon-cyan);
}

.flash-error {
    background: rgba(255, 0, 128, 0.1);
    border-color: rgba(255, 0, 128, 0.3);
    color: var(--neon-pink);
}

.flash-info {
    background: rgba(0, 128, 255, 0.1);
    border-color: rgba(0, 128, 255, 0.3);
    color: var(--neon-blue);
}

.flash-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.6;
    line-height: 1;
}

.flash-close:hover {
    opacity: 1;
}

.uc-flash-wrap {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}

/* ==================== 导航栏：登录/用户入口 ==================== */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.nav-user-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-user:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-cyan-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.user-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.balance-badge {
    padding: 2px 10px;
    background: rgba(0, 240, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-family: var(--font-data);
    font-size: 13px;
    font-weight: 600;
}

.user-caret {
    color: var(--text-tertiary);
    transition: var(--transition);
}

.nav-user-wrapper.open .user-caret {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 23, 41, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 200;
}

.nav-user-wrapper.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    box-shadow: none !important;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(0, 240, 255, 0.1) !important;
    color: var(--neon-cyan);
    transform: none !important;
}

.dropdown-item svg {
    flex-shrink: 0;
}

.logout-form {
    display: block !important;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
}

.logout-form .dropdown-item {
    color: var(--neon-pink);
}

/* ==================== 个人中心 ==================== */
.uc-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.uc-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.uc-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-cyan-purple);
}

.uc-profile-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.uc-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-cyan-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
}

.uc-username {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.uc-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.uc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
}

.uc-profile-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.uc-balance-box {
    text-align: right;
}

.uc-balance-label {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.uc-balance-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.uc-currency {
    color: var(--neon-cyan);
    font-size: 20px;
    font-weight: 600;
}

.uc-amount {
    font-family: var(--font-data);
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.btn-recharge {
    padding: 12px 24px;
}

/* 首充横幅 */
.uc-first-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.15) 0%, rgba(191, 0, 255, 0.15) 100%);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.uc-first-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, transparent 60%);
    animation: pulse 3s ease-in-out infinite;
}

.banner-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-pink-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    z-index: 1;
}

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

.banner-content h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* 记录区 */
.uc-records-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.uc-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 8px;
}

.uc-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.uc-tab:hover {
    color: var(--text-primary);
}

.uc-tab.active {
    color: var(--neon-cyan);
}

.uc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-cyan-purple);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.uc-tab-count {
    padding: 1px 8px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.uc-table-wrap {
    display: none;
    padding: 0;
}

.uc-table-wrap.active {
    display: block;
}

.uc-table {
    width: 100%;
    border-collapse: collapse;
}

.uc-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.uc-table th {
    padding: 14px 16px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.uc-table td {
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    white-space: nowrap;
}

.uc-table tbody tr {
    transition: var(--transition);
}

.uc-table tbody tr:hover {
    background: rgba(0, 240, 255, 0.03);
}

.td-time {
    color: var(--text-secondary);
    font-size: 13px;
}

.td-muted {
    color: var(--text-tertiary);
}

.td-order .order-no {
    font-family: var(--font-data);
    color: var(--neon-cyan);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.td-order .order-no:hover {
    text-decoration: underline;
}

.td-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
}

.td-tag-green {
    background: rgba(0, 255, 150, 0.1);
    color: #00ff96;
    border-color: rgba(0, 255, 150, 0.3);
}

.td-tag-red {
    background: rgba(255, 0, 128, 0.1);
    color: var(--neon-pink);
    border-color: rgba(255, 0, 128, 0.3);
}

.td-tag-orange {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    border-color: rgba(255, 165, 0, 0.3);
}

.td-tag-blue {
    background: rgba(0, 128, 255, 0.1);
    color: var(--neon-blue);
    border-color: rgba(0, 128, 255, 0.3);
}

.td-tag-cyan {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.3);
}

.td-amount {
    font-family: var(--font-data);
    font-weight: 600;
    font-size: 15px;
}

.td-amount-in {
    color: #00ff96;
}

.td-amount-out {
    color: var(--neon-pink);
}

.uc-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-tertiary);
}

.uc-empty svg {
    margin-bottom: 16px;
}

.uc-empty p {
    margin-bottom: 16px;
    font-size: 15px;
}

/* ==================== 充值页 ==================== */
.recharge-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.recharge-header {
    text-align: center;
    margin-bottom: 32px;
}

.recharge-header .section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    font-family: var(--font-data);
    font-size: 12px;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.recharge-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.recharge-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 首充横幅 */
.first-recharge-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2) 0%, rgba(191, 0, 255, 0.2) 100%);
    border: 1px solid rgba(255, 0, 128, 0.4);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.banner-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.15), transparent 60%);
    animation: pulse 3s ease-in-out infinite;
}

.first-recharge-banner .banner-icon {
    width: 56px;
    height: 56px;
    z-index: 1;
}

.first-recharge-banner .banner-content h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 6px;
}

.first-recharge-banner .banner-content p {
    color: var(--text-primary);
    font-size: 14px;
}

.first-recharge-banner .banner-content strong {
    color: var(--neon-pink);
    font-size: 16px;
}

.recharge-info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 128, 255, 0.08);
    border: 1px solid rgba(0, 128, 255, 0.2);
    color: var(--neon-blue);
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-size: 14px;
}

/* 套餐网格 */
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.recharge-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.recharge-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 30px rgba(0, 240, 255, 0.1);
}

.recharge-card.selected {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 40px rgba(0, 240, 255, 0.2);
}

.recharge-card.selected::before {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--gradient-cyan-purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
    z-index: 2;
}

.recharge-card.has-first-bonus {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.08) 0%, rgba(191, 0, 255, 0.08) 100%);
}

.rc-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--gradient-pink-purple);
    color: #fff;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255, 0, 128, 0.4);
}

.rc-card-top {
    margin-bottom: 20px;
}

.rc-name {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.rc-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.rc-currency {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
}

.rc-amount {
    font-family: var(--font-data);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.rc-credited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 12px;
}

.rc-credited-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.rc-credited-value {
    font-family: var(--font-data);
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.has-first-bonus .rc-credited-value {
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rc-bonus-detail {
    color: var(--neon-pink);
    font-size: 12px;
    text-align: right;
    margin-bottom: 16px;
}

/* VIP 折扣相关 */
.rc-original-price {
    color: var(--text-tertiary);
    font-size: 14px;
    text-decoration: line-through;
    margin-right: 6px;
    font-weight: 400;
}

.rc-vip-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    background: var(--gradient-gold, linear-gradient(135deg, #ffd700, #ff8c00));
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.rc-vip-saved {
    color: #ffd700;
    font-size: 12px;
    text-align: right;
    margin-bottom: 16px;
    margin-top: -8px;
}

.rc-confirm-original {
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-size: 13px;
    margin-right: 6px;
    font-weight: 400;
}

.btn-select-plan {
    margin-top: 4px;
}

/* 确认区 */
.recharge-confirm {
    max-width: 480px;
    margin: 0 auto 40px;
}

.rc-confirm-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 240, 255, 0.1);
}

.rc-confirm-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.rc-confirm-rows {
    margin-bottom: 24px;
}

.rc-confirm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 240, 255, 0.1);
}

.rc-confirm-row:last-child {
    border-bottom: none;
}

.rc-confirm-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.rc-confirm-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.rc-confirm-amount {
    font-family: var(--font-data);
    font-size: 18px;
}

.rc-confirm-credited {
    font-family: var(--font-data);
    font-size: 18px;
    color: var(--neon-cyan);
    font-weight: 700;
}

.pay-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00a0e9;
    font-weight: 500;
}

.pay-method-tag {
    padding: 1px 6px;
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 4px;
}

.rc-confirm-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 12px;
    margin-top: 14px;
}

/* 充值须知 */
.recharge-notice {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 24px 28px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.recharge-notice h4 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.recharge-notice ul {
    list-style: none;
    padding: 0;
}

.recharge-notice li {
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.recharge-notice li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--neon-cyan);
}

/* ==================== Mock 支付页 ==================== */
.mock-pay-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.mock-pay-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mock-pay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffa500, var(--neon-pink));
}

.mock-pay-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.mock-pay-title {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mock-pay-hint {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 28px;
}

.mock-pay-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
}

.mp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 240, 255, 0.1);
}

.mp-row:last-child {
    border-bottom: none;
}

.mp-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.mp-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.mp-order {
    font-family: var(--font-data);
    font-size: 12px;
    color: var(--neon-cyan);
}

.mp-row-amount .mp-amount {
    font-family: var(--font-data);
    font-size: 20px;
    color: var(--text-primary);
}

.mp-credited {
    color: var(--neon-cyan) !important;
    font-family: var(--font-data);
    font-size: 16px !important;
    font-weight: 700;
}

.mp-row-bonus .mp-value {
    color: var(--neon-pink);
}

.mock-pay-cancel {
    display: inline-block;
    margin-top: 16px;
    color: var(--text-tertiary);
    font-size: 13px;
    text-decoration: none;
}

.mock-pay-cancel:hover {
    color: var(--text-secondary);
}

/* ==================== 支付结果页 ==================== */
.pay-result-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.pay-result-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.pr-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-icon-pending {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.pr-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pr-message {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pr-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
}

.pr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.pr-label {
    color: var(--text-secondary);
}

.pr-value {
    color: var(--text-primary);
    font-weight: 500;
}

.pr-credited {
    color: var(--neon-cyan);
    font-family: var(--font-data);
    font-weight: 700;
}

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

.pr-tip {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ==================== 404 页 ==================== */
.not-found-main {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.nf-code {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.4);
}

.nf-title {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 8px;
}

.nf-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.nf-actions {
    display: flex;
    gap: 12px;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 992px) {
    .recharge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .auth-topnav {
        padding: 14px 20px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .uc-main,
    .recharge-main {
        padding: 24px 16px;
    }

    .uc-profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
    }

    .uc-profile-right {
        width: 100%;
        justify-content: space-between;
    }

    .uc-balance-box {
        text-align: left;
    }

    .uc-amount {
        font-size: 32px;
    }

    .recharge-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .recharge-title {
        font-size: 28px;
    }

    .first-recharge-banner,
    .uc-first-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .uc-table {
        font-size: 12px;
    }

    .uc-table th,
    .uc-table td {
        padding: 10px 8px;
    }

    .nav-auth {
        margin-left: 12px;
        gap: 8px;
    }

    .user-name {
        display: none;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }

    .auth-topnav-right {
        gap: 8px;
    }
}

/* ==================== 购买确认页 ==================== */
.buy-main {
    max-width: 560px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 2;
}

.buy-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    animation: fadeInUp 0.5s ease;
}

.buy-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.buy-product-info {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.buy-product-header {
    margin-bottom: 16px;
}

.buy-product-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.buy-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--gradient-cyan-purple);
    color: #fff;
}

.buy-product-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.buy-product-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.buy-price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 16px;
}

.buy-price-currency {
    font-size: 18px;
    color: var(--neon-cyan);
    font-weight: 600;
}

.buy-price-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--neon-cyan);
    font-family: var(--font-data);
}

.buy-price-period {
    font-size: 14px;
    color: var(--text-tertiary);
}

.buy-features {
    list-style: none;
    padding: 0;
}

.buy-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
}

.buy-features .check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--neon-cyan);
    border-radius: 50%;
    position: relative;
}

.buy-features .check-icon::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #0a0e1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.buy-balance-preview {
    background: rgba(15, 23, 41, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.buy-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.buy-balance-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.buy-balance-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-data);
}

.buy-balance-deduct {
    color: var(--neon-pink);
}

.buy-balance-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.buy-balance-after .buy-balance-value {
    color: var(--neon-cyan);
    font-size: 18px;
}

.buy-confirm-form {
    margin-bottom: 16px;
}

.buy-insufficient {
    text-align: center;
    padding: 20px 0;
}

.buy-insufficient-icon {
    color: var(--neon-pink);
    margin-bottom: 12px;
}

.buy-insufficient-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.buy-insufficient-hint {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.buy-back-link {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 8px;
    transition: var(--transition);
}

.buy-back-link:hover {
    color: var(--neon-cyan);
}

/* ==================== 订单详情页 ==================== */
.order-detail-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.order-success-icon {
    margin-bottom: 16px;
    animation: fadeInUp 0.4s ease;
}

.order-success-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.order-success-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.4s ease 0.2s both;
}

.order-detail-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-card);
    text-align: left;
    animation: fadeInUp 0.4s ease 0.3s both;
}

/* 激活码区 */
.activation-code-box {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(191, 0, 255, 0.08) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    margin-bottom: 28px;
}

.activation-code-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.activation-code-value {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-data);
    letter-spacing: 3px;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    word-break: break-all;
}

.activation-copy-btn {
    margin-bottom: 12px;
}

.activation-code-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* 订单信息区 */
.order-info-section {
    margin-bottom: 28px;
}

.order-info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.order-info-grid {
    display: grid;
    gap: 12px;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.order-info-label {
    color: var(--text-secondary);
}

.order-info-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.order-info-mono {
    font-family: var(--font-data);
    font-size: 13px;
    color: var(--text-tertiary);
}

/* 操作按钮 */
.order-detail-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ==================== 购买记录表格中的激活码截断 ==================== */
.td-code .code-snippet {
    font-family: var(--font-data);
    font-size: 13px;
    color: var(--neon-cyan);
    padding: 2px 8px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 4px;
    transition: var(--transition);
}

.td-code .code-snippet:hover {
    background: rgba(0, 240, 255, 0.15);
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 576px) {
    .buy-card,
    .order-detail-card {
        padding: 24px 20px;
    }

    .buy-price-amount {
        font-size: 28px;
    }

    .activation-code-value {
        font-size: 22px;
    }

    .order-detail-actions {
        flex-direction: column;
    }

    .order-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .order-info-value {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .auth-tabs {
        font-size: 13px;
    }

    .rc-amount {
        font-size: 36px;
    }

    .nf-code {
        font-size: 80px;
    }

    /* 移动端导航栏：登录/注册按钮简化 */
    .nav-auth .btn-sm span {
        font-size: 12px;
    }

    .balance-badge {
        font-size: 11px;
        padding: 1px 8px;
    }
}

/* ==========================================================================
   天数授权样式（替代激活码）
   ========================================================================== */

/* ---------- 购买确认页：授权信息区块 ---------- */
.buy-duration-info {
    background: rgba(15, 23, 41, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.buy-duration-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.buy-duration-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.buy-duration-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-data);
}

.buy-duration-new .buy-duration-value {
    color: var(--neon-cyan);
    font-weight: 600;
}

.buy-duration-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 12px;
    color: var(--neon-cyan);
    line-height: 1.5;
}

.buy-duration-hint svg {
    flex-shrink: 0;
    color: var(--neon-pink);
}

/* ---------- 订单详情页：授权信息区（替代激活码框） ---------- */
.duration-box {
    padding: 32px 28px;
}

.duration-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.duration-days {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.duration-days-num {
    font-size: 56px;
    font-weight: 900;
    font-family: var(--font-data);
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.duration-days-unit {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

.duration-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.duration-status-active {
    background: rgba(0, 240, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.duration-status-expired {
    background: rgba(255, 0, 128, 0.15);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.duration-meta {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

.duration-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
}

.duration-meta-label {
    color: var(--text-secondary);
}

.duration-meta-value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-data);
}

.duration-remaining {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 576px) {
    .duration-days-num {
        font-size: 42px;
    }

    .duration-days-unit {
        font-size: 16px;
    }

    .duration-display {
        flex-direction: column;
        gap: 10px;
    }

    .buy-duration-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .buy-duration-value {
        font-size: 13px;
    }
}

/* ==========================================================================
   时长选择器（购买确认页）
   ========================================================================== */
.duration-selector {
    margin-bottom: 24px;
}

.duration-selector-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-left: 2px;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.duration-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 8px 14px;
    background: rgba(15, 23, 41, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.duration-option:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.duration-option.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.duration-option.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-cyan-purple);
}

.duration-option-num {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-data);
    color: var(--text-primary);
    line-height: 1;
}

.duration-option.active .duration-option-num {
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.duration-option-unit {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

.duration-option-price {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-data);
    color: var(--neon-cyan);
    padding: 2px 8px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 4px;
}

/* 时长选择器移动端适配 */
@media (max-width: 576px) {
    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .duration-option-num {
        font-size: 22px;
    }
}

/* ==========================================================================
   VIP 体系样式
   ========================================================================== */

/* ---------- 购买页：VIP 折扣横幅 ---------- */
.buy-vip-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.12) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
}

.buy-vip-banner-muted {
    background: rgba(15, 23, 41, 0.6);
    border-color: var(--border-color);
}

.buy-vip-badge {
    flex-shrink: 0;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a1a2e;
    font-family: var(--font-data);
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 1px;
}

.buy-vip-badge-muted {
    background: rgba(100, 100, 120, 0.3);
    color: var(--text-tertiary);
}

.buy-vip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buy-vip-text {
    font-size: 14px;
    color: var(--text-primary);
}

.buy-vip-text strong {
    color: #ffd700;
    font-family: var(--font-data);
}

.buy-vip-hint {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ---------- 时长选项：原价划线 ---------- */
.duration-option-original {
    font-size: 11px;
    color: var(--text-tertiary);
    text-decoration: line-through;
    text-decoration-color: var(--neon-pink);
}

/* ---------- 时长选项：省额提示 ---------- */
.duration-option-save {
    font-size: 10px;
    color: #ffd700;
    font-weight: 600;
    margin-top: 2px;
}

.duration-selector-hint {
    color: var(--text-tertiary);
    font-size: 12px;
    margin-bottom: 12px;
}

/* ---------- 订单详情：激活码状态行 ---------- */
.activation-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0 8px;
}

.activation-code-days {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: var(--font-data);
}

/* ---------- 订单详情：原价划线 ---------- */
.order-info-original {
    font-size: 12px;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: 6px;
}

/* ---------- 个人中心：VIP 徽章 ---------- */
.uc-vip-badge {
    display: inline-block;
    padding: 2px 10px;
    margin-left: 8px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a1a2e;
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    vertical-align: middle;
}

/* ---------- 个人中心：激活码列 ---------- */
.code-no {
    font-family: var(--font-data);
    font-size: 13px;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.code-no:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(191, 0, 255, 0.4);
}

/* ---------- VIP 徽章移动端 ---------- */
@media (max-width: 576px) {
    .buy-vip-banner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .uc-vip-badge {
        font-size: 10px;
        padding: 1px 8px;
    }
}


