* {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
}

body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
}

#game {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#ui {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  animation: ui-fade-in 1.2s ease-out forwards;
}

@keyframes ui-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Components */
.box {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 2px solid #1e293b;
}

/* Header */
.header {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: center;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Header - Players */
.players-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  height: 48px;
  padding-left: 12px;
  padding-right: 12px;
}

.players-status-online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  border: 2px solid #ffffff33;
}

.players-text {
  color: #e5e7eb;
  font-size: 16px;
  font-weight: bold;
}

/* Header - Sound */
.sound-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  background-color: rgba(15, 23, 42, 0.6);
  pointer-events: all;
}

.sound-container:hover {
  background-color: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.sound-icon {
  width: 36px;
  height: 36px;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 36px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(15, 23, 42, 0.6);
}

.action-pressed {
  background-color: rgba(15, 23, 42, 0.8);
  border: 2px solid #10b981;
}

.action img {
  width: 36px;
  height: 36px;
}

.action-shortcut {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 30px;
  color: #e5e7eb;
  text-align: center;
  background-color: rgba(15, 23, 42, 1);
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 4px;
}
