/* public/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0A0A0A;
  --surface: #111113;
  --border: #29292B;
  --text: #9298A4;
  --white: #E7E7E7;
}

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

body {
  background: var(--bg);

  color: var(--text);

  font-family: 'Inter', sans-serif;

  letter-spacing: -.3px;

  font-weight: 500;

  overflow-x: hidden;
}

body::after {
  content: "";

  position: fixed;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.015) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 1px,
      transparent 1px
    );

  background-size: 80px 80px;

  pointer-events: none;

  z-index: 0;
}

.bg-glow {
  position: fixed;

  top: -200px;
  left: 50%;

  transform: translateX(-50%);

  width: 700px;
  height: 700px;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.03),
      transparent 70%
    );

  pointer-events: none;

  z-index: 0;
}

#particles-js {
  position: fixed;

  inset: 0;

  z-index: 0;
  
}

.container {
  position: relative;

  z-index: 1;

  max-width: 1180px;

  margin: auto;

  padding: 28px 40px 20px;

  animation: fade .6s ease;
}

@keyframes fade {

  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.navbar {
  position: sticky;

  top: 0;

  z-index: 20;

  backdrop-filter: blur(12px);

  background: rgba(10,10,10,.72);

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-bottom: 24px;

  border-bottom: 1px solid var(--border);
}

.logo {
  width: 150px;
}

.nav-right {
  display: flex;

  align-items: center;

  gap: 12px;
}

.stats,
.nav-btn,
.deploy-btn {
  height: 40px;

  padding: 0 16px;

  border: 1px solid var(--border);

  background: rgba(17,17,19,.88);

  color: var(--text);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 12px;

  text-decoration: none;

  transition: .2s ease;
}

.stats {
  opacity: .8;

  font-size: 11px;
}

.nav-btn:hover,
.deploy-btn:hover {
  transform: translateY(-2px);

  border-color: #3A3A40;

  background: rgba(255,255,255,.03);

  color: var(--white);
}

.hero {
  min-height: 52vh;

  display: flex;

  justify-content: center;

  align-items: center;
}

.deploy-box {
  width: 100%;

  max-width: 480px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 22px;
}

.line {
  position: relative;

  width: 100%;

  height: 1px;

  background: var(--border);
}

.line::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 0;

  transform: translateX(-50%);

  width: 120px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.12),
      transparent
    );
}

.logo-wrapper {
  width: 110px;
  height: 110px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;
}

.success-logo-wrap {
  width: 90px;
  height: 90px;
}

.hero-logo {
  max-width: 100%;

  max-height: 100%;

  object-fit: contain;
}

.subtitle {
  font-size: 13px;

  letter-spacing: 2px;

  color: #666C77;

  text-transform: uppercase;
}

.deploy-btn {
  position: relative;

  overflow: hidden;

  min-width: 170px;

  cursor: pointer;
}

.deploy-btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.05),
      transparent
    );

  transition: .5s;
}

.deploy-btn:hover::before {
  left: 100%;
}

.status {
  min-height: 20px;

  color: #666C77;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  font-size: 11px;
}

.success-box {
  display: none;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  padding-top: 8px;
}

.success-dot {
  width: 8px;

  height: 8px;

  border-radius: 999px;

  background: #7CFFB2;
}

.poap-title {
  font-size: 12px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #7CFFB2;
}

.live-dot {
  width: 7px;

  height: 7px;

  border-radius: 999px;

  background: #7CFFB2;

  margin-right: 8px;

  animation: pulse 1.8s infinite;
}

@keyframes pulse {

  0% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .4;
  }

}

.history-section {
  margin-top: 10px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.history-section h3 {
  width: 100%;

  max-width: 780px;

  margin-right: 60px;

  margin-bottom: 18px;

  font-size: 15px;

  color: var(--white);
}

.history {

  width: 100%;

  max-width: 860px;

  height: 320px;

  overflow-y: auto;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 12px;

  padding-right: 4px;

  padding-bottom: 20px;
}

.history-item {
  font-family: monospace;

  font-size: 13px;

  margin-bottom: 14px;

  color: #7A818C;

  animation: historyFade .4s ease;

  width: 100%;

  border: 1px solid #1A1A1C;

  background: rgba(17,17,19,.55);

  padding: 14px 16px;

  display: flex;

  flex-direction: column;

  gap: 6px;

  transition: .25s ease;
}

@keyframes historyFade {

  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

.history-item a {
  color: var(--text);

  text-decoration: none;

  word-break: break-all;
}

.history-item a:hover {
  color: var(--white);
}

.footer {
  margin-top: 24px;

  padding-top: 30px;

  border-top: 1px solid var(--border);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 18px;
}

.online {
  width: 52px;

  height: 52px;

  border-radius: 999px;

  object-fit: cover;

  border: 1px solid var(--border);
}

.socials {
  display: flex;

  gap: 18px;
}

.socials a {
  color: var(--text);

  text-decoration: none;

  font-size: 13px;

  transition: .2s ease;
}

.socials a:hover {
  color: var(--white);

  transform: translateY(-1px);
}


.terminal {
  width: 100%;

  margin-top: 10px;

  display: flex;

  flex-direction: column;

  gap: 8px;

  padding-top: 8px;
}

.terminal-line {
  width: 100%;

  font-size: 12px;

  font-family: monospace;

  color: #6F7682;

  letter-spacing: .3px;

  opacity: 0;

  transform: translateY(4px);

  animation: terminalFade .35s ease forwards;
}

@keyframes terminalFade {

  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.history::-webkit-scrollbar {

  width: 4px;
}

.history::-webkit-scrollbar-track {

  background: transparent;
}

.history::-webkit-scrollbar-thumb {

  background: #2A2A2D;
}



.container {
  position: relative;
  z-index: 3;
}

/* blocker untuk area ui */

.navbar,
.deploy-box,
.history,
.footer {
  position: relative;
}

.navbar::before,
.deploy-box::before,
.history::before,
.footer::before {
  content: "";

  position: absolute;

  inset: -20px;



  z-index: -1;

  border-radius: 20px;
}

.copy-btn {

  margin-top: 8px;

  width: fit-content;

  background: transparent;

  border: 1px solid #2A2A2D;

  color: #7A818C;

  padding: 4px 10px;

  font-size: 11px;

  cursor: pointer;

  transition: .2s ease;
}

.copy-btn:hover {

  color: #E7E7E7;

  border-color: #3A3A40;
}


@media (max-width: 768px) {

  .container {
    padding: 20px 16px;
  }

  .navbar {

    flex-direction: column;

    gap: 18px;

    align-items: flex-start;
  }

  .nav-right {

    width: 100%;

    flex-wrap: wrap;
  }

  .history {
    height: 260px;
  }

  .deploy-box {
    max-width: 100%;
  }

  .logo {
    width: 120px;
  }

}


.contract-row {

  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 4px;

  flex-wrap: wrap;
}

.copy-btn {

  background: transparent;

  border: 1px solid #2A2A2D;

  color: #7A818C;

  padding: 4px 10px;

  font-size: 11px;

  cursor: pointer;

  transition: .2s ease;
}

.copy-btn:hover {

  color: #fff;

  border-color: #444;
}

.online-logo {

  width: 40px;

  height: 40px;

  object-fit: contain;

}

.verify-link {

  display: inline-block;

  margin-top: 12px;

  color: #E7E7E7;

  text-decoration: none;

  font-size: 13px;

  border: 1px solid #29292B;

  padding: 10px 14px;

  background: rgba(17,17,19,0.88);

  transition: .2s ease;
}

.verify-link:hover {

  border-color: #404046;

  transform: translateY(-2px);
}