/* phishing4phun.ca — looks like it'll hack you, actually about fish */

:root {
  --bg: #050a05;
  --panel: #0a140a;
  --green: #2bff5e;
  --green-dim: #1aa83d;
  --amber: #ffb000;
  --red: #ff2b2b;
  --cyan: #19e6ff;
  --mono: "Courier New", "Lucida Console", Monaco, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--green);
  font-family: var(--mono);
  line-height: 1.5;
  overflow-x: hidden;
  text-shadow: 0 0 4px rgba(43, 255, 94, 0.45);
}

/* faint CRT scanlines over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  z-index: 9998;
}

/* matrix canvas behind content */
#matrix {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
}

a { color: var(--cyan); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 18px 80px;
}

/* ---- top scare bar ---- */
.alertbar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 8px 12px;
  text-shadow: none;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 2px solid #000;
}
.alertbar .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 18s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 46px 0 20px;
}
.skull { font-size: 52px; }
h1.glitch {
  font-size: clamp(34px, 8vw, 78px);
  margin: 8px 0;
  letter-spacing: 2px;
  position: relative;
  color: var(--green);
  animation: flicker 4s infinite;
}
h1.glitch::before,
h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}
h1.glitch::before { color: var(--red); animation: glitch1 2.5s infinite linear alternate; }
h1.glitch::after  { color: var(--cyan); animation: glitch2 3.1s infinite linear alternate; }
@keyframes glitch1 { 0%{clip-path:inset(0 0 85% 0);transform:translate(-3px,-2px)} 50%{clip-path:inset(50% 0 20% 0);transform:translate(2px,1px)} 100%{clip-path:inset(80% 0 5% 0);transform:translate(-2px,2px)} }
@keyframes glitch2 { 0%{clip-path:inset(10% 0 60% 0);transform:translate(3px,1px)} 50%{clip-path:inset(40% 0 30% 0);transform:translate(-2px,-1px)} 100%{clip-path:inset(70% 0 10% 0);transform:translate(2px,-2px)} }
@keyframes flicker { 0%,19%,21%,23%,25%,54%,56%,100%{opacity:1} 20%,24%,55%{opacity:0.65} }

.subtitle { color: var(--amber); font-size: 18px; letter-spacing: 1px; }
.blink { animation: blink 1s steps(2,start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---- terminal ---- */
.terminal {
  background: #000;
  border: 1px solid var(--green-dim);
  border-radius: 6px;
  margin: 26px 0;
  box-shadow: 0 0 24px rgba(43, 255, 94, 0.25), inset 0 0 40px rgba(43,255,94,0.05);
}
.terminal .bar {
  background: #0e1f0e;
  padding: 6px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--green-dim);
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.terminal .body {
  padding: 16px;
  min-height: 220px;
  font-size: 15px;
  white-space: pre-wrap;
  word-break: break-word;
}
.cursor::after { content: "▋"; animation: blink 1s steps(2,start) infinite; }
.ln-amber { color: var(--amber); }
.ln-red { color: var(--red); }
.ln-cyan { color: var(--cyan); }

/* progress bar */
.progress {
  margin-top: 10px;
  border: 1px solid var(--green-dim);
  height: 20px;
  background: #001400;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(45deg, var(--green-dim), var(--green-dim) 8px, var(--green) 8px, var(--green) 16px);
}

/* ---- panels / sections ---- */
section.panel {
  background: var(--panel);
  border: 1px solid var(--green-dim);
  border-radius: 6px;
  padding: 22px 24px;
  margin: 26px 0;
}
section.panel h2 {
  color: var(--cyan);
  border-bottom: 1px dashed var(--green-dim);
  padding-bottom: 8px;
  letter-spacing: 1px;
}
.imgshot {
  width: 100%;
  border: 2px solid var(--green-dim);
  border-radius: 4px;
  filter: saturate(1.1) contrast(1.05);
  display: block;
}
.imgshot.hacked { filter: hue-rotate(70deg) saturate(2) contrast(1.2); }
figure { margin: 0 0 16px; }
figcaption { font-size: 13px; color: var(--green-dim); margin-top: 6px; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }

/* fake login form */
.phish-form label { display: block; margin: 14px 0 4px; color: var(--amber); }
.phish-form input {
  width: 100%;
  padding: 10px;
  background: #000;
  border: 1px solid var(--green-dim);
  color: var(--green);
  font-family: var(--mono);
  font-size: 15px;
}
.phish-form input:focus { outline: 2px solid var(--cyan); }
.btn {
  margin-top: 18px;
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: var(--mono);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  text-shadow: none;
  transition: transform 0.08s;
}
.btn:hover { transform: scale(1.02); background: #ff4444; }
.btn:active { transform: scale(0.98); }

.reveal {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border: 2px dashed var(--cyan);
  background: rgba(25, 230, 255, 0.07);
  color: var(--cyan);
  font-size: 16px;
}
.reveal.show { display: block; animation: pop 0.4s ease; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* fake stats */
.stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-around; text-align: center; }
.stat .num { font-size: 30px; color: var(--red); font-weight: bold; }
.stat .lbl { font-size: 12px; color: var(--green-dim); text-transform: uppercase; letter-spacing: 1px; }

ul.scary { list-style: none; padding-left: 0; }
ul.scary li::before { content: "☠ "; color: var(--red); }
ul.scary li { margin: 8px 0; }

.disclaimer {
  border: 2px solid var(--amber);
  background: rgba(255, 176, 0, 0.06);
  color: var(--amber);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 30px 0;
  font-size: 14px;
}

footer {
  text-align: center;
  color: var(--green-dim);
  font-size: 13px;
  border-top: 1px dashed var(--green-dim);
  padding-top: 24px;
  margin-top: 40px;
}
footer a { color: var(--green-dim); }
