: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;
  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;
  }
}

.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;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  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);
}

/* 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;
}

.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;
}

.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;
}

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 {
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

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

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 {
  position: absolute;
  top: -6px;
  right: -6px;
  background:  var(--accent);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 999px;
  border: 2px solid #0f172a; 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 10;
  white-space: nowrap;
} */

/* .reason-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 999px;
  border: 2px solid var(--bg-dark); 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 10;
  line-height: 1;
} */

.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%;
  }

.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);
}