/* ===== GuGuGaGa — Original Clean Layout ===== */

:root {
  --bg: #060608;
  --bg2: #0c0c10;
  --surface: #12121a;
  --surface2: #1a1a26;
  --border: rgba(255,255,255,.06);
  --border2: rgba(255,255,255,.1);
  --text: #e8e6f0;
  --text2: rgba(232,230,240,.6);
  --accent: #ff4d6a;
  --accent2: #ff6b8a;
  --accent-glow: rgba(255,77,106,.25);
  --gold: #ffd666;
  --gold2: #ffe08a;
  --purple: #a78bfa;
  --cyan: #67e8f9;
  --font-main: 'Inter', sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===== Grain overlay ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Particles canvas ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6,6,8,.8);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(6,6,8,.95);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.nav-logo-text {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  color: var(--text2);
  transition: color .25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.mobile-menu.active { display: flex; }

.mobile-link {
  font-size: .95rem;
  color: var(--text2);
  padding: 8px 0;
  transition: color .2s;
}

.mobile-link:hover { color: var(--text); }

.mobile-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,77,106,.1);
  border: 1px solid rgba(255,77,106,.25);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: .5px;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title-cn {
  display: block;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 70%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--text2);
  margin-top: 8px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent2);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,77,106,.3);
  box-shadow: 0 0 60px var(--accent-glow), inset 0 0 30px rgba(0,0,0,.3);
  animation: float-hero 6s ease-in-out infinite;
}

.hero-float {
  position: absolute;
  font-size: 2rem;
  animation: float-emoji 5s ease-in-out infinite;
  z-index: 2;
}

.hero-float-1 { top: 10%; left: 5%; animation-delay: 0s; }
.hero-float-2 { bottom: 15%; left: 0; animation-delay: 1.2s; }
.hero-float-3 { top: 5%; right: 5%; animation-delay: 2.4s; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ===== Ticker ===== */
.ticker {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  flex-shrink: 0;
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg2);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== About grid ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s var(--ease), border-color .3s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
}

.about-card p {
  font-size: .95rem;
  color: var(--text2);
  line-height: 1.8;
}

.about-card strong {
  color: var(--text);
}

/* ===== Contract Address ===== */
.ca-section {
  max-width: 700px;
  margin: 0 auto;
}

.ca-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}

.ca-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 14px;
  display: block;
}

.ca-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background .2s;
  position: relative;
}

.ca-value:hover {
  background: rgba(255,255,255,.03);
}

.ca-value code {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--accent2);
  word-break: break-all;
}

.ca-icon {
  flex-shrink: 0;
  color: var(--text2);
  transition: color .2s;
}

.ca-value:hover .ca-icon { color: var(--accent); }

.ca-copied {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, top .2s;
}

.ca-copied.show {
  opacity: 1;
  top: -34px;
}

/* ===== Stats / Tokenomics ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text2);
}

/* ===== Features / Why ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .3s var(--ease), border-color .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,77,106,.08);
  border: 1px solid rgba(255,77,106,.15);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.75;
}

/* ===== Links grid ===== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(255,77,106,.1);
}

.link-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,77,106,.08);
  border: 1px solid rgba(255,77,106,.15);
  border-radius: 14px;
  color: var(--accent);
  transition: background .3s, color .3s;
}

.link-card:hover .link-icon-wrap {
  background: var(--accent);
  color: #fff;
}

.link-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.link-desc {
  font-size: .82rem;
  color: var(--text2);
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

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

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.footer-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text2);
  transition: all .25s;
}

.footer-social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,77,106,.06);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-disclaimer {
  font-size: .78rem;
  color: var(--text2);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Animations ===== */
@keyframes pulse-glow {
  from { opacity: .6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.15); }
}

@keyframes float-hero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes float-emoji {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

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

/* ===== Scroll Reveal ===== */
.anim-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; margin-bottom: 20px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-img { width: 280px; height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .features-grid, .links-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-img { width: 220px; height: 220px; }
  .section { padding: 80px 0; }
  .footer-top { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
