@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;

  color: #f5f7ff;

  background:
    linear-gradient(
      rgba(5, 10, 25, 0.18),
      rgba(5, 10, 25, 0.42)
    ),
    url("assets/race-bg.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Light CRT scanlines */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;

  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0,
    rgba(255, 255, 255, 0.015) 1px,
    rgba(0, 0, 0, 0.025) 2px,
    rgba(0, 0, 0, 0.025) 4px
  );
}

a {
  color: #54f7ff;
  text-decoration: none;
}

a:hover {
  color: #fff45c;
}

/* TOP MENU */

.navbar {
  min-height: 60px;
  padding: 10px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(7, 12, 38, 0.78);

  border-top: 4px solid #5beaff;
  border-bottom: 5px solid #030716;

  box-shadow:
    inset 0 -2px 0 #263c88,
    0 5px 0 rgba(0, 0, 0, 0.55);
}

.brand {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;

  color: #ffe646;

  text-shadow:
    3px 3px 0 #b14900,
    5px 5px 0 #02030a;
}

.navbar nav {
  display: flex;
  gap: 22px;
}

.navbar nav a {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;

  color: #ffffff;
  text-shadow: 2px 2px 0 #000;
}

.navbar nav a::before {
  content: "▶ ";
  color: #ffe646;
  opacity: 0;
}

.navbar nav a:hover::before {
  opacity: 1;
}

/* PAGE */

main {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}

/* HERO */

.hero {
  padding: 46px 0 26px;
  text-align: center;
}

.hero-content {
  max-width: 740px;
  margin: auto;
  padding: 20px 24px;

  background: rgba(4, 8, 26, 0.28);
  backdrop-filter: blur(1px);

  border: 4px solid rgba(220, 236, 255, 0.9);
  outline: 4px solid rgba(17, 29, 82, 0.85);

  box-shadow:
    8px 8px 0 rgba(0, 0, 0, 0.58),
    inset 0 0 0 3px rgba(73, 105, 191, 0.75);
}

.eyebrow,
.section-label {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.8;

  color: #5affed;

  text-shadow:
    2px 2px 0 #003950,
    3px 3px 0 #000;
}

h1 {
  margin: 16px 0 20px;

  font-family: "Press Start 2P", monospace;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.4;

  color: #ffe447;

  text-shadow:
    4px 4px 0 #d95b00,
    7px 7px 0 #4c1600,
    9px 9px 0 #000;
}

.hero-text {
  max-width: 620px;
  margin: 0 auto 20px;

  font-family: Verdana, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.2px;

  color: #ffffff;

  text-shadow:
    1px 1px 2px #000,
    2px 2px 4px #000;
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.pricing-card button {
  padding: 11px 15px;

  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.6;

  color: white;
  background: rgba(9, 38, 103, 0.8);

  border: 3px solid #e3f3ff;
  outline: 3px solid #081542;

  box-shadow:
    5px 5px 0 #000,
    inset 0 -4px 0 rgba(0, 0, 0, 0.32);

  cursor: pointer;
}

.primary-button:hover,
.secondary-button:hover {
  color: #fff75c;
  background: rgba(17, 59, 145, 0.9);

  transform: translate(2px, 2px);

  box-shadow:
    3px 3px 0 #000,
    inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

/* CONTENT WINDOWS */

.section {
  margin: 23px 0;
  padding: 16px 18px;

  background: rgba(6, 10, 31, 0.32);
  backdrop-filter: blur(1px);

  border: 3px solid rgba(216, 236, 255, 0.9);
  outline: 3px solid rgba(23, 43, 112, 0.85);

  box-shadow:
    7px 7px 0 rgba(0, 0, 0, 0.58),
    inset 0 0 0 2px rgba(56, 91, 178, 0.65);
}

.section h2 {
  margin: 8px 0 12px;

  font-family: "Press Start 2P", monospace;
  font-size: 15px;
  line-height: 1.7;

  color: #ffe447;

  text-shadow:
    2px 2px 0 #ad4300,
    4px 4px 0 #000;
}

.section-text,
.section p:not(.section-label):not(.price):not(.ticker):not(.company) {
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.2px;

  color: #f5f7ff;

  text-shadow:
    1px 1px 2px #000,
    2px 2px 4px #000;
}

/* STOCK DATA */

.signal-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;

  padding: 9px;

  background: rgba(5, 9, 25, 0.24);

  border: 3px solid rgba(87, 217, 255, 0.9);

  box-shadow:
    inset 0 0 0 2px rgba(23, 53, 125, 0.7);
}

.signal-card > div {
  min-height: 74px;
  padding: 9px 10px;

  background: rgba(24, 45, 104, 0.28);

  border: 2px solid rgba(120, 158, 255, 0.85);

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.28);
}

.ticker {
  margin: 0 0 6px;

  font-family: "Press Start 2P", monospace;
  font-size: 18px;

  color: #5affed;

  text-shadow:
    2px 2px 0 #004454,
    4px 4px 0 #000;
}

.company {
  margin: 0;

  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;

  color: #e3ebff;

  text-shadow: 1px 1px 2px #000;
}

.signal-metric span {
  display: block;
  margin-bottom: 7px;

  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;

  color: #c0d2ff;

  text-shadow: 1px 1px 2px #000;
}

.signal-metric strong {
  font-family: Verdana, Arial, sans-serif;
  font-size: 18px;

  color: #fff157;

  text-shadow:
    1px 1px 2px #000,
    2px 2px 0 #000;
}

/* PRICING */

.pricing-card {
  width: 100%;
  max-width: 315px;
  padding: 14px;

  background: rgba(23, 42, 100, 0.3);

  border: 3px solid rgba(102, 231, 255, 0.9);

  box-shadow:
    5px 5px 0 rgba(0, 0, 0, 0.65),
    inset 0 0 0 2px rgba(48, 79, 156, 0.7);
}

.price {
  margin: 0 0 8px;

  font-family: "Press Start 2P", monospace;
  font-size: 22px;

  color: #5dff68;

  text-shadow:
    2px 2px 0 #086c11,
    4px 4px 0 #000;
}

.price span {
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  color: white;
}

.pricing-card p {
  font-family: Verdana, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;

  text-shadow:
    1px 1px 2px #000,
    2px 2px 4px #000;
}

.pricing-card button {
  margin-top: 8px;
  opacity: 0.7;
}

/* FOOTER */

footer {
  margin-top: 34px;
  padding: 15px;
  text-align: center;

  background: rgba(5, 8, 21, 0.78);

  border-top: 4px solid #54dfff;

  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.7;

  color: #d4ddf5;

  text-shadow: 1px 1px 2px #000;
}

/* MOBILE */

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .navbar nav {
    gap: 11px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar nav a {
    font-size: 7px;
  }

  main {
    width: 92%;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-content {
    padding: 18px 14px;
  }

  .section {
    padding: 14px;
  }

  .signal-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 470px) {
  .signal-card {
    grid-template-columns: 1fr;
  }
}