* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #1a0033 0%, #000000 70%);
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}

.card {
  aspect-ratio: 1 / 1;
  background: rgba(30, 30, 50, 0.4);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover::before {
  opacity: 1;
}

.card img {
  width: 65%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  transition: all 0.5s ease;
  z-index: 2;
}

.card:hover img {
  transform: scale(1.15) rotate(4deg);
  filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.4));
}

.card:active {
  transform: scale(0.95);
}

/* Mobilde alt alta */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 2rem;  /* Kartlar arası boşluğu artır */
    padding: 4rem 1.5rem;  /* Üst ve alt boşluğu artır */
    justify-content: center;
    max-height: none;  /* Yüksekliği sınırlama, doğal büyüklükte olsun */
    overflow-y: visible;  /* Taşma olursa gizleme */
  }

  .card {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
  }
}