/* rights.css */
.rights-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.rights-container {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.page-header p {
    font-size: 16px;
    color: var(--light-text);
    transition: color 0.3s ease;
}

/* 权益对比表格 */
.benefits-comparison {
    margin-bottom: 40px;
}

.benefits-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.benefits-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

/* 深色模式下的表头渐变调整 */
[data-theme="dark"] .benefits-header {
    background: linear-gradient(135deg, #4c63d2 0%, #5f4d93 100%);
}

@media (prefers-color-scheme: dark) {
    .benefits-header {
        background: linear-gradient(135deg, #4c63d2 0%, #5f4d93 100%);
    }
}

.benefits-header > div {
    padding: 20px 15px;
    text-align: center;
}

.feature-column {
    background: rgba(0, 0, 0, 0.1);
}

.level-badge {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.level-badge.normal {
    color: #ecf0f1;
}

.level-badge.premium {
    color: #f39c12;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.level-badge.premium::before {
    content: '✨ ';
}

.level-desc {
    font-size: 12px;
    opacity: 0.9;
    font-weight: normal;
}

.benefits-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    background: var(--card-background);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.benefits-row:hover {
    background: var(--background);
}

.benefits-row > div {
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-name {
    background: var(--background);
    font-weight: 500;
    color: var(--text-color);
    text-align: left !important;
    justify-content: flex-start !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.normal-value {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.premium-value {
    color: #e67e22;
    font-weight: 600;
}

/* 深色模式下的高级功能值颜色调整 */
[data-theme="dark"] .premium-value {
    color: #f39c12;
}

@media (prefers-color-scheme: dark) {
    .premium-value {
        color: #f39c12;
    }
}

/* 兑换码区域样式 */
.redemption-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    transition: border-color 0.3s ease;
}

/* 深色模式下的兑换区域 */
[data-theme="dark"] .redemption-section {
    background: linear-gradient(135deg, rgba(62, 64, 66, 0.3) 0%, rgba(52, 55, 61, 0.5) 100%);
    border: 1px solid var(--border-color);
}

@media (prefers-color-scheme: dark) {
    .redemption-section {
        background: linear-gradient(135deg, rgba(62, 64, 66, 0.3) 0%, rgba(52, 55, 61, 0.5) 100%);
        border: 1px solid var(--border-color);
    }
}

.redemption-section h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: var(--text-color);
    text-align: center;
    transition: color 0.3s ease;
}

.redemption-desc {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.redemption-form {
    max-width: 500px;
    margin: 0 auto;
}

.redemption-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.redemption-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    font-family: monospace;
    letter-spacing: 1px;
    background: var(--card-background);
    color: var(--text-color);
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.redemption-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.2);
}

/* 深色模式下的输入框聚焦阴影 */
[data-theme="dark"] .redemption-input-group input:focus {
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
}

@media (prefers-color-scheme: dark) {
    .redemption-input-group input:focus {
        box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
    }
}

.redemption-input-group button {
    padding: 15px 25px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
}

.redemption-hint {
    text-align: center;
    font-size: 13px;
    color: var(--lighter-text);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.redemption-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.redemption-result.success {
    background: rgba(212, 237, 218, 0.8);
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.redemption-result.error {
    background: rgba(248, 215, 218, 0.8);
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* 深色模式下的结果提示 */
[data-theme="dark"] .redemption-result.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

[data-theme="dark"] .redemption-result.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

@media (prefers-color-scheme: dark) {
    .redemption-result.success {
        background: rgba(46, 204, 113, 0.2);
        color: #2ecc71;
        border: 1px solid rgba(46, 204, 113, 0.3);
    }
    
    .redemption-result.error {
        background: rgba(231, 76, 60, 0.2);
        color: #e74c3c;
        border: 1px solid rgba(231, 76, 60, 0.3);
    }
}

/* 购买专区 */
.purchase-section {
    margin-bottom: 40px;
}

.purchase-section h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.purchase-container {
    max-width: 600px;
    margin: 0 auto;
}

.purchase-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* 深色模式下的购买卡片 */
[data-theme="dark"] .purchase-card {
    background: linear-gradient(135deg, #4c63d2 0%, #5f4d93 100%);
    box-shadow: 0 8px 25px rgba(76, 99, 210, 0.4);
}

@media (prefers-color-scheme: dark) {
    .purchase-card {
        background: linear-gradient(135deg, #4c63d2 0%, #5f4d93 100%);
        box-shadow: 0 8px 25px rgba(76, 99, 210, 0.4);
    }
}

.purchase-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    transform: rotate(45deg);
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.purchase-header h3 {
    font-size: 22px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.purchase-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.purchase-content {
    position: relative;
}

.purchase-intro {
    margin-bottom: 25px;
}

.purchase-intro p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.purchase-plans {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.plan-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    position: relative;
}

.plan-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.plan-item.recommended {
    border: 2px solid #f39c12;
    background: rgba(243, 156, 18, 0.2);
}

.plan-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f39c12;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.plan-duration {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f39c12;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.plan-desc {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

.purchase-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-item {
    font-size: 14px;
    padding: 8px 0;
    opacity: 0.9;
}

.purchase-action {
    text-align: center;
    margin-bottom: 20px;
}

.purchase-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    border: none;
    cursor: pointer;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-decoration: none;
}

.purchase-notice {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.notice-text {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.4;
}

/* 活动专区 */
.activities-section {
    margin-bottom: 40px;
}

.activities-section h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.activity-card {
    background: linear-gradient(135deg, var(--background) 0%, var(--card-background) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 深色模式下的活动卡片悬停阴影 */
[data-theme="dark"] .activity-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .activity-card:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activity-header h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.activity-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.activity-status.active {
    background-color: rgba(212, 237, 218, 0.8);
    color: #155724;
}

.activity-status.ended {
    background-color: rgba(248, 215, 218, 0.8);
    color: #721c24;
}

/* 深色模式下的活动状态 */
[data-theme="dark"] .activity-status.active {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

[data-theme="dark"] .activity-status.ended {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

@media (prefers-color-scheme: dark) {
    .activity-status.active {
        background-color: rgba(46, 204, 113, 0.2);
        color: #2ecc71;
    }
    
    .activity-status.ended {
        background-color: rgba(231, 76, 60, 0.2);
        color: #e74c3c;
    }
}

.activity-content {
    margin-bottom: 20px;
}

.activity-slogan {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(108, 124, 231, 0.1);
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* 深色模式下的活动标语 */
[data-theme="dark"] .activity-slogan {
    background: rgba(108, 124, 231, 0.2);
}

@media (prefers-color-scheme: dark) {
    .activity-slogan {
        background: rgba(108, 124, 231, 0.2);
    }
}

.activity-content p {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 15px;
    transition: color 0.3s ease;
}

.activity-steps {
    margin-bottom: 15px;
}

.step {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.4;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.activity-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(108, 124, 231, 0.1);
    border-radius: 6px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 深色模式下的活动奖励 */
[data-theme="dark"] .activity-reward {
    background: rgba(108, 124, 231, 0.2);
}

@media (prefers-color-scheme: dark) {
    .activity-reward {
        background: rgba(108, 124, 231, 0.2);
    }
}

.detail-btn {
    margin-left: auto;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    background-color: var(--card-background);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.detail-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.reward-icon {
    font-size: 16px;
}

/* 活动说明区域 */
.activity-notice {
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.3) 0%, rgba(212, 237, 218, 0.6) 100%);
    border: 1px solid #28a745;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* 深色模式下的活动说明 */
[data-theme="dark"] .activity-notice {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.2) 100%);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

@media (prefers-color-scheme: dark) {
    .activity-notice {
        background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.2) 100%);
        border: 1px solid rgba(46, 204, 113, 0.3);
    }
}

.notice-title {
    font-weight: 600;
    color: #155724;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 深色模式下的说明标题 */
[data-theme="dark"] .notice-title {
    color: #2ecc71;
}

@media (prefers-color-scheme: dark) {
    .notice-title {
        color: #2ecc71;
    }
}

.notice-list {
    margin: 0;
    padding-left: 20px;
    color: #155724;
}

/* 深色模式下的说明列表 */
[data-theme="dark"] .notice-list {
    color: #2ecc71;
}

@media (prefers-color-scheme: dark) {
    .notice-list {
        color: #2ecc71;
    }
}

.notice-list li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.notice-list strong {
    color: #28a745;
    font-weight: 600;
}

/* 深色模式下的加粗文字 */
[data-theme="dark"] .notice-list strong {
    color: #48bb78;
}

@media (prefers-color-scheme: dark) {
    .notice-list strong {
        color: #48bb78;
    }
}

/* 活动状态显示区域 */
.activity-status-area {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.activity-status-area.show {
    display: block;
}

.activity-status-area.pending {
    background: rgba(255, 243, 205, 0.8);
    border: 1px solid #ffeaa7;
    color: #856404;
}

.activity-status-area.completed {
    background: rgba(212, 237, 218, 0.8);
    border: 1px solid #c3e6cb;
    color: #155724;
}

.activity-status-area.failed {
    background: rgba(248, 215, 218, 0.8);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* 深色模式下的状态区域 */
[data-theme="dark"] .activity-status-area.pending {
    background: rgba(237, 137, 54, 0.2);
    border: 1px solid rgba(237, 137, 54, 0.3);
    color: #ed8936;
}

[data-theme="dark"] .activity-status-area.completed {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

[data-theme="dark"] .activity-status-area.failed {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

@media (prefers-color-scheme: dark) {
    .activity-status-area.pending {
        background: rgba(237, 137, 54, 0.2);
        border: 1px solid rgba(237, 137, 54, 0.3);
        color: #ed8936;
    }
    
    .activity-status-area.completed {
        background: rgba(46, 204, 113, 0.2);
        border: 1px solid rgba(46, 204, 113, 0.3);
        color: #2ecc71;
    }
    
    .activity-status-area.failed {
        background: rgba(231, 76, 60, 0.2);
        border: 1px solid rgba(231, 76, 60, 0.3);
        color: #e74c3c;
    }
}

.status-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.status-content {
    font-size: 14px;
    line-height: 1.4;
}

/* 活动表单 */
.activity-form {
    display: block;
}

.activity-form.hidden {
    display: none;
}

.activity-form .form-group {
    margin-bottom: 15px;
}

.activity-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.activity-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--card-background);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.activity-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.2);
}

/* 深色模式下的表单输入框聚焦 */
[data-theme="dark"] .activity-form .form-group input:focus {
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
}

@media (prefers-color-scheme: dark) {
    .activity-form .form-group input:focus {
        box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
    }
}

.activity-form .input-hint {
    font-size: 12px;
    color: var(--lighter-text);
    margin-top: 5px;
    transition: color 0.3s ease;
}

.activity-action {
    text-align: center;
}

.activity-btn {
    padding: 12px 25px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.activity-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.activity-btn:disabled {
    background-color: var(--border-color);
    color: var(--light-text);
    cursor: not-allowed;
    transform: none;
}

/* 邀请活动相关样式 */
.invite-info {
    background: linear-gradient(135deg, rgba(108, 124, 231, 0.1) 0%, rgba(108, 124, 231, 0.2) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* 深色模式下的邀请信息 */
[data-theme="dark"] .invite-info {
    background: linear-gradient(135deg, rgba(108, 124, 231, 0.15) 0%, rgba(108, 124, 231, 0.25) 100%);
}

@media (prefers-color-scheme: dark) {
    .invite-info {
        background: linear-gradient(135deg, rgba(108, 124, 231, 0.15) 0%, rgba(108, 124, 231, 0.25) 100%);
    }
}

.invite-code-section {
    margin-bottom: 20px;
}

.invite-link-section {
    margin-bottom: 20px;
}

.invite-label {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.invite-code-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.invite-link-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.invite-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(108, 124, 231, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.invite-link {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    background: rgba(108, 124, 231, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: text;
}

.invite-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.2);
}

/* 深色模式下的邀请码和链接 */
[data-theme="dark"] .invite-code,
[data-theme="dark"] .invite-link {
    background: rgba(108, 124, 231, 0.2);
}

[data-theme="dark"] .invite-link:focus {
    box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
}

@media (prefers-color-scheme: dark) {
    .invite-code,
    .invite-link {
        background: rgba(108, 124, 231, 0.2);
    }
    
    .invite-link:focus {
        box-shadow: 0 0 0 2px rgba(108, 124, 231, 0.3);
    }
}

.copy-btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    background-color: var(--card-background);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* 深色模式下的复制按钮 */
[data-theme="dark"] .copy-btn.copied {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

@media (prefers-color-scheme: dark) {
    .copy-btn.copied {
        background-color: #2ecc71;
        border-color: #2ecc71;
    }
}

.invite-hint {
    font-size: 12px;
    color: var(--lighter-text);
    transition: color 0.3s ease;
}

.invite-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(108, 124, 231, 0.2);
    transition: all 0.3s ease;
}

/* 深色模式下的统计项 */
[data-theme="dark"] .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(108, 124, 231, 0.3);
}

@media (prefers-color-scheme: dark) {
    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(108, 124, 231, 0.3);
    }
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 124, 231, 0.2);
}

/* 深色模式下的统计项悬停 */
[data-theme="dark"] .stat-item:hover {
    box-shadow: 0 4px 12px rgba(108, 124, 231, 0.3);
}

@media (prefers-color-scheme: dark) {
    .stat-item:hover {
        box-shadow: 0 4px 12px rgba(108, 124, 231, 0.3);
    }
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 12px;
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 返回按钮区域 */
.back-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.back-section .btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* 模态框基础样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

/* 深色模式下的模态框背景 */
[data-theme="dark"] .modal {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
    .modal {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.3s;
    position: relative;
    transition: background-color 0.3s ease;
}

/* 深色模式下的模态框阴影 */
[data-theme="dark"] .modal-content {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
    .modal-content {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.close-details-modal {
    font-size: 24px;
    font-weight: bold;
    color: var(--lighter-text);
    cursor: pointer;
    line-height: 1;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.3s ease;
}

.close-details-modal:hover {
    color: var(--text-color);
}

/* 活动详情图片模态框 */
.activity-details-modal {
    max-width: 900px;
}

.activity-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.activity-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

/* 深色模式下的图片阴影 */
[data-theme="dark"] .activity-image {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .activity-image {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

.activity-image:hover {
    transform: scale(1.02);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .rights-section {
        padding: 10px;
    }
    
    .rights-container {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    /* 保持横向布局，调整字体和间距 */
    .benefits-header > div {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .level-badge {
        font-size: 14px;
    }
    
    .level-desc {
        font-size: 10px;
    }
    
    .benefits-row > div {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .feature-name {
        font-size: 12px;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card {
        padding: 20px;
    }
    
    .activity-header h3 {
        font-size: 18px;
    }
    
    .activity-slogan {
        font-size: 15px;
    }
    
    .step {
        font-size: 13px;
    }
    
    .activity-card {
        padding: 15px;
    }
    
    .activity-header h3 {
        font-size: 16px;
    }
    
    .activity-slogan {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .step {
        font-size: 12px;
        padding-left: 12px;
    }
    
    .activity-action {
        flex-direction: column;
    }
    
    .activity-action .btn {
        margin-bottom: 10px;
    }
    
    .activity-action .btn:last-child {
        margin-bottom: 0;
    }
    
    .activity-details-modal {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 90vh;
    }
    
    .activity-image {
        max-width: 100%;
    }
    
    .activity-action .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .activity-details-modal {
        margin: 5px;
        width: calc(100% - 10px);
        max-height: 95vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .activity-images {
        gap: 10px;
    }
    
    .redemption-section {
        padding: 20px;
    }
    
    .redemption-section h2 {
        font-size: 20px;
    }
    
    .redemption-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .redemption-input-group button {
        margin-top: 5px;
    }
    
    .activity-notice {
        padding: 12px;
    }
    
    .notice-title {
        font-size: 14px;
    }
    
    .notice-list li {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .purchase-plans {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .plan-item {
        padding: 15px 10px;
    }
    
    .purchase-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    /* 邀请活动响应式 */
    .invite-info {
        padding: 15px;
    }
    
    .invite-code-display,
    .invite-link-display {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .invite-code {
        text-align: center;
        font-size: 16px;
    }
    
    .invite-link {
        font-size: 12px;
        text-align: center;
    }
    
    .copy-btn {
        align-self: center;
        width: fit-content;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .rights-container {
        padding: 15px;
    }
    
    .page-header {
        margin-bottom: 30px;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
    
    /* 超小屏幕上仍保持横向对比 */
    .benefits-header > div {
        padding: 10px 4px;
        font-size: 12px;
    }
    
    .level-badge {
        font-size: 12px;
    }
    
    .level-desc {
        font-size: 9px;
    }
    
    .benefits-row > div {
        padding: 10px 4px;
        font-size: 11px;
    }
    
    .feature-name {
        font-size: 10px;
        padding: 10px 6px;
    }
    
    .redemption-section {
        padding: 15px;
    }
    
    .redemption-section h2 {
        font-size: 18px;
    }
    
    .redemption-input-group input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .redemption-input-group button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .activity-notice {
        padding: 10px;
    }
    
    .notice-title {
        font-size: 13px;
    }
    
    .notice-list li {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .purchase-card {
        padding: 20px;
    }
    
    .purchase-header h3 {
        font-size: 20px;
    }
    
    .plan-item {
        padding: 15px 10px;
    }
    
    .plan-price {
        font-size: 20px;
    }
    
    /* 邀请活动超小屏响应式 */
    .invite-info {
        padding: 12px;
    }
    
    .invite-code {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .invite-link {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}