/* ========== 更新日志 ========== */
.timeline-updates { max-width: 800px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline-updates::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent2)); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--accent); }
.timeline-date { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.timeline-content { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; }
.timeline-content h4 { color: var(--text); margin: 0 0 12px 0; font-size: 1.1rem; }
.timeline-content ul { margin: 0; padding-left: 20px; }
.timeline-content li { color: var(--text2); margin-bottom: 6px; line-height: 1.6; font-size: 0.9rem; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(78,205,196,0.3); }
.faq-question { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); user-select: none; }
.faq-question:hover { color: var(--accent); }
.faq-toggle { font-size: 1.5rem; color: var(--accent); transition: transform 0.3s; font-weight: 300; }
.faq-question.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.faq-question.active + .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text2); line-height: 1.8; margin: 0; font-size: 0.9rem; }
/* ========== 服务器公告+签到 ========== */
.server-status-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.announcement-card, .checkin-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; }
.announcement-card h3, .checkin-card h3 { margin: 0 0 16px 0; color: var(--text); font-size: 1.1rem; }
.announcement-list { display: flex; flex-direction: column; gap: 12px; }
.announcement-list .announcement-item { background: rgba(255,255,255,0.02); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; display: flex; gap: 16px; align-items: flex-start; }
.announcement-date { font-size: 0.75rem; color: var(--accent); margin-bottom: 0; min-width: 115px; flex-shrink: 0; font-weight: 600; padding-top: 2px; }
.announcement-content { flex: 1; min-width: 0; }
.announcement-title { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 0.95rem; }
.announcement-desc { color: var(--text2); font-size: 0.85rem; line-height: 1.6; }
.checkin-stats { display: flex; gap: 16px; margin-bottom: 20px; }
.checkin-stats .stat-item { flex: 1; text-align: center; background: rgba(255,255,255,0.03); border-radius: 12px; padding: 16px 8px; }
.checkin-stats .stat-number { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.checkin-stats .stat-label { font-size: 0.75rem; color: var(--text2); margin-top: 4px; }
.checkin-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.checkin-form input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 16px; color: var(--text); font-size: 0.9rem; outline: none; transition: border-color 0.3s; }
.checkin-form input:focus { border-color: var(--accent); }
.checkin-form .btn { width: 100%; }
.checkin-tip { font-size: 0.75rem; color: var(--text3); text-align: center; line-height: 1.5; }

