/* 头部样式 */
#game-header {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.game-icon {
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid #eab308;
}

.game-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.rating {
  display: flex;
  align-items: center;
}

.star-icon {
  color: #eab308;
  width: 1rem;
  height: 1rem;
}

/* 下载按钮容器样式 */
.download-btn-container {
  display: flex;
  justify-content: flex-end; /* 使内容右对齐 */
  min-width: 120px; /* 确保按钮有足够的空间 */
}

.download-btn-container button {
  font-size: 1rem;
  white-space: nowrap; /* 确保文本不换行 */
}

/* 下载弹窗样式 */
.download-modal {
  display: none;
}

.download-modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(to bottom, #b45309, #78350f);
  padding: 0.25rem;
  border-radius: 0.5rem;
  max-width: 24rem;
  width: 100%;
  margin: 0 1rem;
}

.inner-content {
  background-color: black;
  border-radius: 0.375rem;
  padding: 1.5rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #facc15;
}

.close-button {
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
}

.close-button:hover {
  color: white;
}

.qr-code {
  background-color: white;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  width: 12rem;
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code img {
  width: 100%;
}

.download-info {
  text-align: center;
}

.download-info p {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.download-link {
  display: block;
  width: 100%;
  padding: 0.75rem;
  text-decoration: none;
}

.device-support {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
} 