﻿.common-footer {
  background-color: #1e1e1e;
  width: 100%;
}
.subscribe-result {
  position: absolute;
  top: 50%;
  right: 2px;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dddce2;
  background: #0054ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  &.onsuss {
    display: flex !important;
    transform: translate3d(-500%, 0, 0);
    .result-check {
      background: url(../images/common_footer/result_hook.svg) no-repeat;
      background-position: 0 0;
      background-size: 18px 18px;
      animation-play-state: paused;
    }
  }
  .result-check {
    display: block;
    text-indent: -9999px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url(../images/common_footer/icon_send.png) no-repeat;
    background-position: 0 0;
    overflow: hidden;
  }
  &.on {
    display: flex !important;
    animation-name: result-button-move;
    animation-duration: 800ms;
    animation-delay: 400ms;
    animation-timing-function: liner;
    animation-fill-mode: forwards;
    .result-check {
      animation-name: flyaway-move;
      animation-duration: 800ms;
      animation-delay: 800ms;
      animation-timing-function: liner;
      animation-iteration-count: infinite;
    }
  }
}
.common-footer-top-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 34px;
  .f-top-title {
    font: normal normal 600 18px/24px Open Sans;
    color: #b4b4b4;
    margin-bottom: 18px;
  }
  .f-top-input-container {
    position: relative;
    width: 431px;
    height: 41px;
    .f-top-input-container-inner {
      width: 100%;
      height: 100%;
      background: #111111 0% 0% no-repeat padding-box;
      border-radius: 5px;
      display: flex;
      align-items: center;
      padding: 2px;
      box-sizing: border-box;
      &.onerror {
        border: 1px solid #601715;
        background: #240f0e;
        animation-name: shake-base;
        animation-duration: 400ms;
        animation-timing-function: ease-in-out;
        .f-top-input {
          color: #f60;
          &::placeholder {
            color: #f60;
          }
          &::-webkit-input-placeholder {
            color: #f60;
          }
          &:-moz-placeholder {
            color: #f60;
          }
          &::-moz-placeholder {
            color: #f60;
          }
          &:-ms-input-placeholder {
            color: #f60;
          }
          &::-ms-input-placeholder {
            color: #f60;
          }
        }
        .f-top-input-button {
          height: 34px;
          color: #240f0e;
          background: #523131;
          cursor: default;
          &:hover,
          &:active {
            background: #523131;
          }
        }
      }
    }
    .f-top-input {
      flex: 1;
      height: 100%;
      input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        padding: 0 12px;
        box-sizing: border-box;
        font: normal normal 600 14px/19px Open Sans;
        color: #b4b4b4;
      }
    }
    .f-top-input-button {
      min-width: 89px;
      height: 100%;
      background: #dddce2 0% 0% no-repeat padding-box;
      border-radius: 5px;
      padding: 0 10px;
      box-sizing: border-box;
      border: none;
      outline: none;
      cursor: pointer;
      font: normal normal 600 14px/19px Open Sans;
      color: #131512;
    }
    .f-top-input-button:hover {
      background: #ffffff 0% 0% no-repeat padding-box;
    }
  }
  .f-top-bottom-desc {
    font: normal normal 400 14px/19px Open Sans;
    color: #b4b4b4;
    margin-top: 12px;
  }
}
.common-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(78, 79, 85, 0.52);
  border-bottom: 1px solid rgba(78, 79, 85, 0.52);
  .common-footer-bottom-content-left {
    padding: 80px 130px;
    border-inline-end: 1px solid rgba(78, 79, 85, 0.52);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .icon {
      width: 76px;
      height: 40px;
    }
    .language-container {
      width: auto;
      position: relative;
      .language-selected {
        width: 183px;
        height: 32px;
        display: flex;
        align-items: center;
        border: 1px solid #404040;
        background-color: #111111;
        border-radius: 16px;
        padding: 0 12px;
        box-sizing: border-box;
        cursor: pointer;
        .language-selected-icon {
          width: 18px;
          height: 18px;
        }
        .language-selected-text {
          font: normal normal 600 12px/17px Open Sans;
          color: #8e8b9d;
          margin-inline-start: 10px;
        }
        .language-selected-arrow {
          width: 12px;
          height: 7px;
          margin-inline-start: auto;
        }
      }
      &:hover {
        .select-options {
          height: 153px;
        }
      }
      .select-options {
        transition: height 0.3s ease-in-out;
        position: absolute;
        bottom: 100%;
        inset-inline-start: 0;
        width: 100%;
        box-sizing: border-box;
        background-color: #d2d2d5;
        border-radius: 6px 6px;
        overflow-y: auto;
        height: 0;
        p {
          width: 100%;
          font-size: 12px;
          line-height: 16px;
          color: #1e1c2c;
          background: rgba(97, 94, 111, 0.3);
          cursor: pointer;
          margin: 0;
          &:hover {
            background-color: #ffffff;
            a {
              color: #0054ff;
            }
          }
          a {
            display: block;
            padding: 10px;
            width: 100%;
            margin-right: 0;
            color: #5a5864;
            text-decoration: none;
            box-sizing: border-box;
          }
        }
      }
    }
  }
  .common-footer-bottom-content-right {
    padding: 80px 130px;
    max-width: 1300px;
    width: 1300px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 80px 0;

    li {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      &:first-child {
        margin-left: 0;
      }

      &:last-child {
        margin-right: 0;
      }

      p {
        font-size: 20px;
        line-height: 26px;
        color: #5a576b;
        font-weight: 600;
        margin-bottom: 20px;

        &:nth-child(3) {
          margin-top: 20px;
        }
        &:nth-child(5) {
          margin-top: 20px;
        }
      }

      a {
        font-size: 16px;
        line-height: 20px;
        color: #d1d2df;
        margin-bottom: 10px;
        &._aff_btn {
          width: auto;
          display: block;
          line-height: 36px;
          padding: 0 20px;
          border-radius: 6px;
          background: linear-gradient(90deg, #6584ff 0%, #0054ff 100%);
          color: #fff;
          text-align: center;
          &:hover {
            background: linear-gradient(90deg, #1965fd 0%, #70f 100%);
          }
        }

        &:hover {
          color: #fff;
        }
      }
    }
  }
}
.footer-copy {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 32px 130px 22px;

  ._left {
    color: #5a576b;
    font-size: 14px;
    line-height: 18px;
  }

  ._right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    a {
      color: #5a576b;
      margin-left: 60px;
      font-size: 14px;
      font-weight: 600;
      line-height: 18px;

      &:hover {
        color: #fff;
      }
    }
  }
}
@media (min-width: 1020px) and (max-width: 1200px) {
  .common-footer-bottom-content-left {
    padding: 80px 50px !important;
  }
  .footer-copy {
    padding: 32px 50px 22px;
  }
}
@media (min-width: 768px) and (max-width: 1020px) {
  .common-footer-bottom-content-left {
    padding: 80px 30px !important;
  }
  .common-footer-bottom-content-right li {
    width: 120px;
  }
  .footer-copy {
    padding: 32px 30px 22px;
  }
}

