/* Games 2: Two game cards side by side */
.games2 {
  width: 100%;
  padding: 80px 40px;
  background-color: var(--main-bg);
}

.games2-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  justify-items: center;
}

.games2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.games2-image {
  width: 240px;
  height: auto;
  overflow: hidden;
}

.games2-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.games2-button {
  padding: 12px 48px;
  background: linear-gradient(135deg, var(--button-bg-start) 0%, var(--button-bg-end) 100%);
  color: var(--button-text);
  font-size: 18px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--button-glow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
}

.games2-button::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.5s;
}

.games2-button:hover {
  background: linear-gradient(135deg, var(--button-hover-start) 0%, var(--button-hover-end) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--button-glow),
              0 0 40px rgba(118, 75, 162, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.games2-button:hover::before {
  left: 100%;
}

.games2-button:active {
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .games2-container {
    gap: 40px;
  }

  .games2-image {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .games2 {
    padding: 60px 20px;
  }

  .games2-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .games2-image {
    width: 200px;
  }

  .games2-button {
    padding: 10px 40px;
    font-size: 16px;
  }
}
