:root {
  --bg-color: #050505;
  --primary-purple: #5B3FFF;
  --secondary-purple: #3D2B8B;
  --text-main: #FFFFFF;
  --text-sub: #A1A1AA;
  --badge-bg: rgba(91, 63, 255, 0.1);
  --badge-border: rgba(91, 63, 255, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image: url('background.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.page-layout {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px 60px 20px;
}

/* TOP LOGOS */
.top-transition {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
}

/* MAIN CONTENT */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -60px;
  /* Slight offset up to center visually */
}

.badge {
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: #7D6BFF;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.main-heading {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(90deg, #6C5DD3 0%, #00E0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-sub);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px;
  border-radius: 17px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0px 8px 32px rgba(61, 43, 139, 0.4);
  transition: transform 0.2s;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 400%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(255, 255, 255, 0.3) 80%, rgba(255, 255, 255, 0.9) 100%);
  animation: rotateBorder 3s linear infinite;
  z-index: 0;
}

.cta-button::after {
  content: none;
}

.cta-button:hover {
  transform: scale(1.04);
}

.cta-button:active {
  transform: scale(0.98);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  border-radius: 15.5px;
  overflow: hidden;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-logo {
  margin-left: 8px;
  margin-right: 0px;
  margin-top: -2px;
}

/* FOOTER CONTENT */
.bottom-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  align-items: center;
}

.redirect-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0px;
}

.redirect-label {
  color: #555555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.divider {
  width: 250px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  margin-bottom: 12px;
}

.timer-text {
  color: var(--text-sub);
  font-size: 15px;
}

.purple-text {
  color: #7D6BFF;
  font-weight: 600;
}

.partner-logos {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.partner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pipe {
  color: #444;
  font-weight: 400;
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    background-size: cover;
    height: 100dvh;
    overflow-y: auto;
  }

  .page-layout {
    padding: 24px 18px 28px 18px;
    justify-content: space-between;
    min-height: 100dvh;
    height: auto;
  }

  .top-transition {
    gap: 14px;
    margin-top: 4px;
  }

  .top-transition .ats-img,
  .top-transition .fundex-logo img {
    height: 24px !important;
  }

  .transition-arrow svg {
    width: 32px;
    height: 12px;
  }

  .main-content {
    margin-top: 0;
    padding: 0 4px;
  }

  .badge {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: 20px;
  }

  .main-heading {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-heading img {
    height: 44px !important;
    vertical-align: middle !important;
    margin-left: 0 !important;
  }

  .subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 32px;
  }

  .subtitle br {
    display: none;
  }

  .cta-button {
    box-shadow: 0px 6px 22px rgba(61, 43, 139, 0.4);
  }

  .btn-content img {
    height: 52px !important;
  }

  .bottom-footer {
    gap: 20px;
    margin-top: 24px;
  }

  .divider {
    width: 180px;
  }

  .redirect-label {
    font-size: 11px;
  }

  .timer-text {
    font-size: 13px;
  }

  .partner-logos {
    position: static;
    justify-content: center;
    gap: 14px;
    font-size: 16px;
  }

  .partner img {
    height: 18px !important;
  }
}

@media (max-width: 380px) {
  .main-heading {
    font-size: 28px;
  }

  .main-heading img {
    height: 36px !important;
  }

  .btn-content img {
    height: 46px !important;
  }
}