* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5f5;
}

/* STRONA POWITALNA */

.landing-body {
  background: #000;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* siatka 2x2 z grafikami */

.bg-grid {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 1;
}

.bg-tile {
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

/* dopasuj ścieżki do swoich plików */

.bg-tile-1 {
  background-image: url("img/g1.jpg");
}

.bg-tile-2 {
  background-image: url("img/g2.jpg");
}

.bg-tile-3 {
  background-image: url("img/g3.jpg");
}

.bg-tile-4 {
  background-image: url("img/g4.jpg");
}

/* czarny panel w środku */

.center-panel {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.center-inner {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #333;
  padding: 32px 40px;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.room-title {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.room-subtitle {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 24px;
}

.buttons-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* przyciski */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.btn.primary {
  background: linear-gradient(135deg, #00d4ff, #0077ff);
  color: #000;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  border-color: #888;
  color: #f5f5f5;
}

.btn.danger {
  background: transparent;
  border-color: #ff4b4b;
  color: #ff4b4b;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* WIDOKI HOST / GUEST */

.room-body {
  background: radial-gradient(circle at top, #111 0, #000 55%, #000 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.room-wrapper {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 16px;
  border: 1px solid #333;
  padding: 24px 28px;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.room-header h1 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.room-header p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 18px;
}

.room-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.status-panel {
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  border: 1px solid #333;
  font-size: 0.9rem;
}

.controls-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audio-info h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.audio-info ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #ccc;
}

/* responsywność */

@media (max-width: 640px) {
  .center-inner {
    padding: 24px 20px;
  }

  .room-wrapper {
    padding: 18px 16px;
  }
}
