.harfika-rooms {
  background-color: #eef9ff;
}

.harfika-rooms-main {
  padding-bottom: calc(var(--harfika-nav-height) + 4.5rem);
}

.harfika-rooms-stack {
  gap: clamp(1rem, 2vw, 1.75rem);
}

.kinetic-gradient {
  background: var(--harfika-accent-gradient);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.harfika-rooms-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(var(--harfika-primary-rgb), 0.08);
}

.harfika-rooms-hero {
  box-shadow: 0 22px 45px rgba(var(--harfika-primary-rgb), 0.16);
  border-radius: clamp(1.35rem, 2vw, 1.75rem) !important;
}

.harfika-rooms-orb {
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.8;
}

.harfika-rooms-orb-top {
  top: -2rem;
  right: -1rem;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.18);
}

.harfika-rooms-orb-bottom {
  left: -2rem;
  bottom: -2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.1);
}

.harfika-rooms-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 1.15rem;
  background: #ffffff;
  color: #2c2f31;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.harfika-rooms-create:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
}

.harfika-rooms-create:active {
  transform: scale(0.97);
}

.harfika-rooms-stat {
  min-height: 5.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.harfika-rooms-stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.harfika-rooms-stat-value {
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.harfika-rooms-hero-copy {
  max-width: 31rem;
}

.harfika-rooms-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.98;
}

.harfika-rooms-hero-description {
  max-width: 27rem;
  font-size: 1rem;
}

.harfika-rooms-filter-panel {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  border-radius: clamp(1.2rem, 2vw, 1.5rem) !important;
}

.harfika-rooms-filter-chips {
  display: flex;
  align-items: center;
}

.harfika-rooms-search {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #eef1f3;
  padding: 0.95rem 1rem 0.95rem 3.2rem;
  color: #2c2f31;
  font-size: 0.95rem;
  font-weight: 700;
  transition: box-shadow 160ms ease, background-color 160ms ease;
}

.harfika-rooms-search::placeholder {
  color: #8d9194;
}

.harfika-rooms-search:focus {
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--harfika-primary-rgb), 0.12);
}

.harfika-rooms-search-icon {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  transform: translateY(-50%);
  color: #595c5e;
}

.harfika-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #eef1f3;
  color: #595c5e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.harfika-chip.active {
  background: rgba(var(--harfika-primary-rgb), 0.12);
  color: var(--harfika-primary);
}

.harfika-rooms-section-copy {
  color: #595c5e;
  font-size: 0.84rem;
  font-weight: 700;
}

.harfika-room-list {
  gap: 1rem;
}

.harfika-room-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: clamp(1.2rem, 2vw, 1.5rem);
  background: #ffffff;
  border: 1px solid rgba(171, 173, 175, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.harfika-room-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(var(--harfika-primary-rgb), 0.08);
  border-color: rgba(var(--harfika-primary-rgb), 0.18);
}

.harfika-room-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.harfika-room-avatar.fast {
  background: rgba(var(--harfika-primary-rgb), 0.12);
  color: var(--harfika-primary);
}

.harfika-room-avatar.hard {
  background: rgba(225, 29, 72, 0.12);
  color: #be123c;
}

.harfika-room-avatar.knowledge {
  background: rgba(14, 165, 233, 0.14);
  color: #0369a1;
}

.harfika-room-avatar.playful {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.harfika-room-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2c2f31;
  letter-spacing: -0.02em;
}

.harfika-room-meta {
  color: #595c5e;
  font-size: 0.84rem;
  font-weight: 700;
}

