@font-face {
  font-family: NextGenFont;
  src: url("assets/BiggerDisplay.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #020202;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.28;
  pointer-events: none;
}

.loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader img {
  width: 120px;
  filter: brightness(0) invert(1);
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader span {
  position: absolute;
  bottom: 46px;
  color: #777;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loader-line {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,0.13);
  animation: loaderRotate 1.3s linear infinite;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-indicator {
  position: fixed;
  right: 22px;
  top: 50%;
  width: 1px;
  height: 180px;
  background: rgba(255,255,255,0.16);
  transform: translateY(-50%);
  z-index: 50;
}

.scroll-dot {
  width: 5px;
  height: 46px;
  background: #fff;
  position: absolute;
  left: -2px;
  top: 0;
  animation: scrollMove 2.6s ease-in-out infinite;
}

.site {
  position: relative;
  min-height: 100vh;
}

.nav {
  height: 92px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #171717;
  animation: navIn 0.75s ease 0.95s both;
}

.brand img {
  width: 190px;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-links {
  display: flex;
  border: 1px solid #242424;
  background: rgba(5,5,5,0.88);
}

.nav-links a {
  position: relative;
  color: #777;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 17px 30px;
  border-right: 1px solid #242424;
  transition: 0.25s ease;
}

.nav-links a:last-child {
  border-right: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
  background: #111;
}

.nav-links a:hover::after,
.nav-links .active::after {
  transform: scaleX(1);
}

.nav-links .active {
  color: #000;
  background: #fff;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 44% 56%;
  border-bottom: 1px solid #171717;
}

.hero-left {
  padding: 82px 58px;
  border-right: 1px solid #171717;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 0.8s ease 1.05s both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #aaa;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.eyebrow span {
  width: 36px;
  height: 1px;
  background: #fff;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 110px);
  line-height: 0.88;
  letter-spacing: -6px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-left p {
  color: #8c8c8c;
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 30px 0 34px;
}

.hero-button {
  width: fit-content;
  color: #000;
  background: #fff;
  border: 1px solid #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 900;
  padding: 18px 28px;
  transition: 0.25s ease;
}

.hero-button:hover {
  color: #fff;
  background: transparent;
}

.hero-right {
  padding: 72px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.85s ease 1.15s both;
}

.preview-card {
  width: 100%;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

canvas {
  width: 100%;
  display: block;
  border: 1px solid #2a2a2a;
  background: #080808;
  box-shadow: 0 42px 130px rgba(0,0,0,0.72);
}

.generator-section {
  padding: 74px 54px;
  border-bottom: 1px solid #171717;
}

.section-title {
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.section-title span {
  color: #777;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.generator-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
}

.generator-panel,
.details-panel {
  border: 1px solid #202020;
  background: rgba(5,5,5,0.92);
}

.generator-panel {
  padding: 22px;
}

label {
  display: block;
  color: #777;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

input {
  width: 100%;
  background: #000;
  color: #fff;
  border: 1px solid #2b2b2b;
  padding: 18px 16px;
  font-size: 15px;
  outline: none;
  margin-bottom: 10px;
  transition: 0.2s ease;
}

input:focus {
  border-color: #fff;
}

button {
  width: 100%;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  padding: 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

button:hover {
  color: #fff;
  background: transparent;
}

.hint {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.details-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.detail {
  padding: 30px;
  border-right: 1px solid #202020;
}

.detail:last-child {
  border-right: none;
}

.detail span {
  color: #777;
  font-size: 10px;
  letter-spacing: 4px;
}

.detail h3 {
  margin: 18px 0 0;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

footer {
  padding: 28px 54px;
  color: #666;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@keyframes loaderRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollMove {
  0%, 100% {
    top: 0;
  }

  50% {
    top: 134px;
  }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero,
  .generator-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: 1px solid #171717;
  }

  .details-panel {
    grid-template-columns: 1fr;
  }

  .detail {
    border-right: none;
    border-bottom: 1px solid #202020;
  }

  .detail:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 0 22px;
  }

  .brand img {
    width: 145px;
  }

  .nav-links {
    display: none;
  }

  .hero-left,
  .hero-right,
  .generator-section {
    padding: 48px 24px;
  }

  h1 {
    letter-spacing: -3px;
  }

  .scroll-indicator {
    display: none;
  }

  footer {
    padding: 28px 24px;
    flex-direction: column;
    gap: 10px;
  }
}