/* --------------------------
   FONT
---------------------------- */
@font-face {
    font-family: "Impacted 2.0";
    src: url("../assets/fonts/Impacted2.0.woff2") format("woff2"),
         url("../assets/fonts/Impacted2.0.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Impacted 2.0";
    src: url("../assets/fonts/Impacted2.0.woff2") format("woff2"),
         url("../assets/fonts/Impacted2.0.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------
   GLOBAL RESET
---------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* --------------------------
   BACKGROUND
---------------------------- */
#background {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: black;
  opacity: 0;
  transition: opacity 0.5s ease, background-image 0.3s ease;
  z-index: 0;
}

/* --------------------------
   CONTAINER
---------------------------- */
.container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* --------------------------
   BRAND TITLE
---------------------------- */
.brand-title {
  font-family: "Impacted 2.0", sans-serif;
  font-weight: 400;
  font-synthesis: none;

  font-size: 8vw;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  opacity: 1;
  text-align: center;
  white-space: nowrap;

  -webkit-mask-image: linear-gradient(to right, black 0%, black 0%, black 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 0% 100%;
  -webkit-mask-position: left;
  -webkit-transition: 
    -webkit-mask-size 1.5s ease,
    transform 1.5s ease,
    font-size 1.5s ease,
    opacity 1.5s ease;

  position: fixed; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2;
}

.brand-title.show {
  -webkit-mask-size: 100% 100%;
}

@keyframes titleMoveUp {
  0% {
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    top: 5%;
    transform: translate(-50%, 0) scale(0.45);
  }
}

/* --------------------------
   LOGO CONTAINER & ROWS
---------------------------- */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.logo-row {
  display: flex;
  gap: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.logo-row.show {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------
   LOGOS
---------------------------- */
.logo {
  width: 18vw;
  max-width: 300px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  --floatY: 0px;
  animation: float 4s ease-in-out infinite;
}

.logo-inner {
  width: 100%;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.logo-inner img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* --------------------------
   FLOATING ANIMATION
---------------------------- */
@keyframes float {
  0% { transform: translateY(var(--floatY)); }
  50% { transform: translateY(calc(var(--floatY) - 6px)); }
  100% { transform: translateY(var(--floatY)); }
}

/* --------------------------
   MOBILE / TABLET RESPONSIVENESS
---------------------------- */
@media (max-width: 900px) {
  .container {
    justify-content: flex-start;
    padding-top: 5vh;
  }

  .brand-title {
    font-size: clamp(28px, 14vw, 75px);
    white-space: normal;
    line-height: 1.1;
    width: 90%;
  }

  .logo-row {
    flex-direction: column;
    gap: 70px;
  }

  .logo {
    width: 220px;
  }
}

@media (max-width: 500px) {
  .container {
    justify-content: flex-start;
    padding-top: 4vh;
  }

  .brand-title {
    font-size: clamp(20px, 12vw, 55px);
    width: 95%;
    line-height: 1.1;
  }

  .logo-row {
    gap: 35px;
  }

  .logo {
    width: 180px;
  }
}
