/* Connect screen for Marketplace and Gacha. */
.cc-main {
  width: 100%;
  background: #0e0e0f;
  color: #fff;
}

.cc-gate {
  width: 100%;
  min-height: calc(100vh - var(--header-height, 84px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
}

.cc-gate__frame {
  position: relative;
  width: min(72rem, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cc-gate__frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #004486 0%, #0483ff 20%, #9dcfff 35%, #fff 50%, #f1cf7c 68%, #e35200 84%, #e30000 100%);
}

.cc-gate__visual {
  position: relative;
  min-height: 34rem;
  background: #09090b;
  overflow: hidden;
}

.cc-gate__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.cc-gate__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.05) 20%, rgba(22, 22, 24, 0.2) 62%, #161618 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
}

.cc-gate__lock {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-family: "PP Supply Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.cc-gate__lock i {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #121212;
  font-style: normal;
  font-size: 0.85rem;
}

.cc-gate__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 2.25rem 2.25rem 1.75rem;
}

.cc-kicker {
  margin: 0;
  color: #f1cf7c;
  font-family: "PP Supply Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-gate__copy h1 {
  margin: 0.35rem 0 0;
  font-family: "Perfectly Nineties", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.cc-lead {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, Manrope, sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
}

.cc-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.cc-actions .cc-connect {
  min-width: 15rem;
}

.cc-points {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid #2c2c30;
  display: grid;
  gap: 0.85rem;
}

.cc-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.cc-points span {
  color: #9f9fa8;
  font-family: "PP Supply Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.cc-points strong {
  display: block;
  font-family: Inter, Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
}

.cc-points p {
  margin: 0.15rem 0 0;
  color: #9f9fa8;
  font-family: Inter, Manrope, sans-serif;
  font-size: 0.84rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  [data-main-header] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 80 !important;
    background: #0e0e0f !important;
    background-color: #0e0e0f !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transform: translateZ(0);
  }

  [data-main-header]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
    height: var(--header-height, 4.75rem);
    background: #0e0e0f;
    pointer-events: none;
  }

  [data-main-header] > * {
    position: relative;
    z-index: 1;
  }

  .cc-main,
  .cc-gate {
    position: relative;
    z-index: 0;
  }

  .cc-gate__frame {
    grid-template-columns: 1fr;
  }

  .cc-gate__visual {
    min-height: 15rem;
  }

  .cc-gate__visual::after {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.05) 0%, rgba(8, 8, 10, 0.55) 42%, #161618 100%);
  }

  .cc-gate__copy {
    padding: 1.5rem 1.25rem 1.4rem;
  }

  .cc-actions .cc-connect {
    width: 100%;
  }
}
