/* ==========================================================================
   EARLY 2000s MINIMALIST AESTHETIC - MATCHING CONCEPT SKETCH
   Palette: Classic desktop gray (#bfbfbf / #cfcfcf), crisp dark borders, system fonts
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #9a9a9a;
  /* Classic early 2000s desktop canvas tone */
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
  padding: 24px 12px;
}

/* Page Wrapper */
#page-wrapper {
  width: 860px;
  max-width: 96%;
  margin: 0 auto;
}

/* Top Heading: "welcome to my website!" from concept */
#site-header {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: normal;
  color: #000000;
  margin-bottom: 8px;
  padding-left: 2px;
  letter-spacing: -0.5px;
}

/* Main Outer Frame Box from Concept */
#main-frame {
  background-color: #b0b0b0;
  border: 2px solid #000000;
  padding: 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

/* Top Row: Spans the width, aligns Audio Player to top-right */
#top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.top-spacer {
  flex-grow: 1;
}

/* Audio Player Box (Top Right Corner) */
#audio-player-box {
  width: 240px;
  background-color: #c4c4c4;
  border: 2px solid #000000;
  padding: 8px 10px;
}

.audio-player-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  color: #000000;
  border-bottom: 1px solid #777777;
  padding-bottom: 4px;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.audio-player-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.audio-status-line {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  background-color: #111111;
  color: #00ff66;
  padding: 2px 4px;
  border: 1px inset #555555;
  text-align: center;
}

.btn-group {
  display: flex;
  gap: 3px;
}

/* Retro Beveled Buttons */
.retro-btn {
  flex: 1;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 4px;
  background-color: #dcdcdc;
  color: #000000;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #555555;
  border-bottom: 2px solid #555555;
  cursor: pointer;
  outline: none;
}

.retro-btn:active,
.retro-btn.active-state {
  background-color: #b5b5b5;
  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: bold;
}

.slider-row input[type="range"] {
  flex: 1;
  accent-color: #222222;
  cursor: pointer;
}

.sfx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.sfx-row .retro-btn {
  flex: none;
  width: 70px;
}

.file-label {
  font-family: "Courier New", monospace;
  font-size: 9px;
  color: #333333;
}

/* Main Content Grid (Left: Image & Lines, Right: Replaceable Text) */
#content-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-grow: 1;
}

/* Left Column */
#left-column {
  width: 290px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* "insert image here" Box */
#art-container {
  width: 100%;
  height: 270px;
  background-color: #d0d0d0;
  border: 2px solid #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #000000;
}

/* Overlay Badge for placeholder clarity */
.art-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: center;
  padding: 3px;
  letter-spacing: 0.5px;
}

/* Art Selector Navigation */
.art-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 8px;
}

.art-nav-row .retro-btn {
  flex: none;
  width: 60px;
}

.counter-text {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: bold;
  color: #111111;
}

/* Under-Image Text Lines (Matching 3 squiggly lines in concept) */
#under-image-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px dotted #555555;
  padding-top: 8px;
}

.img-line {
  font-size: 11px;
  color: #222222;
  line-height: 1.4;
  word-break: break-word;
}

/* Right Column: "replaceable text here" */
#right-column {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

#main-text-heading {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

#main-text-body p {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #111111;
}

/* Responsive adjustments */
@media (max-width: 680px) {
  #content-grid {
    flex-direction: column;
  }

  #left-column {
    width: 100%;
  }

  #top-bar {
    justify-content: center;
  }

  #audio-player-box {
    width: 100%;
  }
}
