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

body {
  font-family: 'Inter', sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 100dvh;
  overflow-x: hidden;
  height: 100%;
  background: $c-background;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 500px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

.header {
  padding-top: 20px;
  padding-bottom: 20px;
  flex: 0 0 auto;

  &__top {
    margin-bottom: 17px;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  &__search {
    img {
      display: block;
      width: 100%;
      object-fit: contain;
    }
  }

  .logo {
    max-width: 150px;
    display: block;
    object-fit: contain;
  }

  .close {
    display: none;
    width: 38px;
    height: 38px;
    object-fit: contain;
  }
}

.main {
  flex: 1 0 auto;
  padding-bottom: 20px;

  .loader {
    display: none;
  }

  .content {
    height: max-content;
    max-width: 420px;
    margin: 0 auto;
    position: relative;

    .poster {
      width: 100%;
      object-fit: contain;
      display: block;
    }

    .player {
      display: block;
      max-width: 100%;
      width: calc(100% - 10px);
      object-fit: contain;
      position: absolute;
      bottom: 2px;
      left: 5px;
      right: 5px;
    }
  }

  &__start {
    display: block;
  }

  &__btn {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .play {
      cursor: pointer;
      display: flex;
      text-decoration: none;
      align-items: center;
      gap: 10px;
      justify-content: space-between;
      max-width: 285px;
      margin: 0 auto 20px;
      width: 100%;
      border-radius: 360px;
      background: $c-background-05;
      color: $c-text-contrast;
      padding: 43px 16px;

      &.agree {
        display: none;
      }

      p {
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%; /* 28.8px */

        span {
          display: block;
          font-size: 14px;
          font-style: normal;
          font-weight: 400;
          line-height: 120%;
        }
      }
    }

    .description {
      max-width: 245px;
      width: 100%;
      margin: 0 auto;
      height: 45px;
      color: $c-text-contrast;
      text-align: center;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85);
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      line-height: 120%; /* 14.4px */

      .agree {
        display: none;
      }
    }
  }
}

.footer {
  min-height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: $c-text-bg;
  flex: 0 0 auto;

  p {
    max-width: 295px;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;

    a {
      color: inherit;
      text-decoration: underline;
    }
  }

  &__agree {
    display: none;
  }
}