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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 300;
  background: #18191b;
  color: rgba(255, 255, 255, 0.72);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
  max-height: 100vh;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.glow-a {
  width: 420px;
  height: 420px;
  top: 8%;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 200, 80, 0.06) 0%, transparent 70%);
}

.glow-b {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.column {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.column-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vh, 2rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.column-right {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  background: #18191b;
  overflow: hidden;
}

.launch-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background: #292b2e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.launch-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pump-logo {
  height: 22px;
  width: auto;
  display: block;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vh, 0.85rem);
  max-width: 560px;
  width: 100%;
}

.coin-logo {
  width: clamp(180px, 26vw, 280px);
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(255, 190, 60, 0.3));
  margin-bottom: 0.5rem;
}

.title {
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-top: 0.15rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: #292b2e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-weight: 300;
  font-size: clamp(0.62rem, 1.4vw, 0.82rem);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.address:hover {
  border-color: rgba(255, 200, 80, 0.35);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 200, 80, 0.05);
}

.address.copied {
  border-color: rgba(80, 220, 160, 0.4);
  color: rgba(120, 240, 180, 0.9);
}

#address-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
}

.copy-hint {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.28);
  min-height: 1em;
  transition: color 0.2s;
}

.copy-hint.success {
  color: rgba(120, 240, 180, 0.7);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background: #292b2e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 300;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.social-link:hover {
  background: #32353a;
  color: #fff;
  transform: translateY(-1px);
}

.social-link-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.social-link-icon--x {
  width: 15px;
  height: 15px;
  color: #fff;
}

.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: #292b2e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.stat-card {
  flex: 1;
  padding: clamp(0.9rem, 2vh, 1.25rem) 1rem;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.08);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  color: #fff;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.stat-value.updating {
  opacity: 0.5;
}

.footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.feed-header {
  flex-shrink: 0;
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.feed-subtitle {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.feed-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.feed-scroll::-webkit-scrollbar {
  width: 5px;
}

.feed-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.feed-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.55rem;
  padding: 0.65rem;
  align-content: start;
}

.feed-loading,
.feed-empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.feed-card {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  background: #292b2e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.feed-card--media {
  grid-row: span 2;
}

.feed-card--embed {
  grid-column: span 2;
}

.feed-card-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.feed-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.feed-card-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  flex-shrink: 0;
}

.feed-copy-btn,
.feed-platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.feed-copy-btn svg,
.feed-platform-link svg {
  width: 13px;
  height: 13px;
}

.feed-copy-btn:hover,
.feed-platform-link:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.08);
}

.feed-copy-btn.copied {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.feed-author {
  min-width: 0;
  flex: 1;
}

.feed-name {
  font-weight: 700;
  font-size: 0.72rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-handle {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.38);
}

.feed-text {
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.feed-card--media .feed-text {
  -webkit-line-clamp: 6;
}

.feed-thumb {
  width: 100%;
  margin-top: 0.45rem;
  border-radius: 8px;
  max-height: 72px;
  object-fit: cover;
}

.feed-card--media .feed-thumb {
  max-height: 110px;
  flex: 1;
  min-height: 60px;
}

.feed-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.feed-stat {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.feed-stat strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.feed-embed-inner {
  border-radius: 8px;
  overflow: hidden;
}

.feed-embed-inner .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (max-width: 960px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(50vh, 1fr);
  }

  .column-left {
    padding: 1rem 1.25rem 0.75rem;
  }

  .hero {
    gap: 0.45rem;
  }

  .coin-logo {
    width: clamp(140px, 36vw, 200px);
  }

  .title {
    font-size: 1.5rem;
  }

  .footer {
    display: none;
  }

  .column-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    max-width: 100%;
  }

  .stat-value {
    font-size: 1.1rem;
  }
}
