/* =========================================================
   互动娱乐游戏 - 游戏通用框架样式
   提供头部、底部、弹窗等通用框架元素样式
   ========================================================= */

/* 游戏页面头部框架 */
.game-header {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
  padding-top: 50px;
}

/* 游戏页面底部信息 */
.game-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  color: rgba(255,215,0,0.4);
  font-size: 11px;
  letter-spacing: 1px;
}

/* 状态栏（积分显示等） */
.game-status-bar {
  width: 320px;
  background: linear-gradient(135deg, rgba(139,90,43,0.3), rgba(60,40,20,0.5));
  border: 1.5px solid rgba(212,175,55,0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* 通用按钮 */
.game-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a0a2e;
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,165,0,0.4);
  transition: transform 0.15s;
}
.game-btn:active { transform: scale(0.95); }
.game-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 通用弹窗 */
.game-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
}
.game-modal.show { display: flex; }
.game-modal .modal-content {
  background: linear-gradient(135deg, #2a1a4e, #1a0a2e);
  border: 2px solid rgba(212,175,55,0.5);
  border-radius: 16px;
  padding: 24px;
  max-width: 90%;
  width: 320px;
  text-align: center;
}

/* ICP 备案号（项目硬约束） */
.game-icp {
  text-align: center;
  padding: 8px 0 20px;
  color: rgba(255,215,0,0.3);
  font-size: 10px;
  letter-spacing: 0.5px;
}
