* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Pixelify Sans", "Noto Sans SC", sans-serif;
  background: #ffffff;
  color: #111111;
  scroll-behavior: smooth;
  image-rendering: pixelated;
}

body {
  position: relative;
  overflow-x: hidden;
}

a {
  color: #111111;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #ffffff;
  border-bottom: 4px solid #111111;
  box-shadow: 0 4px 0 #111111;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.2;
  filter: blur(4px);
  animation: floatOrb 11s ease-in-out infinite alternate;
  z-index: 0;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: #f3ba2f;
  top: 120px;
  left: -80px;
}

.orb-2 {
  width: 180px;
  height: 180px;
  background: #4cd8c6;
  top: 50%;
  right: -60px;
  animation-duration: 13s;
}

.orb-3 {
  width: 140px;
  height: 140px;
  background: #ff6b81;
  bottom: 40px;
  left: 12%;
  animation-duration: 15s;
}

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

.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.lang-btn {
  border: 3px solid #111111;
  background: #ffffff;
  color: #111111;
  border-radius: 0;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.lang-btn.active {
  background: #f3ba2f;
  border-color: #f3ba2f;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 3px solid #111111;
  object-fit: cover;
}

.brand-title {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  color: #f3ba2f;
}

.brand-slogan {
  margin: 2px 0 0;
  font-size: 13px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.site-nav a:hover {
  color: #f3ba2f;
}

.btn-primary {
  border: 3px solid #111111;
  border-radius: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #111111;
  background: #f3ba2f;
  box-shadow: 4px 4px 0 #111111;
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #111111;
}

.btn-secondary {
  border: 3px solid #111111;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #111111;
  background: #ffffff;
  box-shadow: 4px 4px 0 #111111;
  margin-left: 8px;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.section {
  margin-top: 28px;
  padding: 26px;
  border: 4px solid #111111;
  border-radius: 0;
  box-shadow: 6px 6px 0 #111111;
  background: #ffffff;
}

.section h1,
.section h2 {
  margin-top: 0;
  color: #f3ba2f;
}

.section-subtitle {
  margin-top: 0;
  color: #333333;
}

.hero p {
  max-width: 840px;
  line-height: 1.75;
}

.fun-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.fun-tags span {
  border: 3px solid #111111;
  border-radius: 0;
  background: #fff9e7;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(0deg);
}

.fun-tags span:nth-child(2) {
  transform: rotate(2deg);
  background: #e8fff8;
}

.fun-tags span:nth-child(3) {
  transform: rotate(-3deg);
  background: #ffeef2;
}

.hero-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-buy-wrap {
  margin-top: 20px;
}

.hero-buy-btn {
  display: inline-block;
  background: #f3ba2f;
  color: #111111;
  border: 2px solid #f3ba2f;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(243, 186, 47, 0.45);
}

.hero-buy-btn:hover {
  filter: brightness(0.95);
}

.card {
  border: 3px solid #111111;
  border-radius: 0;
  padding: 16px;
  background: #fffef8;
  transition: transform 0.15s steps(2);
  box-shadow: 4px 4px 0 #111111;
}

.card h3 {
  margin-top: 0;
}

.card:hover {
  transform: translate(-2px, -2px);
}

.staking-panel {
  max-width: 680px;
  display: grid;
  gap: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #dcdcdc;
  padding: 6px 0;
  font-size: 14px;
}

input,
select {
  width: 100%;
  border: 3px solid #111111;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
}

.hint {
  font-size: 13px;
  color: #666666;
}

.estimate-row {
  background: #fff9e7;
  border: 3px solid #111111;
  border-radius: 0;
  padding: 10px 12px;
}

.points-row {
  background: #eef9ff;
  border: 3px solid #111111;
  border-radius: 0;
  padding: 10px 12px;
}

.points-tip {
  margin-top: -2px;
}

.records-panel {
  margin-top: 20px;
}

.records-panel h3 {
  margin-bottom: 10px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 3px solid #111111;
  border-radius: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
}

th {
  background: #fff9e7;
  color: #111111;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.data-card {
  border: 3px solid #111111;
  border-radius: 0;
  padding: 14px;
  box-shadow: 4px 4px 0 #111111;
}

.data-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #666666;
}

.data-card strong {
  font-size: 16px;
}

.data-card .small {
  font-size: 13px;
  word-break: break-all;
}

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

.copy-btn {
  border: 3px solid #111111;
  background: #fff9e7;
  color: #111111;
  border-radius: 0;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.data-card.full {
  grid-column: 1 / -1;
}

.chart-wrap {
  width: 100%;
  height: 520px;
  border: 3px solid #111111;
  border-radius: 0;
  overflow: hidden;
}

.chart-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.community-grid {
  display: grid;
  gap: 12px;
}

.community-grid a {
  display: inline-block;
  width: fit-content;
  font-weight: 700;
  color: #111111;
}

.community-grid a:hover {
  color: #f3ba2f;
}

.site-footer {
  text-align: center;
  color: #666666;
  padding: 20px;
}

.shake-bug {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 74px;
  height: 74px;
  border-radius: 0;
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 4px 4px 0 #111111;
  z-index: 20;
  display: grid;
  place-items: center;
  animation: bugShake 0.9s infinite;
}

.shake-bug iframe {
  width: 62px;
  height: 62px;
  border: 0;
  display: block;
}

@keyframes floatOrb {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-18px) translateX(12px);
  }
}

@keyframes bugShake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-1px, 1px) rotate(-1.4deg);
  }
  50% {
    transform: translate(1px, -1px) rotate(1.2deg);
  }
  75% {
    transform: translate(-1px, 0px) rotate(-0.8deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-grid,
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }
}
