/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #FFFAF0;
  color: #111111;
}

code, pre, .mono {
  font-family: "Courier New", Courier, monospace;
}

a { color: #0000EE; text-decoration: underline; }
a:visited { color: #551A8B; }
a:hover { color: #FF0000; }

hr {
  border: none;
  border-top: 6px solid #111111;
  margin: 2rem 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === 90s Buttons === */
.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border: 3px outset #888;
  cursor: pointer;
  background: #C0C0C0;
  color: #111;
}
.btn:visited { color: #111; }
.btn:hover { border-style: inset; }
.btn:active { border-style: inset; }

.btn-gold  { background: #FFD700; border-color: #B8860B; color: #111; }
.btn-teal  { background: #008080; border-color: #004444; color: #FFF; }
.btn-teal:visited { color: #FFF; }

/* === Pixel Boxes === */
.pixel-box {
  border: 4px solid #111;
  padding: 1rem;
  background: #FFF;
}

/* === Code Box === */
.code-box {
  background: #111;
  color: #00FF00;
  padding: 1rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  overflow-x: auto;
  white-space: pre;
  border: 3px solid #333;
}

/* === Section Headers === */
.section-header {
  font-size: 1.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  border-bottom: 4px solid #111;
  padding-bottom: 0.5rem;
}

/* === Tables === */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 2px solid #111;
  padding: 0.5rem 0.75rem;
  text-align: left;
}
th { background: #C0C0C0; font-weight: bold; text-transform: uppercase; }

/* === Sections === */
section { padding: 2.5rem 0; }

/* === Blink === */
@keyframes blink { 50% { opacity: 0; } }
.blink { animation: blink 1s step-start infinite; }

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
}

/* === Feature Grid === */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-card {
  border: 4px solid #111;
  padding: 1rem 1.25rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid #111;
  padding-bottom: 0.3rem;
}

/* === Mobile === */
@media (max-width: 640px) {
  .two-col { display: block; }
  .two-col > * { width: 100% !important; }
  .feature-grid { grid-template-columns: 1fr !important; }
}
