@tailwind base;
@tailwind components;
@tailwind utilities;

/* 全局样式优化 */
body {
  background-color: #f5f5f5;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
}

/* 自定义组件样式 */
.game-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.game-board {
  background-color: #ffe4c7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.player-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timer {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background-color: #f59e0b;
  color: white;
}

.btn-primary:hover {
  background-color: #d97706;
  transform: translateY(-1px);
}