/* Heartgorithm - style.css */
/* Import Y2K style fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: fixed;
}

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

body {
  background-color: #0a0a0a;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

canvas {
  display: block;
  border: 1px solid #6B6B6B;
  box-shadow: 0 0 10px rgba(151,151,151,0.3), 0 0 40px rgba(172,172,172,0.2);
  cursor: pointer;
  image-rendering: pixelated;
  width: 500px;
  height: 500px;
}

#controls-container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  text-align: center;
  flex-shrink: 0;
  overflow: hidden;
}

.angle-slider {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 15px auto;
  cursor: pointer;
}

/* Style the slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1a1a1a;
  outline: none;
  border-radius: 3px;
  border: 1px solid #D7DBD8;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #FF0000, #BE0000);
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #E6E6E6;
  box-shadow: 0 0 15px rgba(255,0,0,0.8), 0 0 30px rgba(196,196,196,0.4);
}

input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #FF0000, #FF0000);
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #A4AAA6;
  box-shadow: 0 0 15px rgba(201,4,4,0.8), 0 0 30px rgba(155,155,155,0.4);
}

.angle-label {
  color: #CECECE;
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 5px 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.6), 0 0 20px rgba(0, 255, 65, 0.3);
}

.instruction-text {
  color: #00ff88;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-style: italic;
  text-align: center;
  margin: 10px 0;
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.4);
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  canvas {
    width: 90vmin;
    height: 90vmin;
  }

  #controls-container {
    padding: 10px;
    max-width: 100%;
  }

  .angle-label {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .instruction-text {
    font-size: 10px;
    max-width: 100%;
  }
}

/* Desktop - larger screens */
@media (min-width: 769px) {
  #controls-container {
    max-width: 500px;
  }
}
