/* Ostatné hry – podstranka */
.ostatne-hry-page {
  min-height: 100vh;
}

.ostatne-hry-header {
  position: relative;
  z-index: 12;
  padding-top: 5.2rem;
}

.ostatne-hry-shell {
  padding: 0.75rem 0 4rem;
}

.ostatne-hry-page-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  background: linear-gradient(150deg, #ffffff 40%, rgba(255, 181, 107, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ostatne-hry-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 55ch;
}

.ostatne-hry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .ostatne-hry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ostatne-hry-card {
  border: 1px solid rgba(255, 154, 60, 0.2);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 106, 0, 0.06) 0%, rgba(8, 20, 34, 0.94) 100%);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ostatne-hry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cool), transparent);
  border-radius: 0 0 4px 4px;
  z-index: 1;
}

.ostatne-hry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 154, 60, 0.35);
}

.ostatne-hry-card-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(4, 12, 22, 0.9);
}

.ostatne-hry-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ostatne-hry-card-body {
  padding: 1.5rem 1.4rem;
}

.ostatne-hry-card-title {
  margin: 0 0 0.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: 0.02em;
  color: var(--text);
}

.ostatne-hry-card-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ostatne-hry-cta {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.ostatne-hry-cta .link-inline {
  font-size: inherit;
}
