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

body.dl-page {
  background-color: #172b3d;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background {
  pointer-events: none;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-circle-green {
  position: absolute;
  width: 40rem; height: 40rem;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(closest-side, rgba(76,203,112,.18) 0, rgba(76,203,112,0) 100%);
}

@media(min-width:576px) {
  .bg-circle-green { width: 75rem; height: 75rem; }
}

.page-cdn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  max-width: 63rem;
  padding: 1rem;
  margin: 0 auto;
  overflow: hidden;
}

@media(min-width:576px) {
  .page-cdn { padding: 2rem; }
}

/* Back button */
.page-cdn-back > a {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.page-cdn-back > a:hover { opacity: .8; }
.page-cdn-back > a > .c-icon { margin-right: 1rem; }

/* Main content */
.page-cdn-head { margin-bottom: 1rem; }

.page-cdn-cont {
  margin: auto;
  padding: 1.5rem 0 5rem;
  text-align: center;
  width: 100%;
}

@media(max-width:767px) {
  .page-cdn-cont { padding-bottom: 3rem; }
}

.logotype {
  padding: 1rem;
  display: inline-block;
}

/* Download card */
.download-cdn {
  position: relative;
}

@media(min-width:768px) {
  .download-cdn::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    margin-top: -2rem;
    z-index: -1;
    pointer-events: none;
    width: 42rem; height: 42rem;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    transition: transform 1s ease;
  }
  .download-cdn:hover::after {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.download-cdn-main {
  list-style: none;
  margin: 0 auto 2rem;
  max-width: 26rem;
  display: flex;
  align-items: center;
}

.cdn-img {
  width: 100%;
  max-width: 10rem;
  min-width: 10rem;
  position: relative;
  z-index: 1;
}

@media(min-width:768px) {
  .cdn-img { max-width: 13rem; min-width: 13rem; }
}

.cdn-img .img {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.cdn-img .img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.125rem;
}

.cdn-img .img::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: calc(100% + 6rem);
  height: calc(100% + 6rem);
  transform: translate(-50%, -30%);
  background-image: radial-gradient(closest-side, rgba(0,0,0,.3) 0, rgba(0,0,0,0) 100%);
  z-index: -1;
  pointer-events: none;
}

.cdn-meta {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  opacity: .5;
  margin-top: 1rem;
  font-size: .675rem;
  font-weight: 700;
}

.cdn-meta:first-child { padding-right: 1rem; }
.cdn-meta:last-child  { padding-left: 1rem; }

.cdn-meta > svg {
  display: block;
  margin: 0 auto .25rem;
}

.cdn-meta > span {
  display: block;
  height: 2.5em;
  line-height: 1.25em;
  overflow: hidden;
}

/* Title */
.page-cdn-cont .title {
  font-size: 1.125rem;
  max-width: 30rem;
  margin: 0 auto .25rem;
  position: relative;
  z-index: 2;
  font-weight: 700;
  line-height: 1.3;
}

@media(min-width:576px) {
  .page-cdn-cont .title { font-size: 1.375rem; }
}

/* Counter (timer) */
.counter {
  position: relative;
  width: 3rem; height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0;
}

.number-wrapper {
  position: absolute;
  left: 50%; top: 50%;
  margin: -2rem 0 0 -2rem;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  border: .25rem solid #fede4a;
  border-bottom-color: #4ccb70;
  border-right-color: #4ccb70;
  animation: dl-spin 1.2s infinite linear;
}

@keyframes dl-spin {
  100% { transform: rotate(360deg); }
}

.number {
  color: #4ccb70;
  font-size: 2rem;
  font-weight: 700;
}

/* Download button */
.download-btn-group {
  margin-top: 2rem;
  width: 100%;
  max-width: 15rem;
  margin-left: auto;
  margin-right: auto;
}

.download-btn > a {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.download-btn > a:hover {
  opacity: .88;
  box-shadow: 0 .5rem 1.5rem 0 rgba(76,203,112,.4);
  color: #fff;
}

.logotype {
  padding: 1rem;
  display: inline-block;
  vertical-align: top;
}

/* Ad block */
.rsya-cdn-ad {
  position: relative;
  display: block;
  max-width: 40rem;
  margin: 1.75rem auto 1.25rem;
  padding: 1.5rem 1rem 1rem;
  border: 1px dashed rgba(76, 203, 112, .55);
  border-radius: .875rem;
  background: rgba(76, 203, 112, .06);
  text-align: left;
}

.rsya-cdn-ad-label {
  position: absolute;
  top: -.625rem;
  left: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: #9aa0a6;
  color: #fff;
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1.4;
}

@media(max-width:560px) {
  .rsya-cdn-ad {
    padding: 1.25rem .75rem .75rem;
    margin: 1.25rem auto 1rem;
  }
}

/* No-timer notice */
.page-cdn-notimer {
  text-align: center;
  max-width: 16.5rem;
  margin: 0 auto;
}

.cdn-notimer-path > * { display: block; margin: 0 auto; }

@media(min-width:768px) {
  .cdn-notimer-path > i {
    width: .25rem; height: .25rem;
    border-radius: 50%;
    margin-bottom: .5rem;
    background-color: #34495c;
  }
}

@media(max-width:767px) {
  .cdn-notimer-path > i { display: none; }
}

.cdn-notimer-path > svg {
  margin: .75rem auto;
  color: #34495c;
}

.cdn-notimer-label {
  background-color: #34495c;
  border-radius: 1.125rem;
  font-size: .875rem;
  font-weight: 700;
  box-shadow: 0 .5rem 1.5rem 0 rgba(0,0,0,.16);
  padding: .5rem 1rem;
}

.cdn-notimer-label a {
  color: #4ccb70;
  text-decoration: underline;
}
