/* ===== Bootycoin — Bitcointalk.org Styled ===== */

:root {
  --bt-orange: #ff7a00;
  --bt-orange-dark: #e06800;
  --bt-orange-light: #ff9933;
  --bt-header: #f7931a;
  --bt-bg: #ececec;
  --bt-bg-alt: #e0e0e0;
  --bt-white: #ffffff;
  --bt-border: #c8c8c8;
  --bt-border-dark: #a0a0a0;
  --bt-text: #333333;
  --bt-text-muted: #666666;
  --bt-link: #006699;
  --bt-link-hover: #004466;
  --bt-row-alt: #f5f5f5;
  --brand-orange: #ff6b00;
  --gold: #ffd700;
  --shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
  --shadow-lg: 4px 4px 0 rgba(0, 0, 0, 0.2);
  --font-forum: "IBM Plex Sans", Verdana, Helvetica, Arial, sans-serif;
  --font-mono: "Share Tech Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-forum);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bt-text);
  background: var(--bt-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Layered animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 122, 0, 0.02) 2px,
      rgba(255, 122, 0, 0.02) 4px
    ),
    linear-gradient(135deg, #e8e8e8 0%, var(--bt-bg) 40%, #f0ebe5 70%, #e5e5e5 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(255, 122, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 25%, rgba(247, 147, 26, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(255, 107, 0, 0.08), transparent 45%);
  animation: bg-shift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes bg-shift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.03); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.015) 3px,
    rgba(0, 0, 0, 0.015) 4px
  );
  opacity: 0.5;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.12) 100%);
}

.orange-glow {
  position: fixed;
  top: -15vh;
  left: 50%;
  width: 100vw;
  height: 50vh;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.18) 0%, transparent 70%);
  animation: glow-pulse 7s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* Coin rain */
.coin-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.coin-rain span {
  position: absolute;
  top: -5vh;
  font-size: 1.2rem;
  opacity: 0;
  animation: coin-fall linear infinite;
}

.coin-rain span:nth-child(1)  { left: 5%;  animation-duration: 14s; animation-delay: 0s; }
.coin-rain span:nth-child(2)  { left: 15%; animation-duration: 18s; animation-delay: 2s; }
.coin-rain span:nth-child(3)  { left: 25%; animation-duration: 12s; animation-delay: 4s; }
.coin-rain span:nth-child(4)  { left: 35%; animation-duration: 16s; animation-delay: 1s; }
.coin-rain span:nth-child(5)  { left: 45%; animation-duration: 20s; animation-delay: 6s; }
.coin-rain span:nth-child(6)  { left: 55%; animation-duration: 13s; animation-delay: 3s; }
.coin-rain span:nth-child(7)  { left: 65%; animation-duration: 17s; animation-delay: 5s; }
.coin-rain span:nth-child(8)  { left: 75%; animation-duration: 15s; animation-delay: 0.5s; }
.coin-rain span:nth-child(9)  { left: 85%; animation-duration: 19s; animation-delay: 7s; }
.coin-rain span:nth-child(10) { left: 92%; animation-duration: 11s; animation-delay: 2.5s; }
.coin-rain span:nth-child(11) { left: 10%; animation-duration: 16s; animation-delay: 8s; }
.coin-rain span:nth-child(12) { left: 50%; animation-duration: 14s; animation-delay: 9s; }

