/* ================================================
   CAROUSEL
   ================================================ */
.carousel-wrapper {
  width: 90%;
  margin: 10px auto 20px;
  max-width: 620px;
}

#carousel-container {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

#carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* ================================================
   PLATAFORMAS — List layout
   ================================================ */
.platforms-section {
  width: 90%;
  max-width: 500px;
  margin: 20px auto;
  background: linear-gradient(135deg, #b8006e, #d4007a, #a30060);
  border: 3px solid #ff3ea5;
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: 0 8px 30px rgba(180, 0, 100, 0.4);
}

.platforms-title {
  text-align: center;
  margin-bottom: 14px;
}

.platforms-title h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.platforms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plat-list-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.plat-list-item:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.plat-list-name {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plat-list-url {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
  word-break: break-all;
}

/* ================================================
   SOCIAL CARD — WhatsApp & Instagram
   ================================================ */
.insta-section {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
}

.social-card {
  background: linear-gradient(135deg, #b8006e, #a30060);
  border: 2px solid #ff3ea5;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s;
}

.social-card:hover {
  box-shadow: 0 4px 25px rgba(17, 171, 1, 0.4);
  transform: translateY(-2px);
}

.social-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #ff3ea5;
  pointer-events: none;
  flex-shrink: 0;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.social-name {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.social-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 500;
}

.social-buttons {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.social-btn {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  white-space: nowrap;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.social-btn-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.social-btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

/* ================================================
   ÚLTIMA ATUALIZAÇÃO — Exact match
   ================================================ */
.update-section {
  width: 90%;
  max-width: 600px;
  margin: 18px auto;
  text-align: center;
}

.update-box {
  background: linear-gradient(135deg, #b8006e, #a30060);
  border: 2px solid #ff3ea5;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.update-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.update-spinner {
  color: #fff;
  font-size: 32px;
  animation: spinAnim 2s linear infinite;
}

@keyframes spinAnim {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.update-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.update-text strong {
  color: #fff;
  font-size: 17px;
}

.update-sub {
  color: #ffb3d9;
  font-size: 12px;
  font-weight: 500;
}

.update-site {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  margin-top: 6px;
  letter-spacing: 2px;
}

/* ================================================
   FILTROS — Exact match
   ================================================ */
.filters-area {
  width: 90%;
  max-width: 600px;
  margin: 18px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
}

.ftab {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.ftab:hover {
  border-color: #ff3ea5;
  background: rgba(255, 62, 165, 0.15);
}

.ftab.active {
  background: linear-gradient(135deg, #ff007f, #d4007a);
  border-color: #ff3ea5;
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4);
}

.ftab .fa-fire {
  color: #f97316;
}

.ftab .fa-star {
  color: #eab308;
}

.ftab .fa-list {
  color: #60a5fa;
}

.ftab .fa-heart {
  color: #ec4899;
}

.ftab.active i {
  color: #fff;
}

.search-box {
  width: 100%;
  position: relative;
}

.search-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 20px;
  z-index: 2;
}

#search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: #e5e7eb;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  outline: none;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

#search-input::placeholder {
  color: #9ca3af;
}

#search-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.4);
}

/* ================================================
   GAME GRID — Exact match to reference
   ================================================ */
.game-grid {
  width: 92%;
  max-width: 1400px;
  margin: 20px auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 12px;
  justify-items: center;
}

@media (min-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 599px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ================================================
   GAME CARD — Exact match to reference
   ================================================ */
.gcard {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gcard:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

/* Favorite heart */
.gcard-fav {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 30;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.gcard-fav i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  pointer-events: none;
}

.gcard-fav.fav-on i {
  color: #ec4899;
}

.gcard-fav:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.15);
}

/* HOT badge */
.gcard-hot {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 30;
  background: linear-gradient(135deg, #ff007f, #d4007a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  animation: hotPulse 1.5s ease infinite;
}

.gcard-hot.hot-pulse {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes hotPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Banner area */
.gcard-banner {
  display: block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gcard-banner img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gcard-banner:hover img {
  opacity: 0.8;
}

.gcard-dist {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 4px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* Card body */
.gcard-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.gcard-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.gcard-name {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Progress bars */
.gcard-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bar-row span {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.bar-outer {
  width: 100%;
  height: 8px;
  background: #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.bar-inner {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
}

/* Card footer buttons */
.gcard-footer {
  margin-top: auto;
  padding-top: 4px;
}

.gcard-btn {
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.sinal-btn {
  background: linear-gradient(135deg, #ff007f, #d4007a);
  color: #fff;
  animation: hotPulse 2s ease infinite;
}

.sinal-btn:hover {
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.6);
}

.jogue-btn {
  background: linear-gradient(135deg, #ff007f, #b8006e);
  color: #fff;
}

.jogue-btn:hover {
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.6);
}

.gcard-prices {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.gcard-prices p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  line-height: 1.5;
}

/* ================================================
   RESPONSIVE — small screens
   ================================================ */
@media (max-width: 480px) {
  .gcard {
    max-width: 175px;
  }

  .gcard-banner img {
    height: 120px;
  }

  .ftab {
    font-size: 12px;
    padding: 8px 16px;
  }

  .platforms-title h2 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .social-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .social-info {
    align-items: center;
    width: 100%;
  }

  .social-buttons {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .social-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }

  .update-box {
    padding: 12px 16px;
  }

  .update-text strong {
    font-size: 14px;
  }
}