/* 柔痕中秋活动 - 前台样式 v1.5 */
/* 默认主题：中秋星空 */
.rouhen-ma {
    --ma-primary: var(--ma-primary);
    --ma-secondary: var(--ma-secondary);
    --ma-accent: var(--ma-accent);
    --ma-bg: #0a0a14;
    --ma-card: rgba(255,255,255,0.05);
    --ma-border: rgba(255,255,255,0.1);
    --ma-text: #ffffff;
    --ma-text-muted: rgba(255,255,255,0.7);
    color: var(--ma-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--ma-bg);
    min-height: 100vh;
    /* 突破主题内容容器，全屏宽度 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    overflow-x: hidden;
    padding-bottom: 40px;
}

/* ===== 主题：新春红金 ===== */
.rouhen-ma.theme-spring {
    --ma-primary: #dc2626;
    --ma-secondary: #f59e0b;
    --ma-accent: var(--ma-accent);
    --ma-bg: #1a0a0a;
}
/* ===== 主题：国庆红 ===== */
.rouhen-ma.theme-national {
    --ma-primary: #dc2626;
    --ma-secondary: #f59e0b;
    --ma-accent: #ffffff;
    --ma-bg: #0a0a14;
}
/* ===== 主题：圣诞绿红 ===== */
.rouhen-ma.theme-christmas {
    --ma-primary: #16a34a;
    --ma-secondary: #dc2626;
    --ma-accent: var(--ma-accent);
    --ma-bg: #0a140a;
}
/* ===== 主题：浪漫粉紫 ===== */
.rouhen-ma.theme-valentine {
    --ma-primary: var(--ma-secondary);
    --ma-secondary: var(--ma-primary);
    --ma-accent: #f9a8d4;
    --ma-bg: #140a14;
}
/* ===== 主题：深海蓝 ===== */
.rouhen-ma.theme-ocean {
    --ma-primary: #0ea5e9;
    --ma-secondary: #6366f1;
    --ma-accent: #22d3ee;
    --ma-bg: #0a0e1a;
}

/* 主题渐变背景覆盖 */
.rouhen-ma.theme-spring { background: linear-gradient(135deg, #1a0a0a 0%, #2d0a0a 50%, #1a0a0a 100%); }
.rouhen-ma.theme-national { background: linear-gradient(135deg, #0a0a14 0%, #1a0a0a 100%); }
.rouhen-ma.theme-christmas { background: linear-gradient(135deg, #0a140a 0%, #0a1f0a 100%); }
.rouhen-ma.theme-valentine { background: linear-gradient(135deg, #140a14 0%, #1f0a1a 100%); }
.rouhen-ma.theme-ocean { background: linear-gradient(135deg, #0a0e1a 0%, #0a1428 100%); }

/* ===== 顶部横幅 ===== */
.ma-banner {
    position: relative;
    text-align: center;
    padding: 50px 20px 40px;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(0,0,0,0.25), transparent 70%);
}
.ma-banner-bg {
    position: absolute;
    top: -80px; right: 10%;
    width: 160px; height: 160px;
    background: radial-gradient(circle, #ffd700, #f59e0b 60%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2px);
    animation: moonGlow 4s ease-in-out infinite;
}
@keyframes moonGlow {
    0%,100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.65; }
}
.ma-banner-content {
    position: relative; z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ma-title {
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #ffd700, #ff8c00, var(--ma-secondary), var(--ma-primary), #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 4s linear infinite;
    letter-spacing: 2px;
}
@keyframes titleShine {
    to { background-position: 200% center; }
}
.ma-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin: 0 0 24px;
}
.ma-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}
.cd-label { color: rgba(255,255,255,0.6); font-size: 13px; }
.cd-item { display: inline-flex; flex-direction: column; align-items: center; }
.cd-item b {
    font-size: 22px; font-weight: 800;
    color: var(--ma-gold);
    min-width: 28px;
}
.cd-item i { font-size: 11px; font-style: normal; color: rgba(255,255,255,0.5); }

/* 活动通知 */
.ma-notice {
    max-width: 1200px;
    margin: 16px auto;
    padding: 14px 20px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: 12px;
    color: var(--ma-accent);
    text-align: center;
    font-size: 14px;
}

/* ===== 容器 ===== */
.ma-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ma-section { margin-top: 32px; }
.ma-section-title {
    text-align: center;
    margin-bottom: 24px;
}
.ma-section-title h2 {
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 800;
}
.ma-section-title p {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
}
.ma-title-icon { font-size: 28px; }

/* ===== 抽奖区 ===== */
.ma-lottery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.wheel-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    flex-shrink: 0;
    animation: wheelFloat 4s ease-in-out infinite;
}
@keyframes wheelFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(from 0deg,
        rgba(0,0,0,0.22), rgba(0,0,0,0.22),
        rgba(0,0,0,0.22), rgba(0,0,0,0.22),
        rgba(0,0,0,0.22), rgba(0,0,0,0.22),
        rgba(0,0,0,0.22), rgba(0,0,0,0.22));
    border: 5px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 0 40px rgba(0,0,0,0.5),
        0 0 80px rgba(0,0,0,0.25),
        inset 0 0 30px rgba(0,0,0,0.5);
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    will-change: transform;
}
.wheel::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00, var(--ma-secondary), var(--ma-primary));
    z-index: -1;
}
.sector {
    position: absolute;
    inset: 0;
    transform-origin: center;
}
.sector-inner {
    position: absolute;
    top: 11%;
    left: 50%;
    text-align: center;
    width: 68px;
}
.prize-icon { font-size: 22px; display: block; line-height: 1; }
.prize-name {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-top: 3px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
    line-height: 1.2;
    word-break: break-all;
}
.wheel-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.7), inset 0 2px 10px rgba(255,255,255,0.3);
    z-index: 10;
}
.draw-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1.2;
    padding: 0;
}
.draw-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wheel-pointer {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 28px solid #ffd700;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    z-index: 20;
}

/* 信息卡片 */
.ma-lottery-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-width: 260px;
}
.ma-info-card {
    background: var(--ma-card);
    border: 1px solid var(--ma-border);
    border-radius: 14px;
    padding: 14px 16px;
    text-align: center;
}
.ma-info-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}
.ma-info-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--ma-gold);
}
.ma-info-value small {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}
.ma-tip {
    grid-column: 1 / -1;
    text-align: center;
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
    padding: 6px;
    background: rgba(74,222,128,0.1);
    border-radius: 8px;
}

