/* =========================
   HOME PAGE CSS
   ========================= */

/* -------------------------
   HERO SLIDER
------------------------- */
.hero-slider {
  display: flex;
  width: 100%;
  min-height: 340px;
  height: 400px;
  overflow: hidden;
}
.hero-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 1s ease;
}
.hero-card:hover { flex: 2; }
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-card:hover img { transform: scale(1.05); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 55%);
}
.hero-info {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: 13px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 8px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-tag span { color: #ffbe40; }
.hero-title {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-arrows {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: #fff;
  opacity: 0.8;
}
.hero-arrow-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
}

/* -------------------------
   INTRO / MARKETPLACE
------------------------- */
.intro-section { background-color: #fff; padding: 80px 0 40px; }
.intro-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}
.intro-media {
  flex: 0 0 40%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0,0,0,0.18);
}
.intro-content { flex: 1; }
.intro-kicker {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.intro-title-main {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}
.intro-title-accent { color: #ff9c00; display: block; margin-top: 4px; }
.intro-desc { margin-top: 16px; font-size: 13px; color: #555; max-width: 520px; }

/* -------------------------
   SEARCH / FILTER
------------------------- */
.search-band { padding: 24px 0; background-color: #f9f9f9; }
.search-inner { max-width: 1200px; margin: 0 auto; }
.search-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.search-label { font-weight: 600; }
.search-field,
.search-select { padding: 6px 10px; border-radius: 4px; border: 1px solid #ccc; font-size: 12px; }
.search-btn {
  padding: 6px 14px;
  background-color: #ff9c00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Filter buttons */
.filter-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid #f2f2f2;
  font-size: 12px;
  background-color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 6px 10px rgba(0,0,0,0.04);
}
.filter-btn.active {
  background-color: #ff9c00;
  color: #fff;
  border-color: #ff9c00;
}

/* -------------------------
   GAME GRID
------------------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 40px 20px;
}
.game-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}
.game-card-image { position: relative; height: 260px; overflow: hidden; }
.game-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card-image img { transform: scale(1.06); }
.game-card-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
}
.game-card-body { padding: 16px 16px 18px; font-size: 11px; }
.game-card-title { font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; }
.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: #777;
  margin-bottom: 10px;
}

/* -------------------------
   FIFA / PROMO BANNER
------------------------- */
.fifa-section { display: flex; justify-content: center; background-color: #f3f3f3; padding: 40px 0; }
.fifa-wrapper { display: flex; align-items: center; gap: 40px; max-width: 1200px; }
.fifa-title { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.fifa-title span { color: #ff9c00; }
.fifa-text { font-size: 14px; margin-bottom: 16px; }
.fifa-actions a {
  display: inline-block;
  margin-right: 12px;
  padding: 6px 16px;
  border-radius: 4px;
  background-color: #ff9c00;
  color: #fff;
  text-decoration: none;
}

/* -------------------------
   PRODUCTS GRID
------------------------- */
.products-section { padding: 40px 0; }
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.product-card {
  width: 200px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  text-align: center;
  padding: 14px;
}
.product-img-box img { width: 100%; height: auto; display: block; margin-bottom: 8px; }
.product-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.product-price { font-size: 13px; color: #ff9c00; font-weight: 700; }

/* -------------------------
   NEWSLETTER BAND
------------------------- */
.newsletter-band {
  background-color: #050505;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}
.newsletter-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.newsletter-input {
  padding: 10px 12px;
  margin: 6px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
}
.newsletter-btn {
  padding: 10px 20px;
  background-color: #ff9c00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* -------------------------
   RESPONSIVE
------------------------- */
@media (max-width: 1024px) {
  .hero-slider { flex-direction: column; height: auto; }
  .intro-wrapper { flex-direction: column; gap: 24px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .product-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .game-grid { grid-template-columns: 1fr; }
  .intro-title-main { font-size: 24px; }
  .fifa-wrapper { flex-direction: column; gap: 24px; }
}
