/* ================================================================
   index.css — Home page styles
   Linked from index.html
================================================================ */

/* ── Hero — incoming transmission ─────────────────────────────── */
.txmit {
  border: 1px solid #2d0048;
  border-left: 3px solid #7a00aa;
  background: rgba(8,0,24,0.7);
  padding: 14px 18px;
  margin: 18px 0 6px 0;
}

.txmitTop {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.txmitLabel {
  font-family: monospace;
  font-size: 9px;
  color: #7a00aa;
  letter-spacing: 3px;
  animation: txmitFlicker 4s ease-in-out infinite;
}

@keyframes txmitFlicker {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.txmitMeta {
  font-family: monospace;
  font-size: 9px;
  color: #44ff99;
  letter-spacing: 2px;
}

.txmitBody {
  font-family: monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #cc99ff;
  white-space: pre-line;
  min-height: 118px;              /* reserve space so typing doesn't reflow the page */
  text-shadow: 0 0 8px rgba(170,102,255,0.35);
}

.txmitCursor {
  color: #44ff99;
  text-shadow: 0 0 8px #44ff99;
}

.txmitHint {
  font-family: monospace;
  font-size: 9px;
  color: #5544aa;
  letter-spacing: 1px;
  margin-top: 10px;
  border-top: 1px dashed #2d0048;
  padding-top: 8px;
}

/* ── Station status — live tiles ──────────────────────────────── */
.statusStrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.statusTile {
  display: block;
  background: rgba(0,0,0,0.45);
  border: 1px solid #440066;
  border-top: 3px solid #7a00aa;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.statusTile:hover {
  border-color: #cc00ff;
  box-shadow: 0 0 14px rgba(180,0,255,0.3);
  background: rgba(60,0,80,0.35);
  color: inherit;
}

.stLabel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 8px;
  color: #7a00aa;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.stDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #173322;
  border: 1px solid #1f4d33;
  flex-shrink: 0;
}

.stDot.live {
  background: #44ff99;
  border-color: #44ff99;
  box-shadow: 0 0 6px #44ff99;
  animation: stPulse 1.6s ease-in-out infinite;
}

@keyframes stPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.stValue {
  font-family: monospace;
  font-size: 13px;
  color: #d4c8ff;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stSub {
  font-family: monospace;
  font-size: 9px;
  color: #5544aa;
  letter-spacing: 1px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .statusStrip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .statusTile { padding: 10px; }
  .stValue { font-size: 12px; }
  /* 10 typed lines × 1.8 line-height × 12px */
  .txmitBody { min-height: 216px; font-size: 12px; }
  .ringLinkback pre { font-size: 11px; overflow-x: auto; max-width: 100%; }
}

/* ── Station placards — badge row under the hero ──────────────── */
.inlineButtons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 4px 0;
}

.inlineButtons img {
  image-rendering: pixelated;
  filter: drop-shadow(0 0 6px rgba(120,60,200,0.35));
  transition: filter 0.2s, transform 0.2s;
}

.inlineButtons img:hover {
  filter: drop-shadow(0 0 10px rgba(190,100,255,0.6));
  transform: translateY(-1px);
}

/* ── Backlink note ────────────────────────────────────────────── */
.backlinkNote {
  border: 1px dashed #440066;
  background: rgba(20,0,32,0.4);
  padding: 12px 16px;
  margin-top: 18px;
  font-size: 12px;
  color: #9988bb;
  line-height: 1.8;
}

.backlinkNote .blHeart {
  color: #ff66aa;
  text-shadow: 0 0 8px rgba(255,102,170,0.5);
  margin-right: 4px;
}

.backlinkNote strong { color: #cc99ff; }

/* ── Hacker Webring linkback ──────────────────────────────────── */
.ringLinkback {
  margin-top: 18px;
  text-align: center;
}

.ringLinkback pre {
  display: inline-block;
  text-align: left;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #44ff99;
  background: rgba(0,10,4,0.5);
  border: 1px solid #1f4d33;
  padding: 10px 14px;
  margin: 0;
  text-shadow: 0 0 6px rgba(68,255,153,0.35);
}

.ringLinkback pre a {
  color: #cc99ff;
  text-decoration: none;
}
.ringLinkback pre a:hover {
  color: #ff66ff;
  text-shadow: 0 0 8px #ff66ff;
}

.ringLinkbackMore {
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 6px;
}
.ringLinkbackMore a { color: #5544aa; text-decoration: none; }
.ringLinkbackMore a:hover { color: #cc99ff; }

.platformCard {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.5);
  border: 1px solid #440066;
  border-left: 4px solid #7a00aa;
  padding: 20px;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.platformCard:hover {
  border-color: #cc00ff;
  box-shadow: 0 0 18px rgba(180,0,255,0.3);
  background: rgba(60,0,80,0.4);
}
.platformCard .platformIcon  { font-size: 40px; min-width: 50px; text-align: center; }
.platformCard .platformInfo h3 { color: #d4c8ff; font-size: 15px; margin-bottom: 6px; letter-spacing: 1px; }
.platformCard .platformInfo p  { font-size: 12px; margin: 0; color: #9988bb; }
.platformCard .platformArrow   { margin-left: auto; color: #7a00aa; font-size: 18px; }

.liveDot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4444;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.liveLabel { font-size: 11px; color: #ff7766; letter-spacing: 1px; }
