:root {
  --spotify-green: #1ed760;
  --spotify-dark: #191414;
  --down-grey: #5a5c5e;
  --down-red: #ed254e;
}

body {
  background: var(--spotify-dark);
  color: #fff;
  min-height: 100vh;
}

.main-content {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 700px) {
  .main-content {
    width: 95vw;
    max-width: 95vw;
  }
}

/* Title and Intro */
.site-title {
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(25,20,20,0.10);
  width: 100%;
}

.site-title .spotify-word {
  color: var(--spotify-green);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.site-title .site-qmark {
  color: #fff;
  font-weight: 700;
}

.site-title::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0 auto;
  width: 100%;
  height: 3px;
  background: var(--spotify-green);
  border-radius: 2px;
  opacity: 0.3;
}

.status-intro {
  font-size: 1.15rem;
  text-align: center;
  margin: 0 auto 1.0 rem auto;
  color: #dedede;
  max-width: 100%;
}

.status-box {
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
  margin: 2rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding: 2.5rem 1.5rem;
  transition: background 0.3s, color 0.3s;
  border: 4px solid #222;
}

.status-box[data-status="up"] {
  background: var(--spotify-green);
  color: #111;
  border-color: var(--spotify-green);
}

.status-box[data-status="down"] {
  background: var(--down-grey);
  color: #fff;
  border-color: var(--down-red);
}

.status-label {
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.status-sub {
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  opacity: 0.85;
}

.chart-panel {
  width: 100%;
  margin: 1.2rem 0 0 0;
  max-width: 600px;
}

.chart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  border-radius: 1.4rem 1.4rem 0 0;
  padding: 0.4rem 1.2rem;
}

.chart-title {
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.btn-chart-toggle {
  background: var(--spotify-green);
  color: #191414;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.2rem 1rem;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-chart-toggle[aria-expanded="false"] {
  background: #5a5c5e;
  color: #fff;
}

.chart-panel-body {
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
  max-height: 1000px;
}

.chart-panel-body.collapsed {
  max-height: 0 !important;
  padding: 0;
  pointer-events: none;
}

.status-chart-container {
  width: 100%;
  max-width: 500px;
  margin: 0.5rem auto 0 auto;
  background: #222;
  border-radius: 2rem;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.12);
  padding: 1.2rem 0.7rem 0.7rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.status-chart-container.small-chart {
  height: 160px;
}

.chart-divider {
  width: 100%;
  height: 4px;
  background: var(--spotify-green);
  opacity: 0.3;
  margin: 2rem 0 2rem 0;
  border-radius: 2px;
}

/* FAQ section alignment */
.faq-section {
  width: 100%;
  margin: 0rem 0 2.5rem 0;
  text-align: left;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1.25rem;
}

.faq {
  margin-bottom: 1.5rem;
  padding-left: 0.7rem;
}

@media (min-width: 900px) {
  .status-box {
    min-height: 20vh;
    max-width: 600px;
  }
  .status-chart-container {
    max-width: 600px;
    height: 280px;
  }
  .status-chart-container.small-chart {
    height: 160px;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 1.4rem;
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
  }
  .site-title::after {
    width: 100%;
  }
}
