.game-page {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.game-hero {
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(90deg, #0a0a0a 0%, #0d1410 50%, #0a0a0a 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  height: 400px;
}

@media (max-width: 768px) {
  .game-hero {
    height: 300px;
  }
}

.game-hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem 2rem 2rem 3rem;
  max-width: 50%;
}

.game-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 255, 140, 0.1);
  border: 1px solid rgba(0, 255, 140, 0.3);
  border-radius: 0.5rem;
  color: #00ff8c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.game-hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin: 0 0 1.5rem 0;
  line-height: 0.9;
}

@media (min-width: 768px) {
  .game-hero-title {
    font-size: 3.5rem;
  }
}

.game-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.game-hero-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .game-hero-list li {
    font-size: 1.125rem;
  }
}

.game-hero-icon {
  color: #00ff8c;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .game-hero-icon {
    width: 22px;
    height: 22px;
  }
}

.game-hero-glow {
  display: none;
}

@media (min-width: 1024px) {
  .game-hero-glow {
    display: none;
  }
}

.game-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.game-hero-image {
  position: absolute;
  right: -10%;
  top: 0;
  width: 70%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.game-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.95;
}

.game-hero-bg-text {
  font-size: 8rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 0 80px rgba(0, 255, 140, 0.3), 0 0 120px rgba(0, 255, 140, 0.2);
}

@media (min-width: 768px) {
  .game-hero-bg-text {
    font-size: 12rem;
  }
}

@media (min-width: 1024px) {
  .game-hero-bg-text {
    font-size: 16rem;
  }
}

.game-navigation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  width: fit-content;
  padding: 0;
  transition: color 0.3s;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.back-button:hover {
  color: #ffffff;
}

.back-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.back-button:hover .back-icon {
  transform: translateX(-0.25rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s;
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(0, 255, 140, 0.3);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #111111, transparent, transparent);
  opacity: 0.6;
}

.product-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.product-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  backdrop-filter: blur(12px);
}

.product-badge.undetected {
  background-color: rgba(0, 255, 140, 0.15);
  color: #00ff8c;
  border: 1px solid rgba(0, 255, 140, 0.3);
}

.product-badge.on-update {
  background-color: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.product-badge.detected {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-badge.hit {
  background-color: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.product-badge.top {
  background-color: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: currentColor;
}

.badge-dot.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.product-content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.product-card:hover .product-title {
  color: #00ff8c;
}

.product-game {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.product-tag {
  padding: 0.125rem 0.375rem;
  background-color: rgba(0, 255, 140, 0.1);
  border-radius: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #00ff8c;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  border: 1px solid rgba(0, 255, 140, 0.2);
}

.product-tag.more {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  border: none;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.product-price-label {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 0.75rem;
}

.product-price-value {
  color: #00ff8c;
  font-weight: 900;
  font-size: 0.875rem;
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 255, 140, 0.6), 0 0 30px rgba(0, 255, 140, 0.3);
}

.product-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.product-button:hover {
  background-color: #00ff8c;
  color: #000000;
}

.search-section {
  margin-bottom: 2rem;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.2);
  width: 24px;
  height: 24px;
  transition: color 0.3s;
}

.search-input {
  width: 100%;
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: rgba(0, 255, 140, 0.3);
}

.search-input:focus + .search-icon {
  color: #00ff8c;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.no-results {
  text-align: center;
  padding: 5rem 0;
}

.no-results-icon {
  display: inline-block;
  padding: 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.no-results-title {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
}

.no-results-text {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  margin: 0;
}
