:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --font-main: 'Inter', sans-serif;
  --spacing-unit: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.1;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--spacing-unit) * 8);
}

.title-container {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
}

h1 {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.85;
}

h1 .word-fuckoff {
  display: block;
}

h1 .word-scanner {
  display: block;
  margin-left: 20vw;
  font-weight: 200;
}

.cta-container {
  margin-top: calc(var(--spacing-unit) * 6);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 4);
}

.scanner-info {
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 600px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.portal-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
}

.portal-link:hover {
  transform: translateX(10px);
}

footer {
  padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

@media (max-width: 768px) {
  h1 .word-scanner {
    margin-left: 0;
  }

  main {
    padding: calc(var(--spacing-unit) * 4);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.word-fuckoff {
  animation: slideRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.word-scanner {
  animation: slideRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.scanner-info {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.portal-link {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

footer {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}