/* Obrisani svi stari stilovi za žanrovi kartice, koristi se samo novi .genres-section dizajn */

/* MODERNI ANIME ŽANROVI GRID - REDIZAJN */
.genres-section {
  max-width: none;
  margin-left: 40px;
  margin-right: 40px;
}
.genres-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 36px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000a;
}
.genres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: stretch;
}
.genre-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 30, 40, 0.92);
  border-radius: 22px;
  box-shadow: 0 6px 32px #0007;
  padding: 28px 38px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: background 0.22s, transform 0.16s, box-shadow 0.16s;
  cursor: pointer;
  border: 2px solid #991b1e33;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-width: 0;
  min-height: 70px;
}
.genre-card:hover, .genre-card:focus {
  background: rgba(153, 27, 30, 0.97);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 40px #991b1e77;
  outline: none;
}
.genre-name {
  flex: 1 1 auto;
  text-align: left;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.genre-svg img {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 2px 10px #000a);
  transition: transform 0.22s;
}
.genre-card:hover .genre-svg img,
.genre-card:focus .genre-svg img {
  transform: scale(1.18) rotate(-6deg);
}
@media (max-width: 900px) {
  .genres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .genre-card {
    padding: 20px 18px;
    font-size: 1.7rem;
    min-height: 56px;
  }
  .genre-name {
    font-size: 1.7rem;
  }
  .genre-svg img {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 600px) {
  .genres-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .genre-card {
    padding: 14px 10px;
    font-size: 1.1rem;
    border-radius: 12px;
    min-height: 44px;
  }
  .genre-name {
    font-size: 1.1rem;
  }
  .genre-svg img {
    width: 52px;
    height: 52px;
  }
  .genres-title {
    font-size: 2.0rem;
    margin-bottom: 12px;
    text-align: center;
  }
}
@media (max-width: 1710px) {
  .genre-card {
    font-size: 2rem;
  }
  .genre-name {
    font-size: 2rem;
  }
  .genre-svg img {
    width: 77px;
    height: 77px;
  }
}
@media (max-width: 1460px) {
  .genre-card {
    font-size: 1.6rem;
  }
  .genre-name {
    font-size: 1.6rem;
  }
  .genre-svg img {
    width: 62px;
    height: 62px;
  }
}
@media (max-width: 1260px) {
  .genre-card {
    font-size: 1.3rem;
  }
  .genre-name {
    font-size: 1.3rem;
  }
  .genre-svg img {
    width: 50px;
    height: 50px;
  }
}
