/* Beyond the Highway — push notification popup styles
   Include this on onnow.html and wherever the coupon banner lives, e.g.:
   <link rel="stylesheet" href="push-signup.css">
   Also copy aurora-bg.jpg into the same folder as this file (or update the url() below). */

#bth-push-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none; /* only the card itself is interactive, page stays usable behind it */
}

.bth-push-card {
  pointer-events: auto;
  position: absolute;
  left: 14px; right: 14px; bottom: 20px;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--line, rgba(224,168,80,.22));
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 16px 40px -14px #000;
  overflow: hidden;
  isolation: isolate;
  animation: bth-push-rise 0.4s cubic-bezier(0.2,0.8,0.2,1);
  font-family: var(--sans, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif);
}
@keyframes bth-push-rise {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.bth-push-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url('aurora-bg.jpg') 22% 60% / cover no-repeat;
}
.bth-push-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(165deg, rgba(15,40,23,.42), rgba(11,32,19,.32) 55%, rgba(9,26,16,.5));
}

.bth-push-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.bth-push-bell {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(230,184,92,.16);
  border: 1px solid rgba(230,184,92,.3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.bth-push-bell svg { width: 16px; height: 16px; }
.bth-push-title {
  font-family: var(--serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--paper, #f5f1e7);
  text-shadow: 0 1px 6px rgba(4,16,10,.7);
}
.bth-push-sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--mist, rgba(245,241,231,.74));
  text-shadow: 0 1px 4px rgba(4,16,10,.6);
}

.bth-push-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist, rgba(245,241,231,.74));
  text-shadow: 0 1px 4px rgba(4,16,10,.6);
}
.bth-push-steps li { margin-bottom: 3px; }
.bth-push-share-icon {
  display: inline-block;
  vertical-align: -3px;
  margin: 0 1px;
}

.bth-push-topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line, rgba(224,168,80,.22));
}
.bth-push-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bth-push-tname {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper, #f5f1e7);
  text-shadow: 0 1px 4px rgba(4,16,10,.6);
}
.bth-push-tfreq {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--mist, rgba(245,241,231,.74));
  margin-top: 1px;
  text-shadow: 0 1px 4px rgba(4,16,10,.6);
}

.bth-push-switch { position: relative; width: 38px; height: 22px; flex: 0 0 auto; }
.bth-push-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.bth-push-track {
  position: absolute; inset: 0;
  background: rgba(245,241,231,0.18);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.bth-push-thumb {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 17px; height: 17px;
  background: var(--paper, #f5f1e7);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.bth-push-switch input:checked + .bth-push-track {
  background: linear-gradient(90deg, var(--green-1, #9be84a), var(--green-2, #5bc94f));
}
.bth-push-switch input:checked + .bth-push-track .bth-push-thumb { transform: translateX(16px); }

.bth-push-actions { display: flex; gap: 8px; }
.bth-push-btn {
  flex: 1;
  font-family: var(--sans, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  border: none;
  text-align: center;
  cursor: pointer;
}
.bth-push-btn-primary {
  background: linear-gradient(90deg, var(--gold, #e6b85c), var(--gold-soft, #c98f3e));
  color: var(--ink, #04100a);
}
.bth-push-btn-secondary {
  background: transparent;
  color: var(--mist, rgba(245,241,231,.74));
}