@keyframes coin-fall {
  0%   { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  5%   { opacity: 0.5; }
  95%  { opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Floating deco */
.floating-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.deco-item {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.25;
  animation: float-deco 6s ease-in-out infinite;
}

.item-1 { top: 15%; left: 3%; animation-delay: 0s; }
.item-2 { top: 25%; right: 5%; animation-delay: 1s; }
.item-3 { top: 55%; left: 2%; animation-delay: 2s; }
.item-4 { top: 70%; right: 3%; animation-delay: 0.5s; }
.item-5 { top: 40%; left: 6%; animation-delay: 3s; }
.item-6 { top: 85%; right: 7%; animation-delay: 1.5s; }

.deco-badge {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--bt-orange);
  color: #fff;
  border: 1px solid var(--bt-orange-dark);
  animation: badge-blink 2s step-end infinite;
}

.badge-1 { top: 12%; right: 8%; }
.badge-2 { top: 60%; left: 4%; animation-delay: 1s; }

.deco-star {
  position: absolute;
  color: var(--bt-orange);
  font-size: 0.9rem;
  opacity: 0.4;
  animation: star-twinkle 3s ease-in-out infinite;
}

.star-1 { top: 20%; right: 12%; }
.star-2 { top: 45%; left: 8%; animation-delay: 1s; }
.star-3 { top: 78%; right: 15%; animation-delay: 2s; }

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

@keyframes badge-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* Top bar */
.bt-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
  background: linear-gradient(180deg, #555 0%, #444 100%);
  color: #ccc;
  font-size: 0.7rem;
  position: relative;
  z-index: 100;
}

.bt-topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  animation: blink-dot 1.5s ease-in-out infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #4caf50; }
  50% { opacity: 0.4; }
}

/* Header / Nav */
.forum-header {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: linear-gradient(180deg, var(--bt-header) 0%, var(--bt-orange) 50%, var(--bt-orange-dark) 100%);
  border-bottom: 2px solid #b35a00;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s;
}

.forum-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: var(--brand-orange);
}

.logo-bounce {
  animation: logo-bounce 2.5s ease-in-out infinite;
}

@keyframes logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.nav-sub {
  font-size: 0.6rem;
  opacity: 0.85;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  padding: 6px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s;
}

