/**
 * 彩票选项卡样式
 * 用于统一台湾彩票网站的选项卡格式
 */

/* 选项卡容器 */
.lottery-tabs {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--spacing-sm);
  display: flex;
  gap: var(--spacing-xs);
}

/* 隐藏WebKit/Chrome滚动条 */
.lottery-tabs::-webkit-scrollbar {
  display: none;
}

/* 选项卡项目 */
.lottery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-lg);
  cursor: pointer;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-width: 100px;
}

.lottery-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  z-index: -1;
}

/* 活动选项卡 */
.lottery-tab.active {
  color: white;
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.lottery-tab:hover:not(.active) {
  color: var(--primary-600);
  background: var(--primary-50);
  transform: translateY(-1px);
}

/* 内容容器 */
.lottery-content {
  display: none;
}

/* 活动内容 */
.lottery-content.active {
  display: block;
}

/* 球号容器 */
.ball-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

/* 球号样式 */
.ball {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  background-color: #6366f1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 特别号码球 */
.ball.special {
  background-color: #ef4444;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .lottery-tabs {
    padding: var(--spacing-xs);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
  }

  .lottery-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.8rem;
    min-width: 80px;
  }

  .ball {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .lottery-tabs {
    padding: var(--spacing-xs);
    gap: 2px;
  }

  .lottery-tab {
    padding: var(--spacing-sm);
    font-size: 0.75rem;
    min-width: 70px;
  }
}

/* 卡片样式 */
.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
}

.card-header {
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
}

.card-title .icon {
  margin-right: 0.5rem;
  color: #0ea5e9;
}

.card-content {
  height: calc(100% - 4rem);
  overflow-y: auto;
}

/* 奖项信息样式 */
.prize-info {
  background-color: #f9fafb;
  border-radius: 0.375rem;
  padding: 1rem;
}
