/* ===================== GAMES PAGE ===================== */

/* Hero */
.games-hero {
  background: var(--blue-bright);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
}

.games-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.games-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* Filter Section */
.filter-section {
  background: var(--blue-light);
  padding: 2rem;
  text-align: center;
}

.filter-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--blue-primary);
  background: transparent;
  color: var(--blue-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--blue-primary);
  color: var(--white);
}

/* Products Section */
.products-section {
  background: var(--gray-light);
  padding: 3rem 2rem !important;
}

.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.badge-strategy {
  background: var(--blue-primary);
  color: var(--white);
}

.badge-party {
  background: var(--magenta);
  color: var(--white);
}

.badge-familiar {
  background: var(--red-accent);
  color: var(--white);
}

.badge-family {
  background: var(--blue-bright);
  color: var(--white);
}

.badge-clasicos {
  background: var(--blue-dark);
  color: var(--white);
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 1rem;
}

.add-to-cart-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--magenta);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.add-to-cart-btn:hover {
  background: var(--magenta-dark);
  transform: translateY(-2px);
}


/* ===================== PRODUCT DETAIL PAGE ===================== */
.product-detail-section {
  background: var(--gray-light);
  padding: 4rem 2rem;
  min-height: 70vh;
}
.product-detail-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-detail-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-detail-back {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.product-detail-back:hover { text-decoration: underline; }
.product-detail-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}
.product-detail-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}
.product-detail-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-primary);
}
.product-detail-buy-btn {
  display: inline-block;
  background: var(--magenta-dark);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}
.product-detail-buy-btn:hover {
  background: var(--magenta);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .product-detail-inner { grid-template-columns: 1fr; }
}

/* Events Section */
.events-section {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  padding: 3rem 2rem !important;
}