.harfika-room-badge,
.harfika-room-pill,
.harfika-tag,
.harfika-room-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.harfika-room-badge {
  min-height: 1.8rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.harfika-room-badge.live {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.harfika-room-badge.fast {
  background: rgba(var(--harfika-primary-rgb), 0.12);
  color: var(--harfika-primary);
}

.harfika-room-badge.private {
  background: rgba(var(--harfika-primary-accent-rgb), 0.18);
  color: var(--harfika-primary-ink-soft);
}

.harfika-room-badge.open {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.harfika-room-badge.waiting {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.harfika-room-badge.full {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.harfika-room-pill {
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  background: rgba(var(--harfika-primary-rgb), 0.08);
  color: var(--harfika-primary);
  font-size: 0.78rem;
}

.harfika-tag {
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  background: #eef1f3;
  color: #595c5e;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.harfika-room-cta {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  background: var(--harfika-accent-gradient);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.harfika-room-cta.muted {
  background: #e5e9eb;
  color: #595c5e;
}

.harfika-room-empty-state {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: clamp(1.2rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(171, 173, 175, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
  text-align: center;
}

.harfika-room-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--harfika-primary-rgb), 0.1);
  color: var(--harfika-primary);
}

@media (max-width: 575.98px) {
  .harfika-rooms-stack {
    gap: 0.8rem;
  }

  .harfika-rooms-main {
    padding-bottom: calc(var(--harfika-nav-height) + 3.55rem);
  }

  .harfika-rooms-hero {
    padding: 1rem !important;
    border-radius: 1.2rem !important;
  }

  .harfika-rooms-hero .position-relative.d-grid {
    gap: 0.9rem !important;
  }

  .harfika-rooms-hero .glass-panel {
    padding: 0.45rem 0.75rem !important;
    gap: 0.45rem !important;
    margin-bottom: 0.85rem !important;
  }

  .harfika-rooms-icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .harfika-rooms-hero-title {
    font-size: 1.48rem;
    max-width: none;
    line-height: 1.04;
  }

  .harfika-rooms-hero-description {
    max-width: none;
    font-size: 0.82rem;
  }

  .harfika-rooms-create {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .harfika-rooms-stat-grid {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.55rem;
  }

  .harfika-rooms-stat {
    min-height: 4.15rem;
    padding: 0.75rem !important;
  }

  .harfika-rooms-stat-label {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .harfika-rooms-stat-value {
    font-size: 1.18rem;
  }

  .harfika-rooms-filter-panel {
    padding: 0.85rem !important;
    border-radius: 1.1rem !important;
  }

  .harfika-rooms-search {
    padding: 0.82rem 0.95rem 0.82rem 2.7rem;
    font-size: 0.84rem;
  }

  .harfika-rooms-search-icon {
    left: 0.95rem;
  }

  .harfika-rooms-filter-chips {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .harfika-rooms-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .harfika-chip {
    flex: 0 0 auto;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.66rem;
  }

  .harfika-rooms-section-copy {
    font-size: 0.72rem;
  }

  .harfika-room-list {
    gap: 0.75rem;
  }

  .harfika-room-card {
    padding: 0.85rem;
    border-radius: 1.1rem;
    gap: 0.75rem;
  }

  .harfika-room-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    font-size: 0.95rem;
  }

  .harfika-room-title {
    font-size: 0.9rem;
  }

  .harfika-room-meta {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .harfika-room-badge {
    min-height: 1.7rem;
    padding: 0.26rem 0.62rem;
    font-size: 0.6rem;
  }

  .harfika-room-card .harfika-room-pill,
  .harfika-tag {
    min-height: 1.85rem;
    padding: 0.32rem 0.7rem;
    font-size: 0.62rem;
  }

  .harfika-room-card .harfika-room-pill,
  .harfika-room-card .harfika-room-cta {
    width: 100%;
  }

  .harfika-room-card .harfika-room-cta {
    min-height: 2.1rem;
    padding: 0.42rem 0.82rem;
    font-size: 0.66rem;
  }
}

@media (max-width: 399.98px) {
  .harfika-rooms-hero-title {
    font-size: 1.34rem;
  }

  .harfika-room-card {
    padding: 0.78rem;
  }
}
