/* =============================================
   THE BUTCHER SHOP – Hub Page Styles
   ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #faf6f1;
  color: #2c2c2c;
  min-height: 100vh;
}

/* ---- Header ---- */
.header {
  background: linear-gradient(135deg, #8b1a1a, #c0392b, #a83232);
  color: white;
  text-align: center;
  padding: 30px 20px 25px;
}

.header-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.header p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.back-link {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
}

.back-link:hover {
  color: white;
}

/* ---- Main Content ---- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}

.section-title {
  font-size: 1.1rem;
  color: #8b1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

/* ---- Game Grid ---- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.game-card {
  background: white;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.12);
  border-color: #c0392b;
}

.card-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
}

.card-number {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2c2c2c;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  text-align: center;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.card-badge.live {
  background: #27ae60;
}

.card-badge.new {
  background: #e67e22;
}

.card-type {
  display: inline-block;
  background: #f0e6da;
  color: #8b5e3c;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #2c2c2c;
}

.game-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-play {
  display: inline-block;
  background: #c0392b;
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-play:hover {
  background: #8b1a1a;
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: #e0d5ca;
  margin: 10px 0 30px;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #999;
}

/* ---- Responsive ---- */
@media (max-width: 540px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .header h1 {
    font-size: 1.4rem;
  }
}