body {
  background-color: #a80000;
  color: #ffd700;
  font-family: 'Noto Sans SC', sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* 🔁 Infinite ticker */
.ticker {
  position: fixed;
  left: 0;
  width: 100%;
  background: #ffd700;
  color: #a80000;
  overflow: hidden;
  z-index: 1000;
  text-align: center;
}

.ticker.top {
  top: 0;
  border-bottom: 3px solid #a80000;
}

.ticker.bottom {
  bottom: 0;
  border-top: 3px solid #a80000;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 1px;
  animation: scrollText 50s linear infinite;
  flex-shrink: 0;
  line-height: 1.6em;
  padding: 12px 0; /* adds clean yellow space above and below text */
}

.ticker-content.clone {
  margin-left: 100%; /* ensures the second line starts right after the first one */
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 🔗 Header icons below ticker */
.header-links {
  position: fixed;
  top: 58px; /* below the moving text */
  right: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 999;
}

.x-link {
  font-size: 2.2em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.x-link:hover {
  transform: scale(1.05);
}

.dex-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  padding: 3px;
  transition: 0.2s;
}
.dex-icon:hover {
  transform: scale(1.05);
}


/* 🧧 Main layout */
.container {
  max-width: 1000px;
  margin: 60px auto 120px auto; /* decreased top margin */
  padding: 20px;
  text-align: center;
}

.coin-name {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #b00000;
  border: 3px solid #ffd700;
  border-radius: 12px;
  padding: 12px 18px; /* tighter vertical + horizontal padding */
  box-shadow: 0 0 15px rgba(255,215,0,0.5);
  max-width: 750px; /* keeps it proportionate like the GIF box */
  margin: 0 auto; /* centers it nicely */
}

.logo-box {
  flex: 1;
  text-align: left;
}

.logo {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  border: 3px solid #ffd700;
  box-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.info-box {
  flex: 1;
  text-align: right;
  padding-left: 20px;
}

.label {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #ffd700;
}

.address {
  font-size: 1.3em;
  font-family: monospace;
  background: #660000;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
}

button {
  background: #ffd700;
  border: none;
  color: #a80000;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.2s;
}

button:hover {
  background: #fff;
  color: #a80000;
}

footer {
  margin-top: 60px;
  text-align: center;
  color: #ffd700;
  font-size: 1em;
  background: #a80000;
  border-top: 3px solid #ffd700;
  padding: 15px;
  border-radius: 8px;
}

.gif-section {
  margin-top: 40px;
  text-align: center;
}

.gif-section h2 {
  color: #ffd700;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.production-gif {
  width: 100%;
  max-width: 700px;
  border: 3px solid #ffd700;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}