body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #121212;
  color: #fff;
  font-family: 'Inter', Roboto, sans-serif;
}

select option {
  background-color: #222;
  color: #fff;
}

#app-container {
  width: 100vw;
  height: 100vh;
}

#top-container {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

#bottom-container {
  position: relative;
  width: 100%;
  height: 25vh;
  background: #1a1a1a;
  border-top: 2px solid #333;
  box-sizing: border-box;
}

#pixi-canvas, #paper-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#pixi-canvas { z-index: 1; }
#paper-canvas { z-index: 2; pointer-events: auto; }

#profile-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-label {
  position: absolute;
  top: 10px;
  left: 20px;
  color: #aaa;
  font-weight: 600;
  pointer-events: none;
}

#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through to canvas */
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.glass {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.panel {
  width: 320px;
  padding: 20px;
  pointer-events: auto;
}

h2 {
  margin: 0 0 5px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #e0e0e0;
}

.subtitle {
  margin: 0 0 20px 0;
  font-size: 0.9rem;
  color: #a0a0a0;
}

#main-logo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}


.metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-box {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.metric-box .label {
  color: #aaaaaa;
}

.metric-box .value {
  font-weight: 600;
  color: #4facfe;
}

/* Specific button styles for clarity */
button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* Modal Overlay & Transitions */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-content {
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-overlay.hidden .modal-content {
  transform: scale(0.9);
}
