* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 35%,
      #102d68 0%,
      #071633 32%,
      #020611 70%,
      #000 100%
    );
  color: white;
  font-family:
    "Arial Black",
    Impact,
    system-ui,
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      rgba(0, 35, 110, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 35, 110, 0.05) 1px,
      transparent 1px
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.screen {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    55px
    20px
    32px;
}

.logo-wrap {
  text-align: center;
  position: relative;
}

.logo-shadow {
  position: absolute;
  width: 100%;
  top: 0;
  left: 5px;
  font-size: clamp(
    28px,
    5vw,
    52px
  );
  font-style: italic;
  letter-spacing: 4px;
  color: #03153f;
  transform: skewX(-9deg);
}

.logo-main {
  position: relative;
  margin-top: 0;
  font-size: clamp(
    48px,
    9vw,
    94px
  );
  line-height: 0.85;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  text-shadow:
    3px 3px 0 #1788ff,
    6px 6px 0 #074ba4,
    9px 9px 0 #001a4f,
    0 0 20px #168cff;
  transform: skewX(-10deg);
}

.subtitle {
  margin-top: 22px;
  color: #f7e836;
  font-size: 13px;
  letter-spacing: 5px;
  text-shadow:
    0 0 8px #f7e836;
}

.game-menu {
  width: min(
    650px,
    92vw
  );
  margin-top: 75px;
  display: grid;
  gap: 24px;
}

.game-button {
  min-height: 98px;
  display: grid;
  grid-template-columns:
    90px
    1fr
    45px;
  align-items: center;
  padding:
    10px
    20px;
  color: white;
  text-decoration: none;

  border:
    4px
    solid
    #fff;

  outline:
    4px
    solid
    #075bd4;

  background:
    linear-gradient(
      180deg,
      #126df0 0%,
      #063c9a 46%,
      #021e58 100%
    );

  box-shadow:
    0 0 0 7px #001338,
    0 10px 0 #00102d,
    0 16px 28px rgba(0,0,0,0.6),
    0 0 28px rgba(28,120,255,0.6);

  transition:
    transform 0.08s ease,
    filter 0.08s ease;
}

.game-button:hover {
  filter: brightness(1.25);
  transform: translateY(-3px);
}

.game-button:active {
  transform: translateY(6px);
  box-shadow:
    0 0 0 7px #001338,
    0 4px 0 #00102d,
    0 8px 15px rgba(0,0,0,0.5);
}

.icon {
  font-size: 48px;
  filter:
    drop-shadow(
      3px
      3px
      0
      rgba(0,0,0,0.5)
    );
}

.game-copy {
  display: flex;
  flex-direction: column;
}

.game-copy strong {
  font-size: clamp(
    23px,
    5vw,
    40px
  );
  letter-spacing: 1px;
  text-shadow:
    3px 3px 0 #001d50;
}

.game-copy small {
  margin-top: 3px;
  color: #ffeb38;
  font-size: 12px;
  letter-spacing: 4px;
}

.arrow {
  color: #ffea38;
  font-size: 27px;
  animation:
    blink
    0.7s
    steps(2)
    infinite;
}

.credits {
  margin-top: auto;
  padding-top: 45px;
  text-align: center;
}

.credit-main {
  color: white;
  font-size: 13px;
  letter-spacing: 4px;
}

.credit-sub {
  margin-top: 8px;
  color: #1d8fff;
  font-family:
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.grid-floor {
  position: fixed;
  z-index: 1;
  left: -30%;
  right: -30%;
  bottom: -22%;
  height: 48%;

  background:
    linear-gradient(
      rgba(0, 112, 255, 0.55) 2px,
      transparent 2px
    ),
    linear-gradient(
      90deg,
      rgba(0, 112, 255, 0.55) 2px,
      transparent 2px
    );

  background-size:
    52px
    35px;

  transform:
    perspective(340px)
    rotateX(63deg);

  transform-origin:
    center bottom;

  opacity: 0.45;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    radial-gradient(
      white 1px,
      transparent 1px
    );

  background-size:
    55px
    55px;

  opacity: 0.35;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(0,0,0,0.11) 4px
    );
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

@media (
  max-width: 600px
) {
  .screen {
    padding-top: 38px;
  }

  .game-menu {
    margin-top: 55px;
  }

  .game-button {
    grid-template-columns:
      65px
      1fr
      30px;

    min-height: 84px;
    padding:
      8px
      12px;
  }

  .icon {
    font-size: 37px;
  }

  .game-copy small {
    letter-spacing: 2px;
  }
}


/* ==========================================
   FINAL AIDEN'S GAMES ONE-LINE LOGO
   ========================================== */

.logo-wrap {
  width: 100%;
  text-align: center;
}

.main-logo {
  position: relative;
  display: inline-block;

  margin: 20px auto 0;

  color: #ffffff;

  font-size: clamp(
    42px,
    7vw,
    82px
  );

  line-height: 1;

  font-family:
    "Arial Black",
    Impact,
    Arial,
    sans-serif;

  font-weight: 900;
  font-style: italic;

  letter-spacing: -2px;

  white-space: nowrap;

  transform: skewX(-9deg);

  text-shadow:
    3px 3px 0 #168cff,
    6px 6px 0 #0750ad,
    9px 9px 0 #001b52,
    0 0 22px #168cff;
}

.logo-wrap .subtitle {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .main-logo {
    font-size: clamp(
      34px,
      10vw,
      58px
    );

    letter-spacing: -1px;
  }
}

