.games-heading {
  margin: 40px auto 30px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.games-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  margin: 10px auto 0;
  border-radius: 2px;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
  padding: 0 1rem;
  list-style: none;
}

.game-tile {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 80px;
  overflow: hidden;
}

.game-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.game-tile:hover::before {
  left: 100%;
}

.game-tile:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #ffcc00;
  background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
}

.game-tile img {
  object-fit: cover;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.game-tile:hover img {
  transform: scale(1.1) rotate(2deg);
}

.game-tile a {
  flex: 1;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.game-tile:hover a {
  color: #ff9900;
}

.game-tile a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.spend-elon-money-container {
  display: contents;
}

.spend-elon-money {
  background: linear-gradient(135deg, #ffcc00 0%, #ffb300 100%);
  border: 2px solid #ff9900;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.spend-elon-money::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.spend-elon-money:hover::before {
  left: 100%;
}

.spend-elon-money:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 153, 0, 0.4);
  border-color: #ff8800;
  background: linear-gradient(135deg, #ffd633 0%, #ffcc00 100%);
}

.spend-elon-money img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.spend-elon-money:hover img {
  transform: scale(1.1) rotate(-2deg);
}

.doge-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 40px;
  text-wrap: nowrap;
  font-size: 1rem;
  border: 1px solid gray;
  border-radius: 8px;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .games {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
    gap: 1rem;
  }
  
  .game-tile,
  .spend-elon-money {
    min-height: 70px;
    padding: 0.8rem;
  }
  
  .game-tile img,
  .spend-elon-money img {
    width: 50px;
    height: 50px;
  }
  
  .games-heading {
    font-size: 24px;
    margin: 30px auto 20px;
  }
}

@media (max-width: 480px) {
  .games {
    gap: 0.8rem;
  }
  
  .game-tile,
  .spend-elon-money {
    min-height: 60px;
    padding: 0.6rem;
  }
  
  .game-tile img,
  .spend-elon-money img {
    width: 45px;
    height: 45px;
  }
  
  .game-tile a,
  .spend-elon-money {
    font-size: 14px;
  }
}