@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&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;
}

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;
  background: radial-gradient(circle at top, #101419, #060708 80%);
  font-family: 'Inter', sans-serif;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 480px;
  position: relative;
  top: 50%;
  transform: translateY(-5%);
}

body.dark h1 {
  color: white;
}

body.light h1 {
  color: black;
}

body.dark .logo-tag {
  background: rgba(28, 34, 40); 
}

body.light .logo-tag {
    background: rgb(210, 210, 210);
	color: rgba(100, 100, 100);
}

h1 {
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 130px;
  color: white;
  line-height: 1.25;
  transition: color 0.5s ease;
}

p {
  font-size: 16px;
  color: #999999;
  line-height: 1.45;
  margin: 0 0 36px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.open-bot-btn {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 16px;
  font-family: 'Inter', 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, opacity 0.4s 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;
  transition: opacity 0.5s ease;
}

@keyframes shine {
  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-bot-btn:hover::after {
  opacity: 0;
}

.open-channel-btn {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 16px;
  font-family: 'Inter', 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, opacity 0.4s 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::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.45) 50%,  
    rgba(51,144,236,0) 100%     
  );
  transform: skewX(-20deg);
  animation: shine-2 4s infinite ease-in-out;
  transition: opacity 0.5s ease;
}

@keyframes shine-2 {
  0%   { left: 200%; }
  50%  { left: -200%; }
  100% { left: 200%; }
}

.open-channel-btn:hover::before {
  filter: brightness(0.9);
}

.open-channel-btn:active {
  transform: scale(0.98);
}

.open-channel-btn:hover::after {
  opacity: 0;
}

@media (max-width: 480px) {
  h1 {
    font-size: 24.5px;
  }

  p {
    font-size: 12.9px;
    line-height: 1.38;
  }

  .container {
    max-width: 340px;
    top: 48%;
    transform: translateY(-10%);
  }

  .open-bot-btn {
    font-size: 15px;
    padding: 15px 15px;
    max-width: 300px;
  }
  
  .open-channel-btn {
    font-size: 15px;
    padding: 15px 15px;
    max-width: 300px;
  }
}

@media (hover: none) {
  .open-bot-btn:hover::before,
  .open-channel-btn:hover::before {
    filter: none;
  }

  .open-bot-btn:hover::after,
  .open-channel-btn:hover::after {
    opacity: 1;
  }

  .open-bot-btn:active::after,
  .open-channel-btn:active::after {
    opacity: 0;
  }
}


.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;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(28, 34, 40);
    border-radius: 50px;
    transition: color 0.5s, background 0.5s ease;
}

.theme-icon {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    user-select: none;
    position: fixed;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    z-index: 999;
    cursor: pointer;
}

.theme-icon svg {
    width: 100% !important;
    height: 100% !important;
}

.theme-icon svg > g {
    transform: scale(2.3);
    transform-origin: center center;
}

.reveal-circle {
    position: fixed;
    border-radius: 50%;
    transform: scale(0.01);
    transform-origin: center;
    pointer-events: none;
    transition: transform 0.6s ease-out;
    z-index: -9999;
}


