body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #1e1e2f, #000);
  color: #ddd;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

h1 {
  text-align: center;
  color: #ffffff;
  font-size: 2em;
  margin-bottom: 10px;
}

.price-info {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.graph-price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.graph-price-container .fancy-box {
  flex: 1;
  min-width: 250px;
  max-width: 700px;
}

.graph-price-container .graph-wrapper {
  display: flex;
  align-items: flex-end;
  height: 300px;
}

.graph-price-container .vertical-graph {
  position: relative;
  width: 100px;
  height: 100%;
  background: linear-gradient(to top, #2b2b45, #0d0d2b);
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px #00d8ff66;
}

.graph-price-container .graph-labels {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  margin-left: 15px;
  font-size: 0.95em;
  color: #ccc;
}

.marker {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ffc107;
  border-radius: 2px;
  box-shadow: 0 0 8px #ffc107;
  animation: pulse 2s infinite ease-in-out;
  transition: bottom 1.5s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 8px #ffc107;
  }
  50% {
    box-shadow: 0 0 15px #ffeb3b;
  }
}

#error-message {
  color: red;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}

.price-row {
  margin: 4px 0;
}

.fancy-box {
  border: 1px solid #444;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px #222;
  background: #111;
  margin-bottom: 20px;
  text-align: center;
}

.last-price-row {
  font-weight: bold;
  font-size: 1.2em;
  color: #ffc107;
  text-shadow: 0 0 8px #ffc107, 0 0 12px #ffeb3b;
  animation: textPulse 2s infinite ease-in-out;
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 1.3em;
  vertical-align: middle;
  transition: color 0.5s ease;
}

.arrow.up {
  color: #ffffff;
}

.arrow.down {
  color: #ffffff;
}

.glow {
  color: #ffc107;
  text-shadow: 0 0 8px #ffc107, 0 0 15px #ffeb3b;
  animation: textPulse 2s infinite ease-in-out;
}

@keyframes textPulse {
  0%, 100% {
    text-shadow: 0 0 8px #ffc107, 0 0 12px #ffeb3b;
  }
  50% {
    text-shadow: 0 0 15px #ffeb3b, 0 0 20px #ffc107;
  }
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
  .graph-price-container {
    flex-direction: column;
    align-items: center;
  }

  .graph-price-container .graph-wrapper {
    height: 250px;
  }

  .graph-price-container .vertical-graph,
  .graph-price-container .graph-labels {
    height: 100%;
  }

}

#priceHistoryChart {
  margin-top: 40px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 8px #00d8ff55;
}
.chart-banner {
  max-width: 1000px;
  margin: 40px auto;
  padding: 10px;
  background-color: #111;
  border-radius: 12px;
  box-shadow: 0 0 15px #00d8ff33;
  border: 1px solid #333;
}

.chart-aspect-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.chart-aspect-ratio canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.banner-chart-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 40px auto 20px;
  padding: 10px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

#lineChart {
  width: 100% !important;
  height: 100% !important;
}

.reset-button {
  padding: 8px 16px;
  background: #444;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reset-button:hover {
  background: #666;
}


.subscribe-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.subscribe-form {
  background: #111;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 0 10px #00d8ff33;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.subscribe-form input[type="email"] {
  padding: 10px;
  width: 100%;
  border: 1px solid #555;
  border-radius: 6px;
  background: #222;
  color: #fff;
}

.subscribe-form button {
  padding: 8px 16px;
  /*background: #00d8ff; */
  background: linear-gradient(135deg, #f2c94c, #f7e380, #e7b93e);
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background: #ebc963;
}

#subscribeMessage {
  font-weight: bold;
  color: #fadb7e;
  text-align: center;
}

.hidden {
  display: none;
}
