/* =========================================================
   UNITED LINE FURNITURE
   PREMIUM LAUNCHING PAGE
========================================================= */

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #171411;
  color: #fff;
}


/* =========================================================
   PAGE
========================================================= */

.launch-page {
  position: relative;

  width: 100%;
  min-height: 100vh;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  isolation: isolate;
}


/* =========================================================
   BACKGROUND
========================================================= */

.launch-background {
  position: absolute;
  inset: -25px;

  z-index: -4;

  background:
    url("../images/launch-furniture.jpg")
    center center / cover no-repeat;

  animation: backgroundZoom 18s ease-in-out infinite alternate;
}

@keyframes backgroundZoom {

  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }

}


.launch-overlay {
  position: absolute;
  inset: 0;

  z-index: -3;

  background:
    linear-gradient(
      90deg,
      rgba(17, 14, 12, 0.90) 0%,
      rgba(17, 14, 12, 0.72) 43%,
      rgba(17, 14, 12, 0.34) 72%,
      rgba(17, 14, 12, 0.48) 100%
    );
}


/* subtle luxury glows */

.glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  pointer-events: none;

  z-index: -2;
}

.glow-one {
  width: 400px;
  height: 400px;

  left: -180px;
  top: 20%;

  background: rgba(190, 143, 93, 0.13);
}

.glow-two {
  width: 350px;
  height: 350px;

  right: -150px;
  bottom: -120px;

  background: rgba(205, 173, 132, 0.09);
}


/* =========================================================
   HEADER
========================================================= */

.launch-header {
  width: 100%;

  padding: 32px 5vw;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  z-index: 5;

  animation: fadeDown 1s ease both;
}


.launch-logo {
  color: #fff;
  text-decoration: none;

  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: "Playfair Display", serif;

  font-size: 26px;
  font-weight: 600;

  line-height: 1;
}

.logo-sub {
  margin-top: 5px;

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 5px;
  text-transform: uppercase;

  color: rgba(255,255,255,.65);
}


.launch-date-top {
  font-size: 10px;
  font-weight: 600;

  letter-spacing: 3px;

  color: rgba(255,255,255,.65);
}


/* =========================================================
   CONTENT
========================================================= */

.launch-content {
  position: relative;

  flex: 1;

  display: flex;
  align-items: center;

  padding: 30px 5vw 50px;
}

.launch-inner {
  width: 100%;
  max-width: 850px;

  animation: contentReveal 1.1s .2s ease both;
}


.launch-kicker {
  display: block;

  margin-bottom: 18px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 3px;
  text-transform: uppercase;

  color: #d0a36f;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.launch-inner h1 {
  max-width: 800px;

  font-family: "Playfair Display", serif;

  font-size: clamp(58px, 6.8vw, 105px);
  line-height: .91;

  font-weight: 500;

  letter-spacing: -2.5px;
}

.launch-inner h1 span {
  display: block;

  font-style: italic;

  color: #d4aa7b;
}


.launch-description {
  max-width: 560px;

  margin-top: 27px;

  font-size: 14px;
  line-height: 1.8;

  color: rgba(255,255,255,.72);
}


/* =========================================================
   DATE
========================================================= */

.launch-date {
  margin-top: 31px;

  display: flex;
  align-items: center;

  gap: 15px;

  width: fit-content;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 2.4px;
  text-transform: uppercase;

  color: rgba(255,255,255,.62);
}

.date-line {
  width: 35px;
  height: 1px;

  background: #b98a5b;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-top: 30px;
}

.countdown-card {
  width: 118px;
  height: 105px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,.16);

  background: rgba(255,255,255,.075);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 15px 35px rgba(0,0,0,.10);

  transition:
    transform .3s ease,
    background .3s ease;
}

.countdown-card:hover {
  transform: translateY(-5px);

  background: rgba(255,255,255,.11);
}


.countdown-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #c99a67,
      transparent
    );
}


.countdown-card strong {
  font-family: "Playfair Display", serif;

  font-size: 43px;
  line-height: 1;

  font-weight: 500;
}


.countdown-card span {
  margin-top: 10px;

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;

  color: rgba(255,255,255,.54);
}


.countdown-divider {
  font-family: "Playfair Display", serif;

  font-size: 31px;

  color: rgba(255,255,255,.35);

  animation: dividerPulse 1s infinite;
}

@keyframes dividerPulse {

  50% {
    opacity: .25;
  }

}


/* =========================================================
   LIVE
========================================================= */

.launch-live {
  display: none;

  margin-top: 35px;
}

.launch-live > span {
  color: #d4aa7b;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 3px;
}

.launch-live h2 {
  margin: 10px 0 20px;

  font-family: "Playfair Display", serif;

  font-size: 38px;
  font-weight: 500;
}

.launch-live a {
  display: inline-flex;
  align-items: center;

  gap: 25px;

  min-height: 52px;

  padding: 0 25px;

  color: #1b1713;
  background: #fff;

  text-decoration: none;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1px;
  text-transform: uppercase;

  transition: .3s ease;
}

.launch-live a:hover {
  background: #d4aa7b;

  transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.launch-footer {
  padding: 25px 5vw;

  display: flex;
  align-items: center;

  gap: 17px;

  position: relative;

  z-index: 4;

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;

  color: rgba(255,255,255,.46);

  animation: fadeUp 1s .6s ease both;
}

.launch-footer i {
  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: #bd8d5d;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes contentReveal {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes fadeDown {

  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .launch-inner h1 {
    font-size: clamp(55px, 10vw, 82px);
  }

  .countdown-card {
    width: 105px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .launch-page {
    min-height: 100svh;
  }

  .launch-header {
    padding: 24px 20px;
  }

  .logo-main {
    font-size: 21px;
  }

  .logo-sub {
    font-size: 6px;
    letter-spacing: 4px;
  }

  .launch-date-top {
    font-size: 8px;
    letter-spacing: 1.5px;
  }


  .launch-content {
    padding:
      30px 20px
      35px;
  }

  .launch-inner h1 {
    font-size: clamp(48px, 15vw, 66px);

    line-height: .95;

    letter-spacing: -1.5px;
  }

  .launch-description {
    margin-top: 21px;

    font-size: 13px;
  }


  .launch-date {
    margin-top: 25px;

    gap: 9px;

    font-size: 7px;
    letter-spacing: 1.3px;
  }

  .date-line {
    width: 20px;
  }


  .countdown {
    width: 100%;

    margin-top: 25px;

    gap: 5px;

    justify-content: space-between;
  }

  .countdown-card {
    width: calc(25% - 9px);
    height: 83px;
  }

  .countdown-card strong {
    font-size: 29px;
  }

  .countdown-card span {
    font-size: 6px;

    letter-spacing: 1px;

    margin-top: 7px;
  }

  .countdown-divider {
    font-size: 19px;
  }


  .launch-footer {
    padding: 20px;

    gap: 8px;

    justify-content: center;

    flex-wrap: wrap;

    font-size: 6px;

    letter-spacing: 1px;
  }

}


/* Very small mobiles */

@media (max-width: 390px) {

  .launch-inner h1 {
    font-size: 46px;
  }

  .countdown-card {
    height: 76px;
  }

  .countdown-card strong {
    font-size: 26px;
  }

}

/* =========================================================
   LAUNCH CELEBRATION
========================================================= */

.launch-celebration {
  position: fixed;
  inset: 0;

  z-index: 9998;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;

  background: rgba(12, 10, 8, 0.30);

  backdrop-filter: blur(3px);

  transition: opacity .5s ease;
}

.launch-celebration.active {
  visibility: visible;
  opacity: 1;
}


/* MESSAGE */

.celebration-message {
  position: relative;
  z-index: 5;

  text-align: center;

  opacity: 0;
  transform: scale(.8);
}

.launch-celebration.active .celebration-message {
  animation:
    celebrationReveal
    1s .25s
    cubic-bezier(.2,.8,.2,1)
    forwards;
}

.celebration-message > span {
  display: block;

  margin-bottom: 14px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 4px;
  text-transform: uppercase;

  color: #d6a56f;
}

.celebration-message h2 {
  margin: 0;

  font-family: "Playfair Display", serif;

  font-size: clamp(65px, 9vw, 135px);
  line-height: .9;

  font-weight: 500;

  color: #fff;

  text-shadow:
    0 10px 50px rgba(0,0,0,.3);
}

.celebration-message p {
  margin-top: 22px;

  font-size: 12px;

  letter-spacing: 3px;
  text-transform: uppercase;

  color: rgba(255,255,255,.75);
}


@keyframes celebrationReveal {

  to {
    opacity: 1;
    transform: scale(1);
  }

}


/* =========================================================
   GOLD PARTICLES
========================================================= */

.celebration-particles {
  position: absolute;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.gold-particle {
  position: absolute;

  top: -20px;

  width: 6px;
  height: 12px;

  background: #d5a365;

  opacity: .9;

  animation:
    particleFall
    linear
    forwards;
}

@keyframes particleFall {

  0% {
    transform:
      translateY(-10vh)
      rotate(0deg);

    opacity: 1;
  }

  100% {
    transform:
      translateY(115vh)
      rotate(720deg);

    opacity: 0;
  }

}


/* =========================================================
   CENTRE GOLD CUT
========================================================= */

.centre-cut-line {
  position: fixed;

  left: 50%;
  top: 50%;

  width: 2px;
  height: 0;

  transform: translate(-50%, -50%);

  z-index: 10;

  background: linear-gradient(
    to bottom,
    transparent,
    #e5bc82,
    #fff1d2,
    #e5bc82,
    transparent
  );

  box-shadow:
    0 0 15px #d6a56f,
    0 0 35px rgba(214,165,111,.7);
}

.launch-celebration.cut .centre-cut-line {
  animation: cutOpen .7s ease forwards;
}

@keyframes cutOpen {

  from {
    height: 0;
  }

  to {
    height: 100vh;
  }

}


/* =========================================================
   TWO OPENING DOORS
========================================================= */

.launch-door {
  position: fixed;

  top: 0;

  width: 50.1%;
  height: 100vh;

  z-index: 9999;

  pointer-events: none;

  visibility: hidden;

  background:
    linear-gradient(
      rgba(15,12,10,.72),
      rgba(15,12,10,.72)
    ),
    url("../images/launch-furniture.jpg")
    center / cover no-repeat;
}


.launch-door-left {
  left: 0;

  background-position: left center;
}

.launch-door-right {
  right: 0;

  background-position: right center;
}


body.launch-opening .launch-door {
  visibility: visible;
}


body.launch-opening .launch-door-left {
  animation:
    openLeft
    1.35s
    cubic-bezier(.76,0,.24,1)
    forwards;
}

body.launch-opening .launch-door-right {
  animation:
    openRight
    1.35s
    cubic-bezier(.76,0,.24,1)
    forwards;
}


@keyframes openLeft {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-101%);
  }

}


@keyframes openRight {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(101%);
  }

}


/* MOBILE */

@media (max-width: 600px) {

  .celebration-message h2 {
    font-size: 58px;
  }

  .celebration-message p {
    padding: 0 25px;

    font-size: 9px;
    line-height: 1.7;
  }

}