* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: white;
}

body {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: #000000;
}

.background {
  position: fixed;
  inset: 0;
  background: url('img/background.png') center/cover no-repeat;
  z-index: -2;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(50px);
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left,
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.left {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
}

.center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: url('img/logo.png') center/cover no-repeat;
  cursor: pointer;
  margin-bottom: 20px;
}

.site-name {
  font-size: 2rem;
  font-weight: 600;
}

.footer {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
}

.footer-btn {
  background: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.25s ease;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.desktop-footer { display: flex; }
.mobile-footer { display: none; }

.right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.social-btn {
  position: relative;
  width: 530px;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 18px 0;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(60px);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-img {
  position: absolute;
  left: 26px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border: 2px solid rgba(255, 255, 255, 0);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

#loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #636363, #fff);
  border-radius: 3px;
  transition: width 0.3s ease;
}

body.loading {
  overflow: hidden;
}

body.loading main,
body.loading header,
body.loading footer {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded main,
body.loaded header,
body.loaded footer {
  opacity: 1;
}

body.loaded {
  animation: fadeInBody 0.8s ease forwards;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}


@media (max-width: 900px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .left, .right {
    flex: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 20px 0 20px;
    height: auto;
    padding: 60px 20px;
  }

  .logo {
    width: 130px;
    height: 130px;
  }

  .site-name {
    font-size: 1.6rem;
  }

  .links {
    width: 100%;
    gap: 20px;
  }

  .social-btn {
    width: 90%;
    max-width: 380px;
    padding: 16px 0;
  }

  .footer {
    flex-wrap: wrap;
    padding: 30px 10px;
  }

  .footer-btn {
    color: rgba(255, 255, 255, 0.6);
  }

  .desktop-footer { display: none; }
  .mobile-footer { display: flex; flex-wrap: wrap; justify-content: center; padding: 30px 10px; }
}
