/* ================================================
   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 PARCEIRAS — Exact match
   ================================================ */
.platforms-section {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  background: linear-gradient(to right, #2c9144, #2a9043, #068a36);
  border: 4px solid #11ab01;
  border-radius: 20px;
  padding: 20px 16px;
}

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

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

.verified-badge {
  color: #60a5fa;
  font-size: 18px;
  vertical-align: middle;
}

.platforms-title p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.platforms-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.platforms-row::-webkit-scrollbar {
  height: 0;
  display: none;
}

.plat-item {
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
  text-align: center;
}

.plat-item:hover {
  transform: scale(1.1);
}

.plat-item img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.plat-name {
  display: block;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plat-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  animation: badgePulse 1.5s ease infinite;
  z-index: 2;
}

.plat-badge.hot {
  background: #ef4444;
  color: #fff;
}

.plat-badge.vip {
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #000;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* ================================================
   INSTAGRAM CARD — Exact match
   ================================================ */
.insta-section {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
}

.insta-card {
  background: linear-gradient(135deg, #2c9144, #068a36);
  border: 2px solid #11ab01;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s;
  flex-wrap: wrap;
}

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

.insta-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #22C55E;
  pointer-events: none;
}

.insta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.insta-handle {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.insta-name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.insta-stats-row {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.insta-stats-row>div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insta-stats-row b {
  color: #60a5fa;
  font-size: 15px;
}

.insta-stats-row span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.insta-btn {
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: auto;
}

.insta-btn:hover {
  background: #2563eb;
}

.insta-msg {
  text-align: center;
  color: #22C55E;
  font-size: 13px;
  margin-top: 10px;
  font-weight: 600;
}

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

.update-box {
  background: linear-gradient(135deg, #2c9144, #068a36);
  border: 2px solid #11ab01;
  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: #86efac;
  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: #22C55E;
  background: rgba(34, 197, 94, 0.15);
}

.ftab.active {
  background: linear-gradient(135deg, #22C55E, #16a34a);
  border-color: #22C55E;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 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(34, 197, 94, 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, #22c55e, #16a34a);
  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, #22c55e, #16a34a);
  color: #fff;
  animation: hotPulse 2s ease infinite;
}

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

.jogue-btn {
  background: linear-gradient(135deg, #22c55e, #059669);
  color: #fff;
}

.jogue-btn:hover {
  box-shadow: 0 4px 15px rgba(34, 197, 94, 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;
  }

  .insta-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .insta-stats-row {
    margin: 0 auto;
  }

  .insta-btn {
    margin: 0 auto;
  }

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

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