/* ===== 中奖播报（横向滚动跑马灯） ===== */
.ma-winners-scroll {
    margin-top: 28px;
    background: linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.08));
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.ma-winners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15));
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.ma-winners-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}
.ma-winners-title .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.ma-winners-count {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.ma-winners-viewport {
    height: 56px;
    overflow: hidden;
    position: relative;
}
.ma-winners-track {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    padding: 0 18px;
    white-space: nowrap;
    animation: winnersScroll 40s linear infinite;
}
.ma-winners-scroll:hover .ma-winners-track { animation-play-state: paused; }
@keyframes winnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ma-winner-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    font-size: 13px;
    flex-shrink: 0;
}
.ma-winner-avatar {
    font-size: 16px;
}
.ma-winner-name {
    color: #c4b5fd;
    font-weight: 700;
}
.ma-winner-action {
    color: rgba(255,255,255,0.45);
}
.ma-winner-prize {
    color: var(--ma-accent);
    font-weight: 700;
}

/* ===== 奖品列表 ===== */
.ma-prizes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 28px;
}
.ma-prize-item {
    background: var(--ma-card);
    border: 1px solid var(--ma-border);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s;
}
.ma-prize-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255,215,0,0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.ma-prize-icon { font-size: 30px; display: block; }
.ma-prize-name {
    display: block;
    font-size: 13px;
    color: #fff;
    margin: 8px 0 4px;
    font-weight: 600;
}
.ma-prize-prob {
    display: block;
    font-size: 12px;
    color: var(--ma-gold);
    font-weight: 700;
    margin-bottom: 4px;
}
.ma-prize-stock {
    display: block;
    font-size: 11px;
    color: #4ade80;
}
.ma-prize-stock.ma-stock-low { color: var(--ma-accent); }
.ma-prize-stock.ma-stock-out { color: #ef4444; }
.ma-prize-item.ma-stock-out { opacity: 0.45; }

/* ===== 会员区 ===== */
.ma-vip-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}
.ma-vip-card {
    position: relative;
    background: var(--ma-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--ma-border);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    min-height: 520px;
}
.ma-vip-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.08), transparent 30%);
    animation: cardShine 4s linear infinite;
    pointer-events: none;
}
@keyframes cardShine {
    100% { transform: rotate(360deg); }
}
.ma-vip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.ma-vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ma-primary), #6366f1);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 16px;
    align-self: center;
}
.ma-vip-badge-hot { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.ma-vip-icon { font-size: 52px; margin-bottom: 14px; }
.ma-vip-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.ma-vip-features li {
    padding: 8px 0;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ma-vip-features li:last-child { border-bottom: none; }
.ma-vip-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.ma-vip-old {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}
.ma-vip-now {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ma-vip-now small { font-size: 16px; }
.ma-vip-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    flex-shrink: 0;
}
.ma-vip-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.6); }
.ma-vip-btn-gold {
    background: linear-gradient(135deg, var(--ma-secondary), var(--ma-primary));
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
/* 活动未开启：按钮禁用样式 */
.ma-vip-btn.ma-btn-disabled,
.ma-vip-btn[disabled] {
    background: #4a4a5a !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7;
    filter: grayscale(0.6);
}
.ma-vip-btn.ma-btn-disabled:hover,
.ma-vip-btn[disabled]:hover {
    transform: none !important;
    box-shadow: none !important;
}
.ma-vip-save {
    margin-top: 10px;
    font-size: 13px;
    color: #4ade80;
    font-weight: 600;
    flex-shrink: 0;
}

/* ===== 中奖弹窗 ===== */
.rouhen-ma .ma-modal {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}
.ma-modal.show { display: flex; }
.ma-modal-content {
    position: relative;
    background: linear-gradient(160deg, #1a1a2e, #16213e);
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.ma-modal-close {
    position: absolute;
    top: 14px; right: 18px;
    font-size: 24px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
}
.ma-modal-icon { font-size: 60px; margin-bottom: 10px; }
.ma-modal-title {
    font-size: 22px;
    margin: 0 0 12px;
    color: var(--ma-gold);
}
.ma-modal-prize {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.ma-modal-tip {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 20px;
}
.ma-modal-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* ===== 动态背景粒子 ===== */
.rouhen-ma::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,215,0,0.5), transparent),
        radial-gradient(1px 1px at 40% 80%, rgba(0,0,0,0.5), transparent),
        radial-gradient(2px 2px at 90% 50%, rgba(0,0,0,0.5), transparent),
        radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,215,0,0.4), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(0,0,0,0.4), transparent);
    background-size: 100% 100%;
    animation: starsTwinkle 4s ease-in-out infinite;
}
@keyframes starsTwinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
/* 流动光斑 */
.rouhen-ma::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 80%, rgba(0,0,0,0.12), transparent),
        radial-gradient(ellipse 500px 500px at 80% 20%, rgba(0,0,0,0.1), transparent);
    animation: bgFlow 12s ease-in-out infinite;
}
@keyframes bgFlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}
.rouhen-ma > * { position: relative; z-index: 1; }

