.content {
  padding: 45px 55px 0;
  display: flex;
  gap: 40px;
  align-items: center;
}
/* 抽奖公告样式 */
.winning-announce {
  width: 364px;
  height: 557px;
  border-radius: 28px;
  background-color: #FDF9F0;
  border: 2px solid #FED29C;
}
/* 整体容器样式 */
.winner-indicator {
  width: 100%;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 20px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333;
  font-size: 16px;

}

.arrow {
  width: 0;
  height: 0;
  border-style: solid;
}
.arrow-left {
  border-width: 5px 8px 5px 0;
  border-color: transparent #333 transparent transparent;
}

.arrow-right {
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #333;
}

.arrow-center{
  width: 90px;
  text-align: center;
  font-weight: 550;
  letter-spacing: 2px;
}
/* 六宫格样式 */
.lottery-section {
  width: 674px;
  height: 557px;
  margin: 0 0 0 0;
  background: url("../../images//double_eleven/raffle_bg.png") no-repeat center center;
  background-size: cover;
}
.lottery-grid {
  width: 585px;
  height: 335px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 50px auto 20px;
  padding: 32px 5px 5px;
  user-select: none;
}

.lottery-item {
  width: 153px;
  height: 116px;
  background: #FFF4E5;
  border-radius: 10px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  text-align: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid #FBCB9D;
}

.prize-content {
  text-align: center;
}

.prize-name {
  font-weight: bold;
  color: #E43618;
  font-size: 13px;
}

.prize-icon {
  font-size: 32px;
  margin: 8px 0 4px;
}
.prize-icon img{
  width: 121px;
  height: 70px;
}

/* 开始按钮 */
.start-button {
  width: 290px;
  height: 85px;
  background: #fec655;
  border: 2px solid #fbffb9;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -20px auto 0;
  user-select: none;
}

.start-button:hover:not(:disabled) {
  transform: scale(1.05);
}
.start-button:active:not(:disabled) {
  transform: scale(1.00);
}

.start-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.start-button-text {
  color: #ff4232;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
}

/* 激活状态 */
.lottery-item.active {
  background-color: #FFE2BB;
  transform: scale(1.05);
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

.chance-info {
  text-align: center;
  font-size: 18px;
  color: #ffffff;
}

.history-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
  text-align: center;
}

.history-list {
  max-height: 150px;
  overflow-y: auto;
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #eee;
}

.history-item {
  padding: 8px;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
}

.history-item:last-child {
  border-bottom: none;
}

.prize-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 5px;
}

.grand-prize {
  background: #fff0f0;
  color: #ff6b6b;
}

.first-prize {
  background: #fff5e6;
  color: #ffa502;
}

.second-prize {
  background: #f0f8ff;
  color: #1e90ff;
}

.api-status {
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
}

.api-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.api-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 预览结果样式 */
.preview-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ff6b6b;
}

.preview-content {
  font-size: 18px;
  margin: 10px 0;
}

.preview-button {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.preview-button:hover {
  background: #ff5252;
  transform: scale(1.05);
}
