/* ========================================
   DRONE ORCHESTRA - MAIN STYLESHEET
   Dark Brutalist Aesthetic
   Red/Orange Color Scheme
   ======================================== */

/* ---- BASE STYLES ---- */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

/* ---- INTRO OVERLAY ---- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#title {
    font-size: 80px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 10px;
}

/* ---- BUTTONS ---- */
#startButton {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #330000;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

#startButton:hover {
    background-color: #990000;
    transform: scale(1.05);
}

/* ---- CONTROLS PANEL ---- */
#controls {
    color: white;
    margin-top: 40px;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

/* ---- BRIGHTNESS CONTROLS ---- */
#brightness-controls {
    position: absolute;
    z-index: 9998;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #330000;
    padding: 15px;
    color: #fff;
    font-family: monospace;
    display: none;
}

.slider-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.slider-container label {
    margin-right: 10px;
    width: 100px;
    color: #999;
    font-size: 0.85rem;
}

input[type="range"] {
    width: 150px;
    height: 4px;
    background: #1a0000;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ff4500;
    cursor: pointer;
    border-radius: 0;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ff4500;
    cursor: pointer;
    border-radius: 0;
    border: none;
}

input[type="range"]:hover::-webkit-slider-thumb {
    background: #ff6347;
}

input[type="range"]:hover::-moz-range-thumb {
    background: #ff6347;
}

/* ---- CONTROLS HELP ---- */
#controls-help {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #330000;
    padding: 12px 18px;
    color: #999;
    font-family: monospace;
    font-size: 0.85rem;
    z-index: 1000;
    display: none;
}

#controls-help .key {
    color: #ff4500;
    font-weight: bold;
}

/* ---- FULLSCREEN BUTTON ---- */
#fullscreen-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a0000;
    border: 2px solid #330000;
    color: #ff4500;
    padding: 10px 15px;
    cursor: pointer;
    font-family: monospace;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    z-index: 1000;
    display: none;
}

#fullscreen-btn:hover {
    background: #330000;
    border-color: #ff4500;
    transform: scale(1.1);
}

/* ---- A-FRAME OVERRIDES ---- */
.a-loader-title {
    background-color: #000 !important;
    color: #666 !important;
}

.a-enter-vr-button,
.a-enter-ar-button {
    background-color: #222 !important;
}

a-scene .a-loader {
    background-color: #000 !important;
}

.a-canvas {
    background-color: #000 !important;
}

/* ========================================
   MONTH SELECTOR OVERLAY
   ======================================== */

/* Month Selector Overlay */
#month-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

#month-selector-overlay.fade-out {
  opacity: 0;
}

.month-selector-content {
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  text-align: center;
}

.month-selector-content h1 {
  color: #ff4500;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.month-selector-content .subtitle {
  color: #999;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.months-list {
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.month-item {
  background: #1a0000;
  border: 2px solid #330000;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.month-item:hover {
  background: #330000;
  border-color: #ff4500;
  transform: translateX(5px);
}

.month-item.latest {
  border-color: #ff4500;
}

.month-item.latest::before {
  content: '★ LATEST';
  display: block;
  color: #ff4500;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.month-name {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.month-info {
  color: #999;
  font-size: 0.9rem;
}

.error-message {
  color: #ff4500;
  padding: 2rem;
  font-size: 1.1rem;
}

/* Scrollbar styling for months list */
.months-list::-webkit-scrollbar {
  width: 8px;
}

.months-list::-webkit-scrollbar-track {
  background: #000;
}

.months-list::-webkit-scrollbar-thumb {
  background: #330000;
  border-radius: 4px;
}

.months-list::-webkit-scrollbar-thumb:hover {
  background: #ff4500;
}

/* ========================================
   METADATA DISPLAY
   ======================================== */

/* Metadata Overlay (Month Info - Top Right) */
.metadata-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #330000;
  padding: 1rem 1.5rem;
  z-index: 1000;
  font-family: monospace;
  color: #fff;
  min-width: 200px;
}

.metadata-overlay .month-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff4500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metadata-overlay .month-theme {
  color: #999;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.metadata-overlay .drone-count {
  color: #666;
  font-size: 0.85rem;
}

/* Change Month Button (Top Left) */
.change-month-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: #1a0000;
  border: 2px solid #330000;
  color: #ff4500;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  z-index: 1000;
}

.change-month-button:hover {
  background: #330000;
  border-color: #ff4500;
  transform: translateX(-3px);
}

/* Artist Hover Label */
.artist-label {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #ff4500;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2000;
  white-space: nowrap;
}
