:root {
  --bg-dark: #050816;
  --bg-card: #0f172a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-dark: #13456f;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.8);
  --radius-xl: 24px;
  --radius-pill: 999px;
  --transition-fast: 180ms ease-out;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-shell {
  /* max-width: 960px; */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, #020617 0%, #020617 55%, #020617 100%);
  border-radius: 28px;
  padding: 32px 28px 28px;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -120px;
  opacity: 0.5;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.15), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.12), transparent 48%);
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 800px) {
  .card-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    padding: 24px 20px 22px;
  }
}

.left-panel {
  align-self: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

h1 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 span.highlight {
  background: linear-gradient(120deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subheading {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.85);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  margin-top:60px;
}
.case {
  margin:10px;
  color:rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.intro {
  margin:10px 10px 40px;
  color:rgba(255,255,255,0.8);
  font-size: 0.98rem;
  font-weight: 500;
}

.intro a {
  background: radial-gradient(circle at 0 0, #38bdf8, #0ea5e9 55%, #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  text-decoration: none;
  transition: all 0.3s ease;
}

.intro a:hover {
  text-decoration: underline;
  text-decoration-color: white;
}

.notes {
  margin: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.98rem;
  font-weight: 500;
}

.notes a {
  background: radial-gradient(circle at 0 0, #38bdf8, #0ea5e9 55%, #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  text-decoration: none;
  transition: all 0.3s ease;
}

.notes a:hover {
  text-decoration: underline;
  text-decoration-color: white;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  /* margin: 6px 0; */
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
  /* white-space: nowrap; */
}

.cases .btn-primary,
.cases .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  margin: 6px 0;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
  /* white-space: nowrap; */
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #38bdf8, #0ea5e9 55%, #0369a1);
  color: #0b1120;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(56, 189, 248, 0.5);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 1);
  transform: translateY(-1px);
}

.note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

li a {
  color: rgba(200,200,200,0.8);
  text-decoration:none;
}

li a:hover {
  color: rgba(255,255,255,0.5);
  text-decoration:underline;
}

.accordion {
  /* background-color: #161b22; */
  /* color: #c9d1d9; */
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: background-color 0.3s;
  /* font-weight: bold; */
  /* border-bottom: 1px solid #30363d; */
}

.accordion:hover {
  /* background-color: #21262d; */
}

.accordion:after {
  content: '▼';
  float: right;
  transition: transform 0.3s;
}

.accordion.active:after {
  transform: rotate(-180deg);
}

.panel {
  padding: 0 1rem 1rem;
  display: none;
  /* background-color: #0d1117;
  border-left: 2px solid #30363d;
  border-bottom: 1px solid #30363d; */
}

.panel a {
  display: block;
  padding: 0.5rem 0;
  color: #58a6ff;
  text-decoration: none;
}

.panel a:hover {
  text-decoration: underline;
}

/* Right / Form side */
.side-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 58%),
    #020617;
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  align-self: start;
}

.side-panel::before {
  content: "";
  /* position: absolute; */
  inset: 0;
  background: radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.16), transparent 50%);
  opacity: 0.75;
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  margin: 50px auto;
}

.panel-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.panel-headline {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.panel-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.panel-copy a,
li a {
  color: #fff;
  text-decoration:none;
}

.panel-copy a:hover,
li a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration:underline;
}

.panel-stock {
  margin:60px auto;
  max-width:90%;
}

.panel-image {
  margin:60px auto;
  max-width:100%;
}

.panel-players, .panel-texts {
  margin:20px auto;
}

.img-tooltip {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.img-tooltip img {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

.img-tooltip:hover img {
  opacity: 0.5;
}

.tooltip-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 30, 30, 0.9); /* dark semi-transparent */
  color: #fff;
  padding: 8px 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  visibility: hidden;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
  border-radius: 0 0 6px 6px;
}

.img-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.audio-player {
  width: 100%;
  margin: 10px auto;
  display: block;
}

/***  ***/
.player-container {
    max-width: 100%;
    margin: auto;
    background-color: #161b22;
    padding: 1rem;
    border: 1px solid #30363d;
    border-radius: 10px;
}

.player-container h2.panel-headline,
.texts-container h2.panel-headline {
  color: #fff;
  text-align: center;
  font-size: 1.05rem;
  margin-top: 12px;
  margin-bottom: 20px;
}

audio {
    width: 100%;
    margin-bottom: 1rem;
}

.playlist {
    list-style: none;
    padding: 0;
}

.playlist li {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #30363d;
    transition: background 0.2s;
}