/* ========== 玩家作品 ========== */
.works-gallery { max-width: 1100px; margin: 0 auto; }
.work-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.work-image { width: 100%; height: 180px; background: linear-gradient(135deg, #1a1a2e, #16213e); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; }
.work-image.placeholder { background: linear-gradient(135deg, rgba(78,205,196,0.1), rgba(200,85,61,0.1)); }
.work-image.placeholder span { color: var(--text3); font-size: 0.9rem; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.work-info { padding: 16px; }
.work-title { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 0.95rem; }
.work-author { font-size: 0.8rem; color: var(--text2); }
.works-tip { text-align: center; color: var(--text3); font-size: 0.85rem; margin-top: 24px; }

/* ========== 玩家视频 ========== */
.videos-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.video-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.video-thumbnail { width: 100%; height: 180px; background: linear-gradient(135deg, #1a1a2e, #16213e); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; }
.video-thumbnail.placeholder { background: linear-gradient(135deg, rgba(78,205,196,0.1), rgba(200,85,61,0.1)); }
.video-thumbnail.placeholder span { color: var(--text3); font-size: 0.9rem; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.video-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-cover-fallback { width: 100%; height: 100%; background: url('/assets/catgirls/switch.webp') center/cover, linear-gradient(135deg,#1a1a2e,#16213e); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; position: relative; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; transition: all 0.3s; pointer-events: none; }
.video-card:hover .video-play-btn { background: rgba(200,85,61,0.9); transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 16px; }
.video-title { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 0.95rem; }
.video-author { font-size: 0.8rem; color: var(--text2); }
.video-category { display: inline-block; padding: 2px 8px; background: rgba(78,205,196,0.15); color: var(--cyan); border-radius: 4px; font-size: 0.7rem; margin-top: 6px; }
.video-desc { font-size: 0.8rem; color: var(--text2); margin-top: 8px; line-height: 1.5; }
.video-delete-btn { position: absolute; top: 8px; right: 8px; background: rgba(200,85,61,0.9); color: #fff; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 14px; display: none; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s; }
.video-edit-btn { position: absolute; top: 8px; right: 42px; background: rgba(78,205,196,0.85); color: #fff; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 14px; display: none; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s; }
.video-card:hover .video-delete-btn, .video-card:hover .video-edit-btn { display: flex; }
.video-delete-btn:hover { background: rgba(200,85,61,1); transform: scale(1.1); }
.video-edit-btn:hover { background: rgba(78,205,196,1); transform: scale(1.1); }

/* 视频播放器 */
.video-player-container { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.video-player-container iframe { width: 100%; height: 100%; border: none; }

/* ========== 作品/视频点赞按钮 ========== */
.work-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.work-like-btn:hover {
  background: rgba(231,76,60,0.15);
  border-color: rgba(231,76,60,0.3);
  color: #e74c3c;
  transform: scale(1.05);
}
.work-like-btn:active {
  transform: scale(0.95);
}

/* ========== 弹窗通用样式 ========== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.modal-overlay.active { display: flex; animation: modal-pop .28s ease; }
.modal-box { background: var(--bg); border: 2px solid var(--border); border-radius: 16px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); animation: modal-pop .3s ease; scrollbar-width: none; -ms-overflow-style: none; }
.modal-box::-webkit-scrollbar { display: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-header h3 { margin: 0; font-size: 1.1rem; color: var(--text); }
.modal-close { cursor: pointer; color: var(--text3); font-size: 1.2rem; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-body { padding: 20px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 20px; border-top: 1px solid var(--border); }

/* ========== 表单样式 ========== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text2); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; background: var(--bg-deep); border: 2px solid var(--border); color: var(--text); padding: 10px 12px; border-radius: 8px; font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }

/* ========== 作品卡片管理员操作 ========== */
.work-card { position: relative; }
.work-delete-btn { position: absolute; top: 8px; right: 8px; background: rgba(200,85,61,0.9); color: #fff; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 14px; display: none; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s; }
.work-card:hover .work-delete-btn { display: flex; }
.work-delete-btn:hover { background: rgba(200,85,61,1); transform: scale(1.1); }
.work-share-btn { position: absolute; top: 8px; left: 8px; background: rgba(78,205,196,0.9); color: #fff; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s; opacity: 0; }
.work-card:hover .work-share-btn { opacity: 1; }
.work-share-btn:hover { background: rgba(78,205,196,1); transform: scale(1.1); }

/* ========== 装备查询工具 ========== */
.eq-search-box { max-width: 500px; margin: 0 auto 20px; }
.eq-search-box input { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; font-family: inherit; }
.eq-search-box input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(78,205,196,0.1); }
.eq-filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.eq-tab { padding: 8px 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); cursor: pointer; font-size: 13px; font-family: inherit; transition: all 0.2s; }
.eq-tab:hover { border-color: var(--cyan); color: var(--cyan); }
.eq-tab.active { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.eq-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 42px 16px 16px; cursor: pointer; transition: all 0.2s; }
.eq-card:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.eq-card-icon { font-size: 32px; margin-bottom: 8px; }
.eq-card-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.eq-card-type { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.eq-card-rarity { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.rarity-common { background: rgba(150,150,150,0.2); color: #aaa; }
.rarity-uncommon { background: rgba(92,184,92,0.2); color: #5cb85c; }
.rarity-rare { background: rgba(78,205,196,0.2); color: var(--cyan); }
.rarity-epic { background: rgba(198,161,255,0.2); color: var(--purple); }
.rarity-legendary { background: rgba(255,209,102,0.2); color: var(--gold); }
.rarity-mythic { background: rgba(255,70,70,0.2); color: #ff4646; }
.eq-tip { text-align: center; color: var(--text-dim); font-size: 12px; margin-top: 20px; }
.eq-detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.eq-stat-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.eq-stat-label { font-size: 11px; color: var(--text-dim); margin-bottom: 2px; }
.eq-stat-value { font-size: 16px; font-weight: 600; color: var(--cyan); }
.eq-level-selector { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.eq-level-btn { padding: 6px 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 6px; color: var(--text-dim); cursor: pointer; font-size: 12px; font-family: inherit; transition: all 0.2s; }
.eq-level-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.eq-level-btn.active { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.eq-enchants { margin-top: 12px; }
.eq-enchant-tag { display: inline-block; padding: 3px 8px; background: rgba(198,161,255,0.15); border: 1px solid rgba(198,161,255,0.3); border-radius: 4px; color: var(--purple); font-size: 11px; margin: 2px; }
.work-desc { font-size: 0.75rem; color: var(--text3); margin-top: 4px; line-height: 1.4; }

/* ========== 待审核作品列表 ========== */
.pending-list { max-height: 400px; overflow-y: auto; }
.pending-item { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; align-items: center; }
.pending-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.pending-info { flex: 1; min-width: 0; }
.pending-title { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.pending-author { font-size: 0.75rem; color: var(--text2); }
.pending-actions { display: flex; gap: 6px; flex-shrink: 0; }
.pending-actions button { padding: 6px 10px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.75rem; font-family: inherit; }
.btn-approve { background: #4ecdc4; color: #fff; }
.btn-approve:hover { background: #45b7aa; }
.btn-reject { background: #c8553d; color: #fff; }
.btn-reject:hover { background: #a84432; }
.modal-btn-cancel { padding: 8px 18px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text2); cursor: pointer; font-size: 0.9rem; font-family: inherit; transition: all 0.2s; }
.modal-btn-cancel:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.modal-btn-ok { padding: 8px 18px; border: none; border-radius: 8px; background: linear-gradient(135deg,#4ecdc4,#45b7aa); color: #fff; cursor: pointer; font-size: 0.9rem; font-family: inherit; font-weight: 600; transition: all 0.2s; }
.modal-btn-ok:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(78,205,196,.3); }
.modal-btn-ok:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.modal-tabs { display: flex; gap: 6px; padding: 12px 20px 0; }
.modal-tab { padding: 6px 14px; border: none; border-radius: 8px 8px 0 0; background: transparent; color: var(--text3); cursor: pointer; font-size: 0.85rem; font-family: inherit; transition: all 0.2s; }
.modal-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.modal-tab.active { color: #4ecdc4; background: rgba(78,205,196,0.12); border-bottom: 2px solid #4ecdc4; font-weight: 600; }
.video-pinned-badge { position: absolute; top: 8px; left: 8px; background: rgba(255,215,0,0.85); color: #1a1a2e; font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; z-index: 10; }
.video-plays { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 6px; z-index: 10; }


/* ========== 在线抽奖（新版转盘） ========== */
.lottery-container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; align-items: start; }
.lottery-wheel-wrapper { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.lottery-wheel {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 8px solid #4ecdc4;
  box-shadow: 0 0 40px rgba(78,205,196,0.3);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  background: conic-gradient(
    #4ecdc4 0deg 45deg,
    #45b7aa 45deg 90deg,
    #c8553d 90deg 135deg,
    #e07a5f 135deg 180deg,
    #f2cc8f 180deg 225deg,
    #81b29a 225deg 270deg,
    #3d405b 270deg 315deg,
    #6d597a 315deg 360deg
  );
}
.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  margin-left: -50px;
  text-align: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  transform-origin: center;
  pointer-events: none;
  white-space: nowrap;
}
.lottery-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #ff6b6b;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.lottery-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: 4px solid white;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  line-height: 1.2;
}
.lottery-btn:hover { transform: translate(-50%, -50%) scale(1.05); }
.lottery-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.lottery-info { display: flex; flex-direction: column; gap: 20px; }
.lottery-stats { display: flex; gap: 16px; }
.lottery-stats .stat-item { flex: 1; text-align: center; background: rgba(255,255,255,0.03); border-radius: 12px; padding: 16px 8px; }
.lottery-stats .stat-number { font-size: 1.8rem; font-weight: 700; color: #4ecdc4; }
.lottery-stats .stat-label { font-size: 0.75rem; color: #a0a0b0; margin-top: 4px; }
.lottery-prize-list, .lottery-records { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; }
.lottery-prize-list h4, .lottery-records h4 { margin: 0 0 12px 0; color: #e0e0e0; font-size: 0.95rem; }
.lottery-prize-list ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lottery-prize-list li { color: #a0a0b0; font-size: 0.8rem; display: flex; justify-content: space-between; }
.prize-rate { color: #4ecdc4; font-weight: 600; }
.lottery-tip { background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.2); border-radius: 8px; padding: 10px 14px; color: #ff6b6b; font-size: 0.8rem; line-height: 1.5; }
.record-list { display: flex; flex-direction: column; gap: 8px; max-height: 150px; overflow-y: auto; }
.record-item { display: flex; justify-content: space-between; font-size: 0.8rem; color: #a0a0b0; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.record-item .record-prize { color: #4ecdc4; font-weight: 600; }
.record-empty { color: #606070; font-size: 0.8rem; text-align: center; padding: 20px 0; }
@media (max-width: 768px) { .lottery-container { grid-template-columns: 1fr; } .lottery-prize-list ul { grid-template-columns: 1fr; } }
/* ========== 简单抽奖（无转盘） ========== */
.lottery-simple-wrapper { display: flex; justify-content: center; align-items: center; min-height: 300px; }
.lottery-simple-box { text-align: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 40px 30px; max-width: 360px; width: 100%; }
.lottery-simple-icon { font-size: 4rem; margin-bottom: 16px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lottery-simple-title { font-size: 1.5rem; font-weight: 700; color: #e0e0e0; margin-bottom: 8px; }
.lottery-simple-desc { font-size: 0.85rem; color: #a0a0b0; margin-bottom: 24px; line-height: 1.6; }
.lottery-simple-btn { background: linear-gradient(135deg, #4ecdc4, #45b7aa); color: white; border: none; border-radius: 50px; padding: 14px 40px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(78,205,196,0.3); }
.lottery-simple-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(78,205,196,0.4); }
.lottery-simple-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
/* ========== 3D全景地图 ========== */
.panorama-container { max-width: 900px; margin: 0 auto; }
.panorama-placeholder { background: rgba(255,255,255,0.03); border: 2px dashed rgba(255,255,255,0.15); border-radius: 20px; padding: 60px 40px; text-align: center; }
.panorama-icon { font-size: 4rem; margin-bottom: 16px; }
.panorama-placeholder h3 { color: var(--text); margin: 0 0 12px 0; font-size: 1.3rem; }
.panorama-placeholder p { color: var(--text2); margin: 0 0 8px 0; line-height: 1.6; }
.panorama-tip { color: var(--text3) !important; font-size: 0.85rem !important; margin-top: 16px !important; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .server-status-grid, .lottery-container { grid-template-columns: 1fr; }
  .works-gallery { grid-template-columns: 1fr; }
  .lottery-prize-list ul { grid-template-columns: 1fr; }
}

/* ========== 3D全景地图（图片版） ========== */
.panorama-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.panorama-image-wrapper { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.panorama-image-wrapper:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.panorama-image { width: 100%; height: auto; display: block; }
.panorama-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.panorama-image-wrapper:hover .panorama-overlay { opacity: 1; }
.panorama-overlay span { color: white; font-size: 1.1rem; font-weight: 600; background: rgba(0,0,0,0.6); padding: 10px 20px; border-radius: 30px; }
.panorama-info { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; }
.panorama-info h4 { margin: 0 0 12px 0; color: var(--text); font-size: 1.1rem; }
.panorama-info p { color: var(--text2); line-height: 1.7; margin: 0 0 16px 0; font-size: 0.9rem; }
.panorama-more { display: flex; flex-wrap: wrap; gap: 8px; }
.panorama-tag { background: rgba(78,205,196,0.1); border: 1px solid rgba(78,205,196,0.2); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; }
@media (max-width: 768px) { .panorama-container { grid-template-columns: 1fr; } }

/* ========== 导航栏下拉菜单 ========== */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-toggle { cursor: pointer; }
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(20, 20, 35, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #c0c0d0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-dropdown .dropdown-menu a:hover {
  background: rgba(78,205,196,0.1);
  color: #4ecdc4;
  padding-left: 24px;
}
@media (max-width: 768px) {
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ========== 综合移动端适配 ========== */
@media (max-width: 768px) {
  .section { padding: 50px 16px; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 13px; }
  .hero-content { padding: 16px; }
  .hero-title { font-size: 1.8rem !important; }
  .hero-subtitle { font-size: 14px !important; }
  /* 作品卡片1列 */
  .works-gallery { grid-template-columns: 1fr; gap: 16px; }
  .work-image { height: 200px; }
  /* 服务器状态1列 */
  .server-status-grid { grid-template-columns: 1fr; gap: 16px; }
  /* 按钮触摸友好 */
  .btn, button { min-height: 44px; font-size: 14px; }
  /* 输入框触摸友好 */
  input, textarea, select { font-size: 16px; min-height: 44px; }
  /* QQ群二维码自适应 */
  .qq-qr-img { width: 100%; max-width: 320px; }
  /* 页脚 */
  .footer { padding: 30px 16px; font-size: 12px; }
  /* 游戏截图2列 */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  /* 加入信息网格2列 */
  .join-info-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  /* 公告折叠按钮 */
  .announcement-more { padding: 12px; }
  /* 灯箱图片更大 */
  .lightbox img { max-width: 95%; max-height: 80vh; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem !important; }
  .section-title { font-size: 1.3rem; }
  .works-gallery { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .join-info-grid { grid-template-columns: 1fr !important; }
  .loader-blocks { gap: 4px; }
  .loader-block { width: 20px; height: 20px; }
  .loader-progress { width: 200px; }
}

/* ========== 公告折叠 ========== */
.announcement-list .announcement-item:nth-child(n+4) { display: none; }
.announcement-list.show-all .announcement-item { display: block; }
.announcement-more {
  text-align: center;
  margin-top: 16px;
  padding: 10px;
  cursor: pointer;  color: #4ecdc4;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: background 0.2s;
  user-select: none;
}
.announcement-more:hover { background: rgba(78,205,196,0.1); }

/* ========== 活动预告倒计时 ========== */
.event-banner {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 20px;
}
.event-countdown {
  background: linear-gradient(135deg, rgba(78,205,196,0.15), rgba(198,161,255,0.15));
  border: 1px solid rgba(78,205,196,0.3);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.event-countdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: event-shine 3s infinite;
}
@keyframes event-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}
.event-countdown:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,205,196,0.2);
}
.event-countdown.active {
  background: linear-gradient(135deg, rgba(255,209,102,0.15), rgba(255,107,107,0.15));
  border-color: rgba(255,209,102,0.4);
}
.event-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.event-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  flex-shrink: 0;
}
.event-info { flex: 1; }
.event-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.event-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}
.event-status.upcoming { background: rgba(78,205,196,0.2); color: var(--cyan); }
.event-status.active { background: rgba(255,107,107,0.2); color: #ff6b6b; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.event-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.event-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.event-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.countdown-box {
  text-align: center;
}
.countdown-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'Courier New', monospace;
  line-height: 1;
}
.countdown-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 1.5rem;
  color: var(--text-dim);
  font-weight: 700;
}
.event-toggle {
  color: var(--text-dim);
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.event-countdown.expanded .event-toggle { transform: rotate(180deg); }
.event-list {
  display: none;
  margin-top: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.event-countdown.expanded + .event-list { display: block; }
.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: rgba(255,255,255,0.03); }
.event-item-icon { font-size: 1.5rem; width: 40px; text-align: center; }
.event-item-info { flex: 1; }
.event-item-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.event-item-time { font-size: 0.75rem; color: var(--text-dim); }
.event-item-status { flex-shrink: 0; }
@media (max-width: 768px) {
  .event-countdown { flex-direction: column; gap: 12px; padding: 16px; }
  .event-left { width: 100%; }
  .event-right { width: 100%; justify-content: center; }
  .countdown-num { font-size: 1.4rem; }
}


