/* styles.css */

/* CSS Variable for your primary color */
:root {
  --primary-color: #0f0;
}

/* reset & background */
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  color: var(--primary-color);
  font-family: 'Courier New', Courier, monospace;
}

/* COLOR PICKER */
#color-picker {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.color-box {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  box-sizing: border-box;
}
.color-box[data-color="#00ffff"] { background: #00ffff; }
.color-box[data-color="#00ff00"] { background: #00ff00; }
.color-box[data-color="#ff69b4"] { background: #ff69b4; }
.color-box[data-color="#ffbf00"] { background: #ffbf00; }
.color-box[data-color="#800080"] { background: #800080; }
.color-box.selected {
  border: 2px solid #fff;
}

/* MATRIX CANVAS */
#matrix {
  display: block;
}

/* LOGO + ENTER BUTTON */
#logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
#logo h1 {
  margin: 0 0 0.5rem;
  font-size: 3rem;
  color: var(--primary-color);
}
#logo p {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
}
.enter-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: rgba(0,0,0,0.6);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.enter-btn:hover {
  background: rgba(0,0,0,0.8);
  color: #fff;
}

/* MODAL OVERLAY */
.enter-modal {
  position: fixed;
  inset: 0;
  background: #000;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
}
.enter-modal.active {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}
.enter-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--primary-color);
}

/* DASHBOARD PAGE */
.dashboard-body {
  margin: 0;
  height: 100vh;
  background: #000;
  color: var(--primary-color);
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dashboard-header h1 {
  margin: 0 0 1rem;
  color: var(--primary-color);
}
.dashboard-main p {
  margin: 0.5rem 0;
}
.dashboard-main a {
  color: var(--primary-color);
  text-decoration: none;
}
.dashboard-main a:hover {
  text-decoration: underline;
}
