/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: white;
  background: black;
  overflow: hidden;
  height: 100vh;
}

/* Background image */
.background {
  background: url('images/bg_01.png') no-repeat center center / cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Centering wrapper */
.site-wrapper {
  width: min(100%, 1000px); /* max 1000px or 100% of screen */
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.top-bar {
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  z-index: 2;
}

.top-bar button {
  background-color: #4da6ff;
  border: none;
  color: white;
  font-size: 1.2em;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.top-bar button.bgm {
  margin-left: auto;
  background-color: #ff66cc;
}

/* Main content layout */
.ui-container {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr 250px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Left Sidebar */
.sidebar {
  padding: 10px;
  overflow-y: auto;
}

.sidebar.left {
  background-color: rgba(0, 102, 204, 0.8);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar.left button {
  padding: 10px;
  background-color: #475dce;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.sidebar.left button:hover {
  background-color: #e473ad;
}

/* Center content */
.content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 1.3em;
  line-height: 1.6;
  backdrop-filter: brightness(0.8);
  overflow-y: auto;
}

/* Right Sidebar */
.sidebar.right {
  background-color: rgba(0, 0, 0, 0.8);
  font-size: 0.9em;
  padding: 15px;
  overflow-y: auto;
}

.sidebar.right h3 {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #00ccff;
}

.sidebar.right button.small {
  padding: 5px 10px;
  margin-top: 10px;
  background: #00ccff;
  color: black;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
