:root {
  --bg-color: #b2f0e6;
  --panel-color: #3b2b20;
  --button-color: #2a1f17;
  --text-color: #f0f0f0;
  --accent-color: #00cc88;
  --font-family: 'Poppins', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

html, body {
  height: 100%;
  background: url('../images/bg-1.png') no-repeat center top fixed;
  background-size: cover;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 1.05em;
  font-weight: 400;
  margin: 0;
  padding: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

h1, h2, h3, h4, h5, h6,
.text-center > p,
form h4,
form label,
.dj-box h3,
.dj-box p,
#liveTrackInfo,
.bg-light p,
.bg-white p,
.text-center p.visitor-count,
.album-section h4,
.album-section p,
.comment-section h4,
.comment-section label,
.comment-section p,
.recent-comments h4,
.recent-comments p {
  color: var(--accent-color);
}

p.subtext {
  font-size: 1.1em;
  font-weight: 500;
  color: var(--accent-color);
  opacity: .96;
}

textarea::placeholder,
input::placeholder {
  font-size: 1em;
  font-weight: 600;
  color: #9fe9cf;
  opacity: 1;
  text-shadow: 0 0 3px rgba(51,255,187,.25);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  background-color: var(--panel-color) !important;
  border-bottom: 2px solid var(--accent-color);
}

.navbar-brand, .nav-link {
  color: var(--text-color) !important;
  font-weight: 600;
}

.nav-link:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--panel-color);
  color: var(--text-color);
  border-top: 2px solid var(--accent-color);
  padding: 1em 0;
  text-align: center;
}

.btn-primary,
.btn-accent {
  background-color: var(--button-color);
  color: #ffffff;
  font-weight: bold;
  padding: 0.75em 1.5em;
  font-size: 1.05em;
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  transition: background-color 0.3s ease, transform .2s ease;
}

.btn-primary:hover,
.btn-accent:hover {
  background-color: var(--panel-color);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-dark {
  background-color: #000;
  color: var(--accent-color);
  font-weight: bold;
  border: 1px solid var(--accent-color);
  padding: 0.6em 1.2em;
  font-size: 1em;
  border-radius: 10px;
}

.btn-dark:hover {
  background-color: var(--accent-color);
  color: #000;
  text-decoration: none;
}

.dj-box,
.htr-panel,
.htr-box,
.htr-card,
.bg-light,
.bg-white,
.card,
.form-shell,
.table-shell {
  background-color: rgba(59, 43, 32, 0.95) !important;
  border: 2px solid var(--accent-color) !important;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.dj-box,
.htr-box,
.htr-panel,
.form-shell,
.table-shell,
.bg-light,
.bg-white {
  padding: 1.25rem;
}

.htr-hero {
  background: linear-gradient(180deg, rgba(59,43,32,.96), rgba(29,20,15,.95));
  border: 2px solid var(--accent-color);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.htr-hero p:last-child,
.htr-panel p:last-child,
.htr-card p:last-child,
.htr-box p:last-child { margin-bottom: 0; }

.htr-section-title {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.htr-kicker {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,204,136,.45);
  background: rgba(0,204,136,.14);
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: .02em;
}

.htr-card {
  padding: 1.25rem;
  height: 100%;
}

.htr-meta {
  opacity: .85;
  color: #d6ffef;
  font-size: .95rem;
}

.form-control,
.form-select {
  background: rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 204, 136, 0.55) !important;
  border-radius: 12px !important;
  padding: .8rem .95rem;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 204, 136, 0.15) !important;
  border-color: var(--accent-color) !important;
}

.form-label,
label {
  color: var(--accent-color);
  font-weight: 600;
}

#liveTrackInfo {
  font-size: 1.15em;
  padding: 1em;
  background-color: var(--panel-color);
  border-radius: 14px;
  border: 2px solid var(--accent-color);
}

img.img-fluid.rounded,
.htr-card img,
.card img {
  border: 2px solid var(--accent-color);
}

.card .card-title,
.card .card-text {
  color: #fff;
}

.schedule-table {
  background-color: transparent;
  color: #fff;
  border-color: #444;
}

.schedule-table th,
.schedule-table td {
  background-color: rgba(0,0,0,.35) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  vertical-align: middle;
}

.schedule-table th {
  font-weight: bold;
  color: var(--accent-color) !important;
}

.schedule-table td strong {
  color: #fff;
}

.text-center p.visitor-count {
  font-size: 1.1em;
  font-weight: bold;
  padding: 1em;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  background-color: var(--panel-color);
  display: inline-block;
  margin-top: 1em;
}

iframe { border-radius: 12px; }
.gap-3 { gap: 1rem; }

.sidebar-link {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}
.sidebar-link:hover { text-decoration: underline; }
.sidebar-image {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
}

.station-block {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.friends-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.reorder-btn {
  background-color: var(--button-color);
  color: #fff;
  font-size: 0.9em;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  margin: 0.3em;
  border: 1px solid var(--accent-color);
}
.reorder-btn:hover {
  background-color: var(--accent-color);
  color: #000;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent-color);
  color: #000;
  font-size: 1.5em;
  padding: 0.5em 0.7em;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 204, 136, 0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 999;
}
#backToTop:hover { background-color: #00cc88; color: #fff; }
#backToTop.show { opacity: 1; }

.friends-flex { display: flex; gap: 2rem; align-items: flex-start; }
.friend-card,
.fan-card,
.person-card,
.top50-row,
.top50-card,
.top50-hero {
  box-shadow: 0 10px 24px rgba(0,0,0,.26);
}

@media (max-width: 767px) {
  .htr-hero { padding: 1.5rem 1rem; }
}


.htr-live-stats,
.htr-footer-grid,
.htr-footer-stat,
.htr-stats-card {
  background-color: rgba(59, 43, 32, 0.95);
  border: 2px solid var(--accent-color);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.26);
}

.htr-live-stats,
.htr-footer-grid {
  padding: 1rem 1.1rem;
}

.htr-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 1rem;
  align-items: stretch;
}

.htr-footer-block {
  padding: .25rem;
}

.htr-footer-title,
.htr-stat-value,
.htr-stats-title {
  color: var(--accent-color);
}

.htr-footer-links a {
  display: inline-block;
  margin: .15rem .45rem .15rem 0;
}

.htr-live-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.htr-footer-stat,
.htr-stats-card {
  padding: 1rem;
  text-align: center;
}

.htr-stat-label {
  display: block;
  font-size: .95rem;
  opacity: .92;
  margin-bottom: .35rem;
  color: #fff;
}

.htr-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.htr-stat-sub {
  display: block;
  margin-top: .3rem;
  font-size: .88rem;
  color: #d6ffef;
  opacity: .9;
}

.htr-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.htr-stats-card .htr-stats-title {
  font-size: .9rem;
  margin-bottom: .35rem;
  font-weight: 700;
}

.htr-stats-card .htr-stat-value {
  font-size: 1.7rem;
}

@media (max-width: 991px) {
  .htr-footer-grid,
  .htr-live-stats,
  .htr-stats-strip {
    grid-template-columns: 1fr;
  }
}


.footer-pill {
  background-color: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  color: var(--text-color);
  min-width: 150px;
}

.comment-shell textarea {
  min-height: 84px;
}

.recent-comments-box h5 {
  margin-bottom: 1rem;
}

.comment-entry {
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.comment-entry:last-child {
  border-bottom: none;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.comment-body {
  color: var(--accent-color);
  font-size: 1.05rem;
  line-height: 1.65;
}

.reply-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: #fff;
}