.playlist li:hover {
    background-color: #21262d;
}

.playlist li.active {
    background-color: #0369a1;
    color: white;
}

.transcript-box {
    margin-top: 1rem;
    background: #21262d;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.transcript-toggle {
  cursor: pointer;
  padding: 0.75rem;
  background-color: #30363d;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transcript-content {
  padding: 0.75rem;
  display: block;
}

.transcript-content.hidden,
.hidden {
  display: none;
}

/*** ***/
.texts-container {
  max-width: 100%;
  margin: auto;
  background-color: #161b22;
  padding: 1rem;
  border: 1px solid #30363d;
  border-radius: 10px;
}

.message-thread {
  max-width: 100%;
  margin: 1rem auto;
  padding: .5rem;
  font-family: Arial, sans-serif;
}

.message-thread h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.message {
  max-width: 95%;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 16px;
  position: relative;
  line-height: 1.5;
  font-size: .9rem;
}

.from-them {
  background-color: #e5e5ea;
  color: #000;
  align-self: flex-start;
}

.from-you {
  background-color: #007aff;
  color: white;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

.timestamp {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5rem;
}
.from-you .timestamp {
  color: rgba(255,255,255,0.8);
}
/*** ***/

form {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

input,
textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  font-size: 0.84rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 1);
}

textarea {
  min-height: 72px;
  max-height: 180px;
}

.small-print {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.small-print strong {
  color: var(--text-main);
  font-weight: 500;
}

footer, .footer {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

footer a, footer a:hover,
.footer a, .footer a:hover {
  text-decoration: none;
  color: var(--text-muted);
}

footer a:hover,
.footer a:hover {
  text-decoration: underline;
}

/* --- Modal Layout --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

/* Modal Box */
.modal-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 450px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Image */
#hillImage {
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transition: opacity 2s ease;
    margin-bottom: 20px;
}

/* Text hidden initially */
#line1, #line2 {
    opacity: 0;
    transition: opacity 2s ease;
    font-size: 24px;
    font-family: Arial, sans-serif;
    margin: 10px 0;
    color: var(--text-dark);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 28px;
    cursor: pointer;
}

/* Flash Message */
.flash-message {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: auto;
}
.flash-message.success {
  background: #22c55e;
  color: white;
}
.flash-message.error {
  background: #dc2626;
  color: white;
}

.flash-message.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Banner Scroller */
/* Full-width background area */
.banner-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

/* Internal flex container aligned with .page-shell */
.banner-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px 30px 24px;
  display: flex;
  align-items: center; /* this centers profile + text vertically */
  gap: 16px;
}

/* Profile image already defined */
.profile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: visible;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow: hidden;
  border-radius: 50%;
}

.reason-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--text-main);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: bold;
  padding: 4px 6px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  line-height: 1;
  z-index: 2;
}

.reason-badge {
  animation: pop-in 0.4s ease-out;
}

@keyframes pop-in {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* New banner text wrapper */
.banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

/* Keep existing styles */
.banner-text .static,
.banner-text .static a {
  font-weight: bold;
  text-decoration: none;
  color: var(--accent) !important;
  white-space: normal;
  word-break: break-word;
}

.static .not {
  text-decoration: underline;
  display: inline;
  white-space: normal;
}

.banner .scrolling {
  white-space: nowrap;
  overflow: hidden;
  color: var(--text-main);
  min-width: 0;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .banner-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .banner-text .static {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
  }

  .banner .scrolling,
  .banner-text .scrolling {
    white-space: normal;
    overflow-wrap: break-word;
    width: 100%;
    text-align: center;
  }

  .profile {
    margin-bottom: 8px;
  }

  .press-contact {
    width: 100%;
    margin-top:15px;
  }

.btn-primary,
.btn-ghost {
  white-space: wrap !important;
}

}

.press-contact {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  font-weight: 500;
  padding: 8px 16px;
}

.press-contact:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/** Accordion Panels **/
.accordion-panel {
  display: none;
}

.accordion-panel.active {
  display: block;
}

.accordion-toggle.active .accordion-icon {
  transform: rotate(90deg);
}

.accordion-icon {
  float: right;
  transition: transform 0.2s;
}




/** Last 24 Hours Countdown **/
#countdown.panel-countdown {
  margin:20px auto 30px auto;
}

#countdown .timer {
    font-size: 2em;
    text-align: center;
}
#countdown .panel-copy {
  display: none; /* Hidden until countdown ends */
}
#countdown {
    display: none;
    /* Hidden until the timer starts */
}