@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

button, a {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    user-select: none;
}

* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none;
}

html.route-pending body {
  visibility: hidden;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(circle at top, #101419, #060708 80%);
  font-family: "Nunito", sans-serif;
  color: white;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 480px;
  position: relative;
  top: 50%;
  transform: translateY(-5%);
}

h1 {
  font-size: 33px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 130px;
  color: white;
  line-height: 1.25;
}

p {
  font-size: 16px;
  color: #999999;
  line-height: 1.45;
  margin: 0 0 36px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.open-bot-btn {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: none;
  z-index: 1;
  transition: transform 0.3s ease;
}

.open-bot-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(70deg, #3390ec, #247dcf);
  border-radius: 10px;
  z-index: -1;
  transition: filter 0.35s ease;
}

.open-bot-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite ease-in-out;
}

.open-bot-btn:hover::after {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes shine {
  0% { left: -200%; }
  50% { left: 200%; }
  100% { left: -200%; }
}

@keyframes shine-reverse {
  0% { left: 200%; }
  50% { left: -200%; }
  100% { left: 200%; }
}

.open-bot-btn:hover::before {
  filter: brightness(0.9);
}

.open-bot-btn:active {
  transform: scale(0.98);
}

.open-channel-btn {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  color: #3390ec;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  background: none;
  z-index: 1;
  transition: transform 0.3s ease;
}

.open-channel-btn .ext-ico {
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
}

.open-channel-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(70deg, #3390ec, #247dcf);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.2;
  transition: filter 0.35s ease;  
}

.open-channel-btn:hover::before {
  filter: brightness(0.9);
}

.open-channel-btn:active {
  transform: scale(0.98);
}

.open-channel-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 200%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(51, 144, 236, 0) 0%,
    rgba(51, 144, 236, 0.4) 50%,
    rgba(51, 144, 236, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine-reverse 4s infinite ease-in-out;
  z-index: 1;
}

.open-channel-btn:hover::after {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.open-channel-btn .ext-ico,
.open-channel-btn {
  z-index: 1;
}

.open-channel-btn.is-primary {
  color: #ffffff;
  margin-top: 0;
}

.open-channel-btn.is-primary::before {
  opacity: 1;
}

.open-channel-btn.is-primary::after {
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  left: -200%;
  animation: shine 4s infinite ease-in-out;
}

@media (max-width: 480px) {
  h1 { font-size: 24.5px; }
  p { font-size: 12.9px; }
  .container { max-width: 340px; transform: translateY(-10%); }
  .open-bot-btn, .open-channel-btn { font-size: 15px; padding: 15px; max-width: 300px; }
}

.logo-wrap {
    text-align: center;
    margin-bottom: -100px; 
}

.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: block;
    margin: 30px auto -10px auto;
    object-fit: cover;
}

.logo-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(28, 34, 40);
    border-radius: 50px;
}

.copyright-bar {
  position: fixed;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  cursor: default;
  background: rgba(18, 22, 26, 1);
  border-radius: 50px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  z-index: 100;
}

.copyright-icon {
  font-size: 18px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.copyright-text {
  opacity: 0;
  margin-left: -4px;
  padding-right: 15px;
  transform: translateY(-0.530px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.copyright-bar:hover {
  width: 305px;
}

.copyright-bar:hover .copyright-text {
  opacity: 1;
}

@media (max-width: 480px) {
  .copyright-bar {
    bottom: 8px;
    left: 8px;
    font-size: 12px;
    width: 30px;
    height: 30px;
  }
  .copyright-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
  }
  .copyright-bar:hover {
    width: 258px;
  }
}
