/* ============================
   IO SONO - Retro Terminal CSS
   Simone Nespolo / Neocities
   ============================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- BOOT SCREEN ---- */
#boot-screen {
  min-height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
#boot-text {
  font-family: 'Courier New', Courier, monospace;
  color: #ff7b00;
  font-size: 1.1rem;
  white-space: pre;
  text-shadow: 0 0 8px #ff7b00;
  max-width: 600px;
  line-height: 1.8;
}

/* ---- BASE ---- */
body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #000000;
  color: #ff7b00;
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCANLINES */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,123,0,0.04) 0px,
    rgba(255,123,0,0.04) 2px,
    transparent 3px,
    transparent 4px
  );
  z-index: 9999;
}

/* FLICKER */
@keyframes flicker {
  0%   { opacity: 1; }
  92%  { opacity: 1; }
  93%  { opacity: 0.95; }
  94%  { opacity: 1; }
  100% { opacity: 1; }
}
#main-content { animation: flicker 5s infinite; }

/* ---- BLINK ---- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.blink { animation: blink 1s step-end infinite; }
.blink-cursor {
  font-size: 1.4rem;
  margin-bottom: 8px;
  animation: blink 1s step-end infinite;
}

/* ---- HEADER ---- */
header {
  text-align: center;
  padding: 56px 20px 32px;
  border-bottom: 1px solid #ff7b00;
  position: relative;
}
header::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 22px;
  background: linear-gradient(
    to right,
    #ff7b00 0%, #ff7b00 33%,
    transparent 33%, transparent 66%,
    #ff7b00 66%, #ff7b00 100%
  );
  box-shadow: 0 0 14px #ff7b00;
}
h1 {
  font-size: 3rem;
  letter-spacing: 4px;
  text-shadow: 0 0 20px #ff7b00, 0 0 40px rgba(255,123,0,0.4);
}
.subtitle {
  font-size: 1.1rem;
  color: #ffaa44;
  margin-top: 8px;
  letter-spacing: 1px;
}
.byline {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 6px;
  font-family: 'Courier New', Courier, monospace;
}
.accent { color: #ffaa44; }

/* ---- CTA BUTTONS ---- */
.cta { margin-top: 18px; }
.btn {
  display: inline-block;
  margin: 8px;
  padding: 10px 22px;
  border: 1px solid #ff7b00;
  color: #ff7b00;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.18s;
  background: transparent;
  position: relative;
}
.btn:hover {
  background: #ff7b00;
  color: #000000;
  text-shadow: none;
  box-shadow: 0 0 18px #ff7b00;
}
.btn-secondary {
  border-color: rgba(255,123,0,0.5);
  color: rgba(255,123,0,0.7);
}
.btn-secondary:hover {
  background: rgba(255,123,0,0.2);
  color: #ff7b00;
}
.btn-large {
  font-size: 1.3rem;
  padding: 14px 30px;
}

/* ---- MAIN ---- */
main {
  padding: 40px 20px;
}
section {
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 0 0 0 16px;
  border-left: 3px solid rgba(255,123,0,0.12);
}

/* ---- HEADINGS ---- */
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #ffaa44;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255,170,68,0.5);
}
h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff7b00;
  margin-right: 10px;
  box-shadow: 0 0 8px #ff7b00;
  vertical-align: middle;
}
p {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #ff7b00;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.7;
}
em { color: #ffaa44; font-style: normal; }

/* ---- TERMINAL BOX ---- */
.terminal-box {
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 14px 18px;
  border: 1px solid rgba(255,123,0,0.18);
  background: #0a0500;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: rgba(255,123,0,0.7);
  box-shadow: inset 0 0 20px rgba(255,123,0,0.06);
}
.tag {
  color: #ffaa44;
  font-weight: bold;
}

/* ---- TABLE ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-family: 'Courier New', Courier, monospace;
}
th, td {
  padding: 9px 12px;
  border: 1px solid rgba(255,123,0,0.18);
  font-size: 0.95rem;
  text-align: left;
}
th {
  background: rgba(255,123,0,0.06);
  color: #ffaa44;
  letter-spacing: 1px;
}
tr:hover td {
  background: rgba(255,123,0,0.04);
}

/* ---- LISTS ---- */
ul { margin-left: 1.2rem; }
li {
  color: #ff7b00;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ---- QUOTE BOX ---- */
.quote-box {
  border-left: 4px solid #ff7b00;
  padding: 18px 22px;
  background: rgba(255,123,0,0.04);
  margin: 12px 0;
  box-shadow: 0 0 24px rgba(255,123,0,0.06);
}
.quote-box p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #ffaa44;
  font-style: italic;
}
.quote-attr {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,123,0,0.7);
  font-family: 'Courier New', Courier, monospace;
  font-style: normal;
}

/* ---- CTA SECTION ---- */
.cta-section {
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(255,123,0,0.25);
  background: rgba(255,123,0,0.03);
  box-shadow: 0 0 30px rgba(255,123,0,0.06);
}
.small-note {
  font-size: 0.85rem;
  color: rgba(255,123,0,0.7);
  margin-top: 12px;
}

/* ---- FOOTER ---- */
footer {
  text-align: center;
  padding: 20px;
  opacity: 0.75;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,123,0,0.18);
  line-height: 1.8;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  main { padding: 24px 12px; }
  th, td { font-size: 0.85rem; }
  .quote-box p { font-size: 1.1rem; }
}