.seasons-page {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 120px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.season-card {
  background:
    linear-gradient(
      180deg,
      rgba(38,38,38,0.95) 0%,
      rgba(24,24,24,0.98) 100%
    );
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  text-align: left;
  width: 280px;
  height: 340px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  display: block;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);
}

.season-card:active {
  transform: scale(0.98);
}

.season-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,230,230,0.9),
    transparent
  );
  opacity: 0.8;
}

.season-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,230,230,0.25);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 18px rgba(0,230,230,0.12);
}

.season-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.season-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.season-card .season-number {
  font-size: 1.55rem;
  font-weight: 700;
  color: #00e6e6;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.season-card .season-date {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2px;
}

.season-card .season-duration {
  font-size: 0.76rem;
  color: rgba(200,200,200,0.6);
  margin-bottom: 10px;
}

.season-card .season-description {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
}

.season-card::after {
  content: "Подробнее ⭢";
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform:
    translateX(-50%)
    translateY(8px);
  opacity: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00e6e6;
  transition: all 0.28s ease;
}

.season-card:hover::after {
  opacity: 1;
  transform:
    translateX(-50%)
    translateY(0);
}

.seasons-list {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 22px;
  justify-content: center;
}

.modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 16px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  color: white;
  position: relative;
}

.modal-content h2 {
  color: #00e6e6;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 0.95rem;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 26px;
  cursor: pointer;
  color: #00e6e6;
  font-weight: bold;
}

.rules-header {
  margin-top: 120px;
  text-align: center;
  margin-bottom: 35px;
  z-index: 2;
  position: relative;
}

.rules-header h1 {
  font-size: 42px;
  color: #00e6e6;
  text-shadow: 0 0 15px rgba(0, 230, 230, 0.5);
}

::-webkit-scrollbar {
  width: 14px;
  background: #0a0a0a;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(120,120,120,0.8);
  border-radius: 999px;
  border: 3px solid #0a0a0a;
}


@media (max-width: 430px) {

  .seasons-page {
    width: 100%;
    margin: 0 auto 80px;
  }

  .seasons-list {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 14px;
  }

  .season-card {
    max-width: 100%;
    height: auto;
    padding: 14px;
    border-radius: 16px;
  }

  .season-card img {
    height: 160px;
  }

  .season-card .season-number {
    font-size: 1.3rem;
  }

  .season-card .season-date {
    font-size: 0.85rem;
  }

  .season-card .season-description {
    font-size: 0.85rem;
  }

  .season-card::after {
    display: none; /* убираем "Подробнее" на мобиле */
  }
}

@media (max-width: 430px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 10px;
    padding: 4px 6px;
  }
}