/* Tai Lung Cat — Kung Fu Panda × meme cat theme */
:root {
  --bg-deep: #060b12;
  --bg-mid: #0c1522;
  --bg-card: rgba(14, 28, 48, 0.75);
  --blue-glow: #00d4ff;
  --blue-dim: #0a6e8a;
  --green-eyes: #39ff14;
  --green-dim: #1a8f0a;
  --stone: #8eb4c8;
  --text: #e8f4fc;
  --text-muted: #8aa4b8;
  --border: rgba(0, 212, 255, 0.25);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.35);
  --font-display: "Ma Shan Zheng", cursive;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

a {
  color: var(--blue-glow);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--green-eyes);
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Atmospheric layers */
.mist {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 100, 140, 0.15), transparent 70%);
  animation: mist-drift 18s ease-in-out infinite alternate;
}

.mist--2 {
  animation-delay: -9s;
  opacity: 0.6;
  background: radial-gradient(ellipse 60% 40% at 20% 80%, rgba(57, 255, 20, 0.04), transparent 60%);
}

@keyframes mist-drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-20px) scale(1.02); }
}

.pagoda-silhouette {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  background:
    linear-gradient(to top, var(--bg-deep), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath fill='%2300d4ff' d='M0 120 L0 80 L40 60 L40 40 L80 20 L80 0 L120 20 L120 40 L160 60 L160 80 L200 100 L240 80 L240 60 L280 40 L280 20 L320 0 L360 20 L360 40 L400 60 L400 120 Z'/%3E%3C/svg%3E") center bottom / cover no-repeat;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  height: var(--header-h);
  background: rgba(6, 11, 18, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-glow);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

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

.nav-check {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-glow);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-dim), #0d3d52);
  color: var(--text);
  border-color: var(--blue-glow);
}

.btn--outline {
  background: transparent;
  color: var(--blue-glow);
  border-color: var(--border);
}

.btn--glow:hover {
  box-shadow: var(--shadow-glow), 0 0 20px rgba(57, 255, 20, 0.2);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head__kanji {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--blue-glow);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 20px rgba(0, 212, 255, 0.5),
    2px 2px 0 rgba(0, 0, 0, 0.8);
}

.section-head__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-head--light .section-head__title,
.section-head--light .section-head__sub {
  color: var(--text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(0, 212, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(57, 255, 20, 0.05), transparent);
}

.hero__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__logo-ring {
  position: relative;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-glow), var(--green-eyes), var(--blue-dim));
  box-shadow:
    0 0 60px rgba(0, 212, 255, 0.4),
    0 0 100px rgba(57, 255, 20, 0.15);
  animation: ring-pulse 4s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.4), 0 0 100px rgba(57, 255, 20, 0.15); }
  50% { box-shadow: 0 0 80px rgba(0, 212, 255, 0.6), 0 0 120px rgba(57, 255, 20, 0.25); }
}

.hero__logo {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-deep);
}

.chi-orbs span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 20px var(--blue-glow);
  animation: orb-float 6s ease-in-out infinite;
}

.chi-orbs span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.chi-orbs span:nth-child(2) { bottom: 20%; right: 0; animation-delay: -2s; background: var(--green-eyes); box-shadow: 0 0 20px var(--green-eyes); }
.chi-orbs span:nth-child(3) { top: 40%; right: 10%; width: 8px; height: 8px; animation-delay: -4s; }

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

.hero__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-eyes);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.08);
}

.hero__title {
  margin: 0 0 1rem;
  line-height: 0.95;
}

.title-stone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--stone);
  text-shadow:
    0 0 30px rgba(0, 212, 255, 0.8),
    0 2px 0 #1a3040,
    0 4px 0 #0d1a24,
    2px 4px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.06em;
}

.title-stone--accent {
  color: var(--blue-glow);
  margin-top: -0.1em;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 28ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

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

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(12, 21, 34, 0.8) 20%, transparent);
}

.about__grid {
  display: grid;
  gap: 1.5rem;
}

.about__card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about__card--main p {
  margin: 0;
  font-size: 1.08rem;
}

.about__card--main strong {
  color: var(--blue-glow);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}

.stat-pill:hover {
  transform: translateY(-4px);
  border-color: var(--green-eyes);
}

.stat-pill__icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.stat-pill strong {
  font-size: 0.95rem;
  color: var(--text);
}

.stat-pill span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* How to Buy */
.howtobuy {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 100, 140, 0.12), transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.step-card {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.step-card__num {
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue-glow);
  opacity: 0.6;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.step-card .btn {
  margin-top: 0.25rem;
}

.howtobuy__disclaimer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Chart */
.chart__frame-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-glow);
  background: var(--bg-mid);
}

.chart__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
}

.chart__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.chart__placeholder code {
  color: var(--blue-glow);
}

.chart__external {
  text-align: center;
  margin-top: 1rem;
}

.chart__external a {
  font-weight: 600;
}

/* Join Us — banner only here */
.joinus {
  padding: 0;
  overflow: hidden;
}

.joinus__banner-wrap {
  position: relative;
  width: 100%;
  max-height: 55vh;
  overflow: hidden;
}

.joinus__banner {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: cover;
  object-position: center 40%;
}

.joinus__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(6, 11, 18, 0.7) 70%,
    var(--bg-deep) 100%
  );
  pointer-events: none;
}

.joinus__content {
  position: relative;
  margin-top: -4rem;
  padding-bottom: 4rem;
  z-index: 2;
}

.joinus__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-glow);
  box-shadow: var(--shadow-glow);
  color: var(--text);
}

.social-card strong {
  display: block;
  font-size: 1rem;
}

.social-card small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-card__emoji {
  font-size: 1.75rem;
}

.social-card--x svg {
  flex-shrink: 0;
  color: var(--text);
}

.joinus__cta {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-mid);
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--border);
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero__tagline {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(280px, 85vw);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    background: rgba(6, 11, 18, 0.98);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-check:checked ~ .site-header .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 0.75rem;
  }

  .step-card {
    padding-left: 1.75rem;
    padding-top: 3.5rem;
  }

  .step-card__num {
    left: 1.25rem;
    top: 1rem;
  }

  .scroll-hint {
    display: none;
  }
}
