@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quera";
  src: url("/assets/fonts/Quera.otf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ByteBounce";
  src: url("/assets/fonts/ByteBounce.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ================= GLOBAL THEME ================= */

:root {
  --font-color: #2b2b2b;
  --font-color-sub: #6f6f6f;
  --bg-color: #f7f7f7;
  --main-color: #b5b5b5;
  --accent: #6f6f6f;
}


body {
  background: #f7f7f7;
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  margin: 0;
  padding: 16px;
}


/* ================= CARD ================= */

.card {
  padding: 28px;
  background: var(--bg-color);
  border-radius: 6px;
  border: 2px solid var(--main-color);
  box-shadow: 4px 4px var(--main-color);
  width: 100%;
  max-width: 360px;
  text-align: center;
}

/* ================= BRANDING ================= */

.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.title {
  font-family: 'ByteBounce', sans-serif;
 color: var(--font-color-sub);
  font-size: clamp(70px, 18vw, 86px);
  line-height: 1; /* critical */
  margin: 0;
}

.subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(16px, 4.5vw, 22px);
  color: var(--font-color-sub);
  margin-top: 6px; /* YOU control spacing now */
}


/* ================= DIVIDER ================= */

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--main-color);
  opacity: 0.35;
  margin: 18px 0 26px;
}

/* ================= SYSTEM ================= */

.system {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================= INPUT ================= */

.input {
  width: 90%;
  height: 44px;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  background-color: var(--bg-color);
  box-shadow: 4px 4px var(--main-color);
  font-size: 16px;
  font-weight: 800;
  color: var(--font-color);
  padding: 8px 12px;
  outline: none;
  font-family: "Space Grotesk";
}

.input::placeholder {
  color: var(--font-color-sub);
}

/* ================= FILE PICKER ================= */

.file-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.file-btn {
  cursor: pointer;
}


.file-btn {
  padding: 6px 12px;
  border: 1.8px solid var(--main-color);
  border-radius: 4px;
  box-shadow: 2px 2px var(--main-color);
  font-weight: 600;
  font-size: 20px;
}

.file-name {
  color: var(--font-color-sub);
  font-size: 20px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= BUTTON ================= */

.button-confirm {
  margin-top: 6px;
  width: 100%;
  max-width: 260px;
  height: 44px;
  align-self: center;

  border-radius: 6px;
  border: 1.5px solid var(--accent);
  background-color: #ffffff;

  box-shadow: 3px 3px var(--accent);

  font-size: 16px;
  font-weight: 600;
  color: var(--accent);

  cursor: pointer;
  font-family: "Space Grotesk";
}


.button-confirm:active {
  box-shadow: 0px 0px var(--main-color);
  transform: translate(3px, 3px);
}

/* Allow button-confirm to be used on <a> */
a.button-confirm {
  max-height: 32px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ================= TEXT & LINKS ================= */

p {
  margin: 12px 0 20px;
  color: #666;
  font-size: 14px;
}

a {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
  color: #2b2b2b;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 3px 3px var(--main-color);
  text-align: center;
}

a:active {
  box-shadow: 0px 0px var(--main-color);
  transform: translate(3px, 3px);
}

/* ================= INDEX ================= */

.index-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;   /* stop floating */
  }

}