/* ===== 抽奖按钮脉冲动画 ===== */
.wheel-center {
    animation: btnPulse 2s ease-in-out infinite;
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(0,0,0,0.7), inset 0 2px 10px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 45px rgba(0,0,0,0.9), 0 0 70px rgba(0,0,0,0.5), inset 0 2px 10px rgba(255,255,255,0.4); }
}
.draw-btn {
    transition: transform 0.2s;
}
.draw-btn:hover {
    transform: scale(1.08);
}
.draw-btn:active {
    transform: scale(0.95);
}

/* 会员按钮动画 */
.ma-vip-btn {
    position: relative;
    overflow: hidden;
}
.ma-vip-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 120%; }
}

/* 积分变化弹出动画 */
.ma-info-value.credit-pop {
    animation: creditPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #4ade80;
}
@keyframes creditPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); color: #4ade80; }
    100% { transform: scale(1); }
}

/* ===== 底部双栏布局 ===== */
.ma-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.ma-users-section,
.ma-hot-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.08));
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.ma-users-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15));
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.ma-users-icon { font-size: 18px; }
.ma-users-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.ma-users-count {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.ma-users-viewport,
.ma-hot-viewport {
    height: 320px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.ma-users-track,
.ma-hot-track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 14px;
    animation: scrollUp 40s linear infinite;
}
.ma-users-viewport:hover .ma-users-track,
.ma-hot-viewport:hover .ma-hot-track {
    animation-play-state: paused;
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* 用户项 */
.ma-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    flex-shrink: 0;
}
.ma-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.5);
}
.ma-user-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    font-size: 18px;
}
.ma-user-name {
    font-size: 14px;
    color: #c4b5fd;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ma-user-credit {
    margin-left: auto;
    font-size: 14px;
    color: var(--ma-accent);
    font-weight: 700;
}

/* 热门套图项 */
.ma-hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.25s;
}
.ma-hot-item:hover {
    background: rgba(0,0,0,0.15);
    border-color: rgba(0,0,0,0.4);
    transform: translateX(4px);
}
.ma-hot-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}
.ma-hot-thumb-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    font-size: 22px;
}
.ma-hot-title {
    font-size: 13px;
    color: #e0e0e0;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ma-hot-views {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    align-self: flex-end;
}

/* 移动端：双栏变单栏 */
@media (max-width: 768px) {
    .ma-bottom-grid {
        grid-template-columns: 1fr;
    }
    .ma-users-viewport,
    .ma-hot-viewport {
        height: 260px;
    }
}

/* ===== 底部 ===== */
.ma-footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .ma-title { font-size: 28px; }
    .ma-subtitle { font-size: 13px; }
    .ma-lottery { gap: 24px; }
    .wheel-wrapper { width: 300px; height: 300px; }
    .wheel-center { width: 86px; height: 86px; }
    .draw-btn { font-size: 16px; }
    .ma-lottery-info { min-width: 100%; grid-template-columns: 1fr 1fr; }
    .ma-vip-cards { grid-template-columns: 1fr; }
    .ma-vip-card { min-height: auto; }
    .ma-section-title h2 { font-size: 22px; }
    .ma-prizes-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ma-prize-item { padding: 12px 6px; }
    .ma-prize-name { font-size: 12px; }
    .ma-winners-track { animation-duration: 30s; }
}
@media (max-width: 480px) {
    .ma-title { font-size: 24px; letter-spacing: 1px; }
    .wheel-wrapper { width: 280px; height: 280px; }
    .ma-countdown { padding: 10px 14px; gap: 6px; }
    .cd-item b { font-size: 18px; min-width: 22px; }
    .ma-prizes-list { grid-template-columns: repeat(2, 1fr); }
    .ma-info-value { font-size: 20px; }
    .ma-vip-now { font-size: 34px; }
    .ma-modal-content { padding: 30px 20px; }
}
