:root {
  --of-blue: #00aff0;
  --of-blue-dark: #0091ea;
  --of-blue-deep: #0077c8;
  --of-ink: #242529;
  --of-muted: #8a96a3;
  --of-line: rgba(16, 24, 40, .07);
  --of-shadow-md: 0 2px 4px rgba(16, 24, 40, .05), 0 18px 44px -22px rgba(16, 24, 40, .35);
  --of-shadow-lg: 0 4px 8px rgba(16, 24, 40, .06), 0 32px 64px -28px rgba(0, 120, 190, .45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--of-ink);
  background:
    radial-gradient(1100px 520px at 100% -5%, rgba(0, 175, 240, .10), transparent 60%),
    radial-gradient(900px 460px at -5% 15%, rgba(66, 133, 244, .07), transparent 55%),
    #eef1f5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 175, 240, .25);
  color: #06344d;
}

:focus-visible {
  outline: 3px solid rgba(0, 175, 240, .45);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(16, 24, 40, .18);
  border: 3px solid transparent;
  border-radius: 9999px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(16, 24, 40, .3);
}

#top {
  border-bottom-color: var(--of-line);
  box-shadow: 0 20px 50px -35px rgba(8, 20, 34, .45);
}

.leftBox {
  overflow: hidden;
  background-image:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 45%),
    radial-gradient(100% 90% at 0% 100%, rgba(0, 60, 120, .35), rgba(0, 60, 120, 0) 55%),
    linear-gradient(140deg, #2ec3ff 0%, #00aff0 45%, #0090e0 100%);
}

.leftBox::before {
  right: 0;
  opacity: 1;
  background:
    radial-gradient(520px 520px at 88% 8%, rgba(255, 255, 255, .28), transparent 62%),
    repeating-radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .05) 0 1px, transparent 1px 64px);
}

.leftBox::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: .1;
  transform: rotate(-8deg);
  pointer-events: none;
}

#top h2 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: 0 1px 2px rgba(0, 30, 60, .18);
}

#top .h-\[48px\] {
  filter: drop-shadow(0 6px 16px rgba(0, 30, 60, .28));
}

.bg-\[url\(\/assets\/img\/baba\.jpg\)\] {
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  align-items: center;
}

.backdrop-blur-\[2px\] {
  background: linear-gradient(165deg, rgba(8, 20, 34, .58) 0%, rgba(8, 20, 34, .28) 45%, rgba(0, 0, 0, .58) 100%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.05);
  backdrop-filter: blur(3px) saturate(1.05);
}

.auth__telegram-button {
  height: 48px;
  justify-content: center;
  -moz-column-gap: 12px;
       column-gap: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  box-shadow: 0 14px 28px -14px rgba(34, 158, 217, .75), 0 2px 6px rgba(8, 20, 34, .18);
}

.auth__telegram-button:hover {
  background: linear-gradient(135deg, #35b6f5 0%, #1f8fca 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(34, 158, 217, .85), 0 3px 8px rgba(8, 20, 34, .2);
}

.auth__telegram-button:active {
  transform: translateY(0) scale(.98);
}

.auth__telegram-button > span:empty {
  display: none;
}

#top .auth__telegram-button {
  width: 248px;
  max-width: 100%;
}

#top .auth__telegram-button i {
  width: 22px;
  font-size: 22px;
}

.auth__telegram-button.mt-3 {
  margin-top: 0;
}

#gmail-btn {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 28px -16px rgba(8, 20, 34, .65), 0 2px 6px rgba(8, 20, 34, .12);
}

#gmail-btn span {
  color: var(--of-ink) !important;
}

#gmail-btn .fa-google {
  color: #4285f4;
}

#gmail-btn:hover {
  background: #fff;
}

.mt-\[280px\] {
  margin-top: 44px;
}

@media (min-width: 768px) {
  .md\:mt-\[36px\] {
    margin-top: 56px;
  }
}

.text-\[32px\] {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

#app > .max-w-\[calc\(856px\+2rem\)\] > div > p.roboto::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--of-blue), #7bd6ff);
}

.post {
  overflow: hidden;
  border-radius: 18px;
  border-color: var(--of-line);
  box-shadow: var(--of-shadow-md);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease;
  animation: of-rise .6s cubic-bezier(.2, .7, .3, 1) backwards;
}

.post:nth-of-type(2) {
  animation-delay: .09s;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--of-shadow-lg);
}

.post .head {
  align-items: center;
}

.post .head .rounded-full {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0, 175, 240, .3);
}

.post .head .bx-check-circle {
  color: var(--of-blue);
  font-size: 17px;
}

.post .content p {
  padding: 16px 20px 18px;
  color: #2c2e35;
  line-height: 25px;
}

.post .content p a {
  font-weight: 500;
  text-decoration: none;
}

.post .content .relative {
  overflow: hidden;
}

.post .content .relative img {
  display: block;
  width: 100%;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.post:hover .content .relative img {
  transform: scale(1.035);
}

.post .content .relative > a {
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.post .content .relative > a .fa-play {
  color: #fff !important;
  opacity: .95;
  font-size: 30px;
}

.post .content .relative > a:hover {
  background: rgba(0, 175, 240, .88);
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.08) !important;
}

@keyframes of-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer.bg-white.mt-\[26px\] {
  margin-top: 56px;
  border-top: 1px solid var(--of-line);
}

.footerMenu {
  gap: 12px;
}

.footerMenu a {
  color: var(--of-muted);
  transition: color .2s ease;
}

.footerMenu a:hover {
  color: var(--of-blue-dark);
}

.footerMenu .fa-twitter,
.footerMenu .fa-instagram {
  transition: transform .2s ease, color .2s ease;
}

.footerMenu a:hover .fa-twitter {
  color: #1da1f2;
  transform: translateY(-2px) scale(1.12);
}

.footerMenu a:hover .fa-instagram {
  color: #e1306c;
  transform: translateY(-2px) scale(1.12);
}

#tg-phone,
#tg-code,
#tg-password,
#password {
  transition: border-color .2s ease, box-shadow .2s ease;
}

#tg-phone:focus,
#tg-code:focus,
#tg-password:focus,
#password:focus {
  border-color: var(--of-blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 175, 240, .16) !important;
}

#tg-send,
#tg-verify {
  transition: filter .2s ease, transform .12s ease;
}

#tg-send:hover,
#tg-verify:hover {
  filter: brightness(1.08);
}

#tg-send:active,
#tg-verify:active {
  transform: scale(.985);
}

@media (max-width: 767px) {
  .max-h-\[600px\] {
    max-height: none;
  }

  .min-h-\[600px\] {
    min-height: 500px;
  }

  .mt-\[280px\] {
    margin-top: 36px;
  }

  .bg-\[url\(\/assets\/img\/baba\.jpg\)\] {
    min-height: 460px;
    background-position: center 22%;
    flex-direction: column;
    row-gap: 12px;
  }

  #top .auth__telegram-button {
    width: 100%;
    max-width: 320px;
  }

  .leftBox::after {
    right: -60px;
    bottom: -70px;
    width: 260px;
    height: 260px;
  }

  .text-\[32px\] {
    font-size: 28px;
  }

  .post .content p {
    padding: 14px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
