@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.logo h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #fca311;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 40px;
}

.panels {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.panel h2 {
  font-family: 'Montserrat', sans-serif;
  color: #e0e1dd;
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

input {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

#roomCodeInput {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 5px;
}

.btn {
  padding: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.btn:active {
  transform: scale(0.95);
}

.primary {
  background: #fca311;
  color: #000;
}

.secondary {
  background: #415a77;
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 10px;
}
.btn-group .btn {
  flex: 1;
}

.error {
  color: #ef233c;
  min-height: 20px;
  font-weight: bold;
  margin-top: 10px;
}