/* Ticker */
.forum-ticker {
  background: linear-gradient(90deg, #333, #444, #333);
  border-bottom: 2px solid var(--bt-orange);
  overflow: hidden;
  padding: 6px 0;
  position: relative;
  z-index: 50;
}

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

.ticker-track span {
  color: var(--bt-orange-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

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

/* Main layout */
.forum-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 12px 40px;
  position: relative;
  z-index: 1;
}

/* Forum board sections */
.forum-board {
  margin-bottom: 20px;
  border: 1px solid var(--bt-border-dark);
  background: var(--bt-white);
  box-shadow: var(--shadow);
  animation: board-enter 0.6s ease-out both;
}

.forum-board:nth-child(2) { animation-delay: 0.1s; }
.forum-board:nth-child(3) { animation-delay: 0.15s; }
.forum-board:nth-child(4) { animation-delay: 0.2s; }
.forum-board:nth-child(5) { animation-delay: 0.25s; }

@keyframes board-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.board-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(180deg, var(--bt-orange-light) 0%, var(--bt-orange) 100%);
  border-bottom: 1px solid var(--bt-orange-dark);
  color: #fff;
}

.board-icon {
  font-size: 1rem;
}

.board-title {
  font-size: 0.95rem;
  font-weight: 700;
  flex: 1;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.board-meta {
  font-size: 0.7rem;
  opacity: 0.9;
  width: 100%;
}

@media (min-width: 600px) {
  .board-meta { width: auto; }
}

.board-body {
  padding: 16px;
  background: var(--bt-white);
}

/* Post layout (hero) */
.post-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}

.post-sidebar {
  text-align: center;
  padding: 12px 8px;
  background: var(--bt-row-alt);
  border: 1px solid var(--bt-border);
}

.avatar-frame {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border: 2px solid var(--bt-orange);
  background: var(--brand-orange);
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shake-slow {
  animation: shake-slow 4s ease-in-out infinite;
}

@keyframes shake-slow {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.poster-name {
  font-weight: 700;
  color: var(--bt-link);
  font-size: 0.85rem;
}

.poster-rank {
  font-size: 0.7rem;
  color: var(--bt-orange-dark);
  font-weight: 600;
  margin: 2px 0;
}

.poster-stats {
  font-size: 0.65rem;
  color: var(--bt-text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Hero content */
.hero-logo-stage {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.hero-orbit {
  position: absolute;
  inset: -20px;
  animation: orbit-spin 20s linear infinite;
}

.orbit-item {
  position: absolute;
  font-size: 1rem;
}

.o-top    { top: 0; left: 50%; transform: translateX(-50%); }
.o-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.o-tl     { top: 15%; left: 5%; }
.o-tr     { top: 15%; right: 5%; }
.o-bl     { bottom: 15%; left: 5%; }
.o-br     { bottom: 15%; right: 5%; }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo-frame {
  width: 140px;
  height: 140px;
  margin: 10px auto;
  border: 3px solid var(--bt-orange);
  background: var(--brand-orange);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 122, 0, 0.3);
  overflow: hidden;
  animation: frame-glow 3s ease-in-out infinite;
}

@keyframes frame-glow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 122, 0, 0.2); }
  50% { box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 122, 0, 0.5); }
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bounce-hero {
  animation: bounce-hero 2s ease-in-out infinite;
}

@keyframes bounce-hero {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

.sparkles span {
  position: absolute;
  color: var(--gold);
  font-size: 0.8rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkles span:nth-child(1) { top: 10%; left: 0; animation-delay: 0s; }
.sparkles span:nth-child(2) { top: 30%; right: -5%; animation-delay: 0.7s; }
.sparkles span:nth-child(3) { bottom: 15%; left: 10%; animation-delay: 1.4s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-tag {
  text-align: center;
  font-size: 0.95rem;
  color: var(--bt-text-muted);
  margin-bottom: 8px;
}

.hero-title {
  text-align: center;
  margin-bottom: 8px;
}

.title-line {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bt-orange);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.glitch {
  position: relative;
  animation: glitch-skew 4s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 #00fff9;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 50px, 0); }
  20% { clip: rect(60px, 9999px, 100px, 0); }
  40% { clip: rect(20px, 9999px, 70px, 0); }
  60% { clip: rect(80px, 9999px, 120px, 0); }
  80% { clip: rect(40px, 9999px, 90px, 0); }
  100% { clip: rect(5px, 9999px, 60px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(50px, 9999px, 90px, 0); }
  25% { clip: rect(10px, 9999px, 40px, 0); }
  50% { clip: rect(70px, 9999px, 110px, 0); }
  75% { clip: rect(30px, 9999px, 80px, 0); }
  100% { clip: rect(60px, 9999px, 100px, 0); }
}

@keyframes glitch-skew {
  0%, 90%, 100% { transform: skew(0deg); }
  92% { transform: skew(1deg); }
  94% { transform: skew(-1deg); }
}

.hero-symbol {
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--font-forum);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-buy {
  background: linear-gradient(180deg, var(--bt-orange-light) 0%, var(--bt-orange) 100%);
  color: #fff;
  border-color: var(--bt-orange-dark);
  box-shadow: var(--shadow);
}

.btn-buy:hover {
  background: linear-gradient(180deg, #ffaa44 0%, var(--bt-orange-light) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--bt-white);
  color: var(--bt-link);
  border-color: var(--bt-border-dark);
}

.btn-outline:hover {
  background: var(--bt-row-alt);
  color: var(--bt-link-hover);
}

.btn-forum {
  background: #555;
  color: #fff;
  border-color: #333;
}

.btn-forum:hover {
  background: #666;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
}

.pulse {
  animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(255, 122, 0, 0.4); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 122, 0, 0); }
}

.shake-hover:hover {
  animation: shake-btn 0.5s ease-in-out;
}

@keyframes shake-btn {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px) rotate(-1deg); }
  40% { transform: translateX(4px) rotate(1deg); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* CA copy */
.forum-box {
  border: 1px solid var(--bt-border);
  background: var(--bt-row-alt);
  padding: 10px 12px;
}

.ca-copy {
  max-width: 100%;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ca-copy:hover {
  border-color: var(--bt-orange);
}

.ca-copy.flash {
  animation: flash-ca 0.6s ease;
}

@keyframes flash-ca {
  0%, 100% { background: var(--bt-row-alt); }
  50% { background: rgba(255, 122, 0, 0.15); }
}

.ca-copy-label {
  display: block;
  font-size: 0.7rem;
  color: var(--bt-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ca-copy code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  word-break: break-all;
  flex: 1;
  color: var(--bt-text);
}

.btn-copy {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-family: var(--font-forum);
  background: var(--bt-orange);
  color: #fff;
  border: 1px solid var(--bt-orange-dark);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-copy:hover {
  background: var(--bt-orange-light);
}

.btn-copy.copied {
  background: #4caf50;
  border-color: #388e3c;
}

.scroll-hint {
  text-align: center;
  padding: 12px;
  font-size: 0.7rem;
  color: var(--bt-text-muted);
  border-top: 1px dashed var(--bt-border);
}

.bounce-arrow {
  display: block;
  font-size: 1.2rem;
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* About */
.section-inner {
  max-width: 100%;
}

.section-sub {
  text-align: center;
  color: var(--bt-text-muted);
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.forum-post {
  position: relative;
  padding: 16px;
  margin-bottom: 16px;
  border-left: 4px solid var(--bt-orange);
}

.post-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--bt-orange);
  color: #fff;
  animation: badge-blink 3s step-end infinite;
}

.about-lead {
  font-size: 1rem;
  margin-bottom: 10px;
}

.forum-post p {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.about-footer {
  font-weight: 500;
  color: var(--bt-orange-dark);
  border-top: 1px dashed var(--bt-border);
  padding-top: 10px;
  margin-top: 4px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 600px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.forum-stat {
  text-align: center;
  padding: 14px 8px;
  border: 1px solid var(--bt-border);
  background: var(--bt-row-alt);
  transition: transform 0.2s, border-color 0.2s;
}

.forum-stat:hover {
  transform: translateY(-3px);
  border-color: var(--bt-orange);
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bt-orange);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--bt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.forum-step {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--bt-border);
  background: var(--bt-white);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.forum-step:hover {
  background: var(--bt-row-alt);
  border-color: var(--bt-orange-light);
  transform: translateX(4px);
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bt-orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2px;
}

.step-body h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--bt-link);
}

.step-body p {
  font-size: 0.82rem;
  color: var(--bt-text-muted);
}

.buy-cta {
  text-align: center;
}

/* Chart */
.chart-wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 420px;
  margin-bottom: 12px;
}

.chart-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.chart-link {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: fit-content;
}

/* Join Us — banner only here */
.joinus-banner {
  margin-bottom: 20px;
  border: 2px solid var(--bt-orange);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.joinus-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  animation: shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

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

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

.float-gentle {
  animation: float-gentle 5s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.01); }
}

.socials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 500px) {
  .socials { grid-template-columns: 1fr 1fr; }
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  text-decoration: none;
  color: var(--bt-text);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--bt-orange);
  box-shadow: var(--shadow-lg);
}

.social-icon {
  font-size: 2rem;
}

.social-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.social-handle {
  font-size: 0.75rem;
  color: var(--bt-link);
}

.x-card:hover .social-handle { color: #000; }
.tg-card:hover .social-handle { color: #0088cc; }

.joinus-tag {
  text-align: center;
  font-size: 0.9rem;
  color: var(--bt-orange-dark);
  font-weight: 600;
}

/* Footer */
.forum-footer {
  background: linear-gradient(180deg, #444 0%, #333 100%);
  color: #ccc;
  padding: 24px 16px;
  text-align: center;
  border-top: 3px solid var(--bt-orange);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid var(--bt-orange);
  background: var(--brand-orange);
  margin-bottom: 10px;
}

.wobble-slow {
  animation: wobble-slow 5s ease-in-out infinite;
}

@keyframes wobble-slow {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.footer-links a {
  color: var(--bt-orange-light);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-forum-note {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 8px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 700px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .avatar-frame {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
  }

  .poster-stats { display: none; }

  .title-line { font-size: 1.8rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, var(--bt-orange) 0%, var(--bt-orange-dark) 100%);
    padding: 12px;
    border-bottom: 2px solid #b35a00;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .forum-header { flex-wrap: wrap; position: relative; }
}

@media (max-width: 400px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
}
