.rooms-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, .10), transparent 34%),
    linear-gradient(135deg, #ffffff, #fffafa);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
}

.page-head-main h1 {
  margin: 8px 0 8px;
  color: #111827;
  letter-spacing: -.04em;
}

.page-head-main p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.rooms-status-box {
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
}

.rooms-status-box strong,
.rooms-status-box small {
  display: block;
}

.rooms-status-box small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 7px rgba(239, 68, 68, .18);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.room-card-pro {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.room-card-pro:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, .24);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .13);
}

.room-cover-link {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  background: #111827;
}

.room-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.room-card-pro:hover .room-cover-image {
  transform: scale(1.05);
}

.room-cover-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .18), transparent 30%),
    linear-gradient(135deg, #111827, #7f1d1d);
}

.room-cover-empty span {
  color: rgba(255, 255, 255, .92);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .12em;
}

.room-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .48), transparent 58%);
}

.room-state-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #991b1b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.room-state-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
}

.room-card-content {
  padding: 22px;
}

.room-card-title h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  letter-spacing: -.03em;
}

.room-card-title p {
  min-height: 44px;
  margin: 9px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.room-info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.room-info-item {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .07);
}

.room-info-item small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.room-info-item strong {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: 20px;
}

.room-enter-button {
  width: 100%;
  justify-content: space-between;
  border-radius: 17px;
}

.rooms-empty-state {
  grid-column: 1 / -1;
  padding: 46px;
  text-align: center;
  border-radius: 30px;
  background: #fff;
  border: 1px dashed rgba(220, 38, 38, .28);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .06);
}

.rooms-empty-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: #fff1f2;
  color: #991b1b;
  font-size: 36px;
  font-weight: 900;
}

.rooms-empty-state h3 {
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.rooms-empty-state p {
  margin: 10px auto 0;
  max-width: 420px;
  color: #64748b;
}

@media (max-width: 760px) {
  .rooms-page-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .rooms-status-box {
    width: 100%;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }
}