a {
  text-decoration: none !important;
}

.footer-mobile {
  display: none;
}
@media (max-width: 768px) {
  .common-footer {
    display: none;
  }
  .footer-mobile {
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    .logo {
      margin-top: 1.22rem;
      margin-bottom: .97rem;
      img {
        width: 2rem;
        height: 1.06rem;
      }
    }
    .subscribe-cnt {
      width: 6.86rem;
      border-top: 1px solid #363535;
      border-bottom: 1px solid #363535;
      padding-top: 0.67rem;
      padding-bottom: 0.97rem;
      .subscribe-desc {
        font: normal normal 600 0.28rem/0.38rem Open Sans;
        color: #b4b4b4;
        text-align: center;
        margin-bottom: 0.3rem;
      }
      .subscribe-container {
        width: 100%;
        height: 0.65rem;
        position: relative;
        .subscribe-zone {
          width: 100%;
          height: 100%;
          .email-bar {
            width: 100%;
            height: 100%;
            background: #111111;
            border-radius: 0.05rem;
            padding: 0 0.1rem;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            .subscribe-btn {
              min-width: 1.4rem;
              height: 100%;
              background: #ffffff;
              border-radius: 0.05rem;
              padding: 0 0.1rem;
              box-sizing: border-box;
              border: none;
              outline: none;
              cursor: pointer;
              font: normal normal 600 0.24rem/0.33rem Open Sans;
              color: #131512;
            }
            .email-input {
              flex: 1;
              height: 100%;
              border: none;
              outline: none;
              background: transparent;
              padding: 0 0.1rem;
              box-sizing: border-box;
              font: normal normal 600 0.24rem/0.33rem Open Sans;
              color: #8d8d8d;
              background: transparent;
            }
            &.onerror {
              border-color: #601715;
              background: #240f0e;
              animation-name: shake-base;
              animation-duration: 400ms;
              animation-timing-function: ease-in-out;
              .email-input {
                color: #f60;
                &::placeholder {
                  color: #f60;
                }
                &::-webkit-input-placeholder {
                  color: #f60;
                }
                &:-moz-placeholder {
                  color: #f60;
                }
                &::-moz-placeholder {
                  color: #f60;
                }
                &:-ms-input-placeholder {
                  color: #f60;
                }
                &::-ms-input-placeholder {
                  color: #f60;
                }
              }
              .subscribe-btn {
                color: #240f0e;
                background: #523131;
              }
            }
          }
        }
        .subscribe-result {
          &.onsuss {
            display: flex !important;
            transform: translate3d(-395%, 0, 0);
          }
        }
      }
      .zone-describe {
        font: normal normal 400 0.24rem/0.33rem Open Sans;
        color: #b4b4b4;
        text-align: center;
        margin-top: 0.23rem;
      }
    }
    .nav-menu {
      width: 6.86rem;
      margin-top: 0.92rem;
      display: flex;
      flex-direction: column;
      gap: 0.57rem;
      padding: 0;
      list-style: none;
      .nav-list {
        width: 100%;
        &.active {
          .nav-item {
            max-height: 6rem;
          }
          .arrow_down {
            transform: rotate(180deg);
          }
        }
        &:not(.active) {
          .nav-item {
            max-height: 0;
          }
        }
        .nav-title {
          font: normal normal 600 0.28rem/0.42rem Open Sans;
          color: #777777;
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .arrow_down {
            width: 15px;
            height: 15px;
            background: url(../images/common_footer/arrow_down_mobile.svg)
              no-repeat center center;
            background-size: 100% 100%;
          }
        }
        .nav-item {
          width: 100%;
          max-height: 0;
          overflow: hidden;
          display: flex;
          flex-direction: column;
          gap: 0.1rem;
          padding-inline-start: 0.2rem;
          transition: max-height 0.3s ease-in-out;
          a {
            font: normal normal 600 0.28rem/0.42rem Open Sans;
            color: #777777;
          }
          &:hover {
            a {
              color: #ffffff;
            }
          }
          &.active {
            a {
              color: #ffffff;
            }
          }
        }
      }
    }
    ._lag {
      width: 6.86rem;
      padding: 0.54rem 0;
      display: flex;
      align-items: center;
      border-top: 1px solid #363535;
      border-bottom: 1px solid #363535;
      ._link {
        display: flex;
        gap: 0.57rem;
        a {
          font: normal normal normal 0.28rem/0.42rem Open Sans;
          color: #777777;
        }
      }
      .footer_select {
        width: auto;
        height: 0.52rem;
        margin-inline-start: auto;
        position: relative;
        &:hover {
          .select-options {
            max-height: 3rem;
          }
          .footer_select_inner {
            .arrow_down {
              transform: rotate(180deg);
            }
          }
        }
        .select-options {
          position: absolute;
          bottom: 100%;
          inset-inline-start: 0;
          width: 100%;
          box-sizing: border-box;
          background-color: #111111;
          border-radius: 0.26rem;
          overflow-y: auto;
          max-height: 0;
          transition: max-height 0.3s ease-in-out;
          p {
            width: 100%;
            font-size: 0.2rem;
            line-height: 0.27rem;
            color: #777777;
            background: #111111;
          }
          a {
            display: block;
            padding: 0.1rem;
            width: 100%;
            margin-right: 0;
            color: #777777;
            box-sizing: border-box;
          }
        }
        .footer_select_inner {
          width: auto;
          min-width: 2.23rem;
          height: 100%;
          display: flex;
          align-items: center;
          background: #111111 0% 0% no-repeat padding-box;
          border: 1px solid #404040;
          border-radius: 0.26rem;
          padding: 0 0.25rem;
          box-sizing: border-box;
          ._icon {
            width: 0.29rem;
            height: 0.29rem;
          }
          ._value {
            font: normal normal 600 0.2rem/0.27rem Open Sans;
            color: #777777;
            margin-inline-start: 0.08rem;
          }
          .arrow_down {
            width: 0.19rem;
            height: 0.11rem;
            margin-inline-start: auto;
          }
        }
      }
    }
    .copyright {
      padding-top: 0.51rem;
      padding-bottom: 0.49rem;
      text-align: center;
      font: normal normal normal 0.28rem/0.42rem Open Sans;
      color: #777777;
    }
  }
  @keyframes result-button-move {
    0% {
      transform: translate3d(0%, 0, 0);
    }
    100% {
      transform: translate3d(-395%, 0, 0) !important;
    }
  }
}

