body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #fff;
  animation: glow-bg 10s infinite alternate;
}

@keyframes glow-bg {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

main {
  padding: 2rem;
}

.drug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #1976d2 60%, #8e24aa 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.13rem;
  letter-spacing: 0.7px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.10);
  border: none;
  margin: 0 0.5rem;
  transition: background 0.25s, box-shadow 0.25s, transform 0.18s;
  position: relative;
  z-index: 2;
  cursor: pointer;
  outline: none;
}
.button:hover, .button:focus {
  background: linear-gradient(90deg, #8e24aa 60%, #1976d2 100%);
  box-shadow: 0 4px 24px #8e24aa44, 0 2px 8px #1976d244;
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}
.button:active {
  background: #1976d2;
  filter: brightness(0.95);
}
.drug-card {
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid;
  border-image: linear-gradient(120deg, #ff7e5f, #feb47b, #6a11cb, #2575fc, #ff7e5f) 1;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 1.5px 8px #ff7e5f44;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-image 1s;
}
.drug-card > * {
  position: relative;
  z-index: 2;
}
.logo-link {
  text-decoration: none;
  color: inherit;
}
.logo-link:hover {
  opacity: 0.8;
}
.drug-card:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(106,17,203,0.18), 0 2px 12px #6a11cb44;
  border-image: linear-gradient(300deg, #6a11cb, #2575fc, #ff7e5f, #feb47b, #6a11cb) 1;
}

.drug-card h3 {
  background: linear-gradient(90deg, #ff7e5f, #feb47b, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.drug-card img {
  width: 200px;       /* Genişliği 150px yaptık */
  height: auto;       /* Oranları koru */
  max-height: 200px;  /* Yüksekliğin de 150px’i geçmemesini sağla */
  object-fit: contain;/* Kırpmadan sığdır */
  margin: 0 auto 10px;/* Ortala ve alt boşluk ver */
  display: block;     /* Ortalamayı etkinleştir */
  border-radius: 12px;
  border: 2.5px solid #feb47b;
  box-shadow: 0 2px 12px #ff7e5f33;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.3s, border-color 0.5s;
}

.drug-card:hover img {
  border-color: #6a11cb;
  box-shadow: 0 4px 24px #6a11cb33;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: rgba(0,0,0,0.3);
  font-size: 0.9rem;
}
/* Modal başlangıç gizli hali */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: fixed;
  z-index: 1;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
}

/* Modal içerik kutusu */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 700px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

/* Gösterirken */
.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.fancy-title {
  font-size: 3.2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff7e5f, #feb47b, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 16px rgba(106,17,203,0.15), 0 1px 0 #fff;
  letter-spacing: 2px;
  transition: transform 0.2s, text-shadow 0.2s;
  display: inline-block;
}
.fancy-title:hover {
  transform: scale(1.06);
  text-shadow: 0 4px 32px #6a11cb, 0 1px 0 #fff;
  filter: brightness(1.15);
}

div[id^="Giskan-5"],
div[id^="Globfel-4"],
div[id^="Feliferon"],
div[id^="Dogferon"],
div[id^="Gamavit"],
div[id^="Fosprenil"],
div[id^="Maxidin"] {
  background: rgba(255,255,255,0.92);
  color: #222;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 1.2rem auto;
  word-break: break-word;
}

.detay-kutu,
div[id^="Vacderm"],
div[id^="fipvpro"],
div[id^="Oridermyl"] {
  background: rgba(255,255,255,0.92) !important;
  color: #222 !important;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 1.2rem auto;
  word-break: break-word;
}