/* ROOT VARIABLES */
:root {
  --color-void: #0A0A0A;
  --color-void-rgb: 10, 10, 10;
  --color-cream: #FAF8F2;
  --color-cream-rgb: 250, 248, 242;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Manrope', sans-serif;
  background-color: #000000;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* FONTS */
@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('../fonts/AlteHaasGroteskRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* LAUNCHER */
.launcher {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 90px 20px 90px 20px;
}

.launcher-logo {
  position: absolute;
  width: 28px;
  height: 28px;
  left: 24px;
  top: 24px;
}

.launcher-logo img {
  width: 28px;
  height: 28px;
  display: block;
}

.launcher-star {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 24px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.launcher-star svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #FFFFFF;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.launcher-star:hover svg {
  transform: rotate(45deg);
  fill: #ff0000;
}

.launcher-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: clamp(12px, 3vh, 10px);
  width: 100%;
  max-width: 400px;
}

.launcher-link {
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(10px, 4.2vw, 28px);
  line-height: 150%;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
  transition: color 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.launcher-footer {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: clamp(16px, 3vw, 25px);
}

.footer-link {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(9.8px, 1.75vw, 14px);
  line-height: 150%;
  text-align: center;
  color: #707070;
  flex: none;
  flex-grow: 0;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

/* Hover dim/blur effect on launcher links */
.launcher:has(.launcher-link:hover) .launcher-link {
  color: rgba(255, 255, 255, 0.35);
}

.launcher:has(.launcher-link:hover) .launcher-link:hover {
  color: #FFFFFF;
  filter: none;
}

.launcher:has(.launcher-link:hover) .launcher-link:not(:hover) {
  filter: blur(4px);
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .launcher-link,
  .footer-link {
    transition: none;
  }

  .launcher:has(.launcher-link:hover) .launcher-link:not(:hover) {
    filter: none;
  }
}

/* VERY SMALL SCREENS */
@media (max-height: 500px) {
  .launcher {
    padding: 70px 20px 70px 20px;
  }

  .launcher-links {
    gap: 14px;
  }

  .launcher-footer {
    bottom: 15px;
  }
}