@keyframes shake-base {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  2% {
    transform: translate(-0.5px, 0.5px) rotate(-0.5deg);
  }
  4% {
    transform: translate(-2.5px, -1.5px) rotate(0.5deg);
  }
  6% {
    transform: translate(1.5px, 1.5px) rotate(-1.5deg);
  }
  8% {
    transform: translate(-1.5px, -2.5px) rotate(0.5deg);
  }
  10% {
    transform: translate(1.5px, 1.5px) rotate(-0.5deg);
  }
  12% {
    transform: translate(-1.5px, 1.5px) rotate(-1.5deg);
  }
  14% {
    transform: translate(-1.5px, 0.5px) rotate(0.5deg);
  }
  16% {
    transform: translate(0.5px, 0.5px) rotate(-0.5deg);
  }
  18% {
    transform: translate(0.5px, -2.5px) rotate(-0.5deg);
  }
  20% {
    transform: translate(-2.5px, 0.5px) rotate(-1.5deg);
  }
  22% {
    transform: translate(1.5px, 0.5px) rotate(-0.5deg);
  }
  24% {
    transform: translate(-0.5px, -1.5px) rotate(-0.5deg);
  }
  26% {
    transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }
  28% {
    transform: translate(-1.5px, -0.5px) rotate(0.5deg);
  }
  30% {
    transform: translate(-2.5px, 0.5px) rotate(0.5deg);
  }
  32% {
    transform: translate(1.5px, -0.5px) rotate(-0.5deg);
  }
  34% {
    transform: translate(0.5px, -2.5px) rotate(-1.5deg);
  }
  36% {
    transform: translate(0.5px, -2.5px) rotate(-0.5deg);
  }
  38% {
    transform: translate(-2.5px, -0.5px) rotate(0.5deg);
  }
  40% {
    transform: translate(-0.5px, 1.5px) rotate(0.5deg);
  }
  42% {
    transform: translate(1.5px, 1.5px) rotate(-0.5deg);
  }
  44% {
    transform: translate(-2.5px, -2.5px) rotate(0.5deg);
  }
  46% {
    transform: translate(0.5px, -2.5px) rotate(0.5deg);
  }
  48% {
    transform: translate(-0.5px, -2.5px) rotate(-0.5deg);
  }
  50% {
    transform: translate(-0.5px, 0.5px) rotate(0.5deg);
  }
  52% {
    transform: translate(1.5px, 0.5px) rotate(0.5deg);
  }
  54% {
    transform: translate(-2.5px, 0.5px) rotate(-1.5deg);
  }
  56% {
    transform: translate(-2.5px, 1.5px) rotate(0.5deg);
  }
  58% {
    transform: translate(-2.5px, -2.5px) rotate(-0.5deg);
  }
  60% {
    transform: translate(-0.5px, -2.5px) rotate(-0.5deg);
  }
  62% {
    transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
  }
  64% {
    transform: translate(-1.5px, -0.5px) rotate(0.5deg);
  }
  66% {
    transform: translate(-2.5px, 0.5px) rotate(-0.5deg);
  }
  68% {
    transform: translate(-1.5px, -0.5px) rotate(0.5deg);
  }
  70% {
    transform: translate(0.5px, 1.5px) rotate(0.5deg);
  }
  72% {
    transform: translate(-2.5px, 1.5px) rotate(0.5deg);
  }
  74% {
    transform: translate(1.5px, -0.5px) rotate(0.5deg);
  }
  76% {
    transform: translate(-0.5px, -1.5px) rotate(0.5deg);
  }
  78% {
    transform: translate(-0.5px, -2.5px) rotate(0.5deg);
  }
  80% {
    transform: translate(1.5px, -0.5px) rotate(0.5deg);
  }
  82% {
    transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
  }
  84% {
    transform: translate(-1.5px, -1.5px) rotate(-0.5deg);
  }
  86% {
    transform: translate(0.5px, -0.5px) rotate(-1.5deg);
  }
  88% {
    transform: translate(-2.5px, -2.5px) rotate(-1.5deg);
  }
  90% {
    transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }
  92% {
    transform: translate(-1.5px, 0.5px) rotate(0.5deg);
  }
  94% {
    transform: translate(-1.5px, -0.5px) rotate(0.5deg);
  }
  96% {
    transform: translate(1.5px, 0.5px) rotate(-0.5deg);
  }
  98% {
    transform: translate(-0.5px, -1.5px) rotate(0.5deg);
  }
}
@keyframes flyaway-move {
  0% {
    transform: translate(-40px, 40px);
  }
  25% {
    transform: translate(-20px, 20px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(20px, -20px);
  }
  100% {
    transform: translate(40px, -40px);
  }
}
@keyframes result-button-move {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-500%, 0, 0);
  }
}
