/* 修改后的 public/style.css */
body {
  margin: 0;
  padding: 0;
  background-color: #3b3e55;
  font-family: Arial, sans-serif;
}

/* 修改header相关样式 */
header {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 60px; /* 固定高度 */
  background: rgba(33, 34, 51, 0.9); /* 浅灰色背景 */
  padding: 0 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center; /* 垂直居中内容 */
  box-sizing: border-box; /* 包含padding在总高度内 */
}

.header-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* 确保内容宽度满容器 */
  height: 100%; /* 继承header高度 */
}

.header-title {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

/* 调整logo尺寸适应新高度 */
.logo {
  width: 45px;
  margin-right: 8px;
  border-radius: 8px;
}

/* 调整标题组位置 */
.title-group {
  padding-top: 15px; /* 微调垂直位置 */
}

/* 修改主标题样式 */
.main-title {
  font-size: 3.5rem; /* 放大标题 */
  margin-bottom: 12px;
}
.container {
  clear: both; /* 清除浮动影响 */
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 20px 20px;
}

.game-frame-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-height: 800px;
  border: none;
  margin: 0px auto;
}

.game-frame-exit-full {
  display: none;
  padding: 8px 12px 8px;
  background-color: #3b3e55;
}
.game-frame-exit-full-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  border-radius: 4px;
  padding: 4px 6px;
  background: rgb(104, 66, 255);
  color: rgb(249, 250, 255);
  cursor: pointer;
}
.game-frame-exit-full-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.game-frame {
  flex: 1;
  width: 100%;
  /* max-height: 800px; */
  border: none;
  margin: 0px auto;
}

.iframe-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  font-size: 0px;
  border-radius: 8px;
  overflow: hidden;
  height: calc(100vh - 120px);
}

.iframe-container-full {
  background: rgb(33, 34, 51);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

.iframe-container-full-title {
  font-size: 20px;
  color: #fff;
}

.iframe-container-full-btn {
  cursor: pointer;
  margin-right: 8px;
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.votes-text {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
  content: "★"; /* 改为实心星 */
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
  color: #ffd700; /* 黄金色 */
  text-shadow: 0 0 2px #ffd700; /* 添加发光效果 */
}
.vote-count {
  color: #e6d5d5;
  font-size: 18px;
  margin-left: 10px;
  opacity: 0.8;
}

.description {
  background: white;
  padding: 30px;
  border-radius: 10px;
  line-height: 1.6;
}

h1, h2 {
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}
p {
  line-height: 1.6;
  margin: 15px 0;
}

ul {
  margin: 15px 0;
}

li {
  margin-bottom: 8px;
}

.btn-container {
  text-align: right;
  margin: 20px 0;
}

.fullscreen-btn {
  background: #808080;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s;
  font-size: 16px;
}

.fullscreen-btn:hover {
  background: #666;
}

.fullscreen-btn:active {
  transform: scale(0.98);
}
/* 在style.css末尾添加 */
.game-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 0 10px;
}

.game-title {
  color: #333;
  font-size: 2.2rem;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.fullscreen-btn {
  background: #808080;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px; /* 更圆的胶囊形状 */
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.fullscreen-btn:hover {
  background: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fullscreen-btn i {
  font-size: 18px;
}
/* 在style.css添加以下内容 */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  padding: 0 10px;
}

.game-title {
  color: #333;
  font-size: 24px;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 修改现有按钮样式 */
.fullscreen-btn {
  background: #808080;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.fullscreen-btn:hover {
  background: #666;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 加载图标字体 */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
