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

:root {
  --bg: #1a0f2e;
  --bg-card: #2d1b4e;
  --bg-card-hover: #3d2868;
  --gold: #e8b56a;
  --orange: #e87820;
  --purple: #4a2c7a;
  --purple-deep: #2a1845;
  --cream: #fff8ee;
  --pink: #f4a8b8;
  --text: #fff8ee;
  --text-muted: #b8a0d4;
  --border: rgba(232, 181, 106, 0.22);
  --glow: rgba(232, 181, 106, 0.38);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

.paw-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(232, 181, 106, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(74, 44, 122, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(232, 120, 32, 0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8b56a' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='15' r='6'/%3E%3Ccircle cx='35' cy='15' r='6'/%3E%3Ccircle cx='27' cy='28' r='8'/%3E%3Ccircle cx='15' cy='38' r='5'/%3E%3Ccircle cx='39' cy='38' r='5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.float-decor {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  animation: float 6s ease-in-out infinite;
}

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

.float-decor-1 {
  width: 90px;
  height: 90px;
  top: 18%;
  left: 2%;
  animation-delay: 0s;
}

.float-decor-2 {
  width: 70px;
  height: 70px;
  top: 55%;
  right: 3%;
  animation-delay: 2s;
}

.float-decor-3 {
  width: 60px;
  height: 60px;
  bottom: 12%;
  left: 5%;
  animation-delay: 4s;
}

/* Banner */
.banner-strip {
  position: relative;
  width: 100%;              /* ← full width */
  overflow: hidden;
  background-color: #1a0f2e; /* fills any empty space from contain */
}

.banner-img {
  width: 100%;
  height: 210px;              /* altura fixa */
  object-fit: cover;          /* ← muda de contain para cover */
  object-position: center 88%; /* ← ajusta para mostrar o homem + cachorro */
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 24, 69, 0.92) 0%, rgba(74, 44, 122, 0.45) 50%, rgba(26, 15, 46, 0.85) 100%);
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.banner-tag {
  font-family: "Bangers", cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--cream);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 15, 46, 0.98);
  border-bottom: 1px solid rgba(74, 44, 122, 0.5);
}

@media (min-width: 901px) {
  .header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: 78px;
  }
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  object-position: center top;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(74, 44, 122, 0.35);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 18, 0.65);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  line-height: 1.9;
}

@media (min-width: 901px) {
  .nav-drawer {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    height: auto;
    padding: 1rem 1.5rem;
    transform: translateX(-50%);
    justify-content: flex-end;
    background: transparent;
    border: none;
    box-shadow: none;
    visibility: visible;
    pointer-events: none;
    z-index: 1001;
  }

  .nav-drawer a,
  .nav-drawer .btn-primary {
    pointer-events: auto;
  }
}

.nav-drawer a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.nav-drawer a:hover {
  color: var(--gold);
}

.nav-drawer .btn-primary,
.nav-buy-cta {
  color: var(--purple-deep);
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  white-space: nowrap;
  min-height: 44px;
}

.nav-drawer .btn-primary:hover,
.nav-buy-cta:hover {
  color: var(--purple-deep);
}

.nav-buy-cta {
  height: auto;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(74, 44, 122, 0.5);
  border: 1px solid rgba(232, 181, 106, 0.35);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: "Bangers", cursive;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--gold);
  text-shadow: 0 0 40px var(--glow);
  font-size: smaller;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  min-width: 130px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 0.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary {
  background: linear-gradient(to right, #22c55e 50%, #ffffff 50%);
  color: black !important;
  box-shadow: 0 4px 24px var(--glow), 0 0 0 1px rgba(74, 44, 122, 0.4);
  height: 4vh;
  
}

.btn-secondary {
  background: rgba(74, 44, 122, 0.35);
  color: var(--gold);
  border: 2px solid var(--gold);
}

.contract-address {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contract-address code {
  color: var(--cream);
  font-size: 0.75rem;
  word-break: break-all;
}

.hero-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-img {
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  border-radius: 50%;
  border: 5px solid var(--gold);
  outline: 3px solid var(--purple);
  box-shadow:
    0 0 50px var(--glow),
    0 0 80px rgba(74, 44, 122, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.35);
  animation: float 4s ease-in-out infinite;
  object-fit: cover;
  object-position: center top;
}

.hero-side-img {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-side-left {
  bottom: 5%;
  left: -5%;
  transform: rotate(-8deg);
  animation: float 5s ease-in-out infinite 1s;
}

.hero-side-right {
  top: 20%;
  right: -8%;
  transform: rotate(6deg);
  animation: float 4.5s ease-in-out infinite 0.5s;
}

.bark-bubble {
  position: absolute;
  top: 10%;
  right: 5%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--purple-deep);
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  animation: bounce 2s ease-in-out infinite;
}

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

@keyframes bounce {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50% { transform: scale(1.08) rotate(5deg); }
}

/* Video */
.video-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2.5rem;
  text-align: center;
}

.video-section .section-header {
  margin-bottom: 1.5rem;
}

.video-highlight-wrap {
  position: relative;
  margin: 0 auto;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold), var(--purple), var(--orange), var(--gold));
  background-size: 300% 300%;
  animation: videoBorderGlow 6s ease infinite;
  box-shadow:
    0 0 40px rgba(232, 181, 106, 0.35),
    0 0 80px rgba(74, 44, 122, 0.25),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.video-highlight-glow {
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(232, 181, 106, 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: videoPulse 3s ease-in-out infinite;
}

.video-player {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #000;
  object-fit: contain;
}

@keyframes videoBorderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes videoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* Treasury */
.treasury-section {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

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

.section-header h2 {
  font-family: "Bangers", cursive;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

.section-mascot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.stock-ticker {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.5rem;
  font-family: monospace;
}

.wallet-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wallet-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(42, 24, 69, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.wallet-card:hover {
  border-color: rgba(232, 181, 106, 0.45);
}

.wallet-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.wallet-tokens {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.35;
}

.wallet-token-sep {
  display: none;
  color: rgba(232, 181, 106, 0.45);
  font-weight: 800;
}

.chain-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.chain-bnb {
  background: rgba(243, 186, 47, 0.2);
  color: #f3ba2f;
  border: 1px solid rgba(243, 186, 47, 0.35);
}

.chain-sol {
  background: rgba(20, 241, 149, 0.15);
  color: #14f195;
  border: 1px solid rgba(20, 241, 149, 0.3);
}

.wallet-card-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 30px var(--glow);
}

.wallet-cell {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  text-align: left !important;
  max-width: 140px;
}

.treasury-grid {
  display: grid;
  grid-template-columns: 2.4fr 1.3fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.treasury-total-card,
.chart-card,
.holdings-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(42, 24, 69, 0.55) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.treasury-total-card::before,
.chart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--orange));
  opacity: 0.7;
}

.treasury-total-card .card-mascot {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.15;
  border: 2px solid var(--gold);
}

.treasury-total-card .card-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.total-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #06d6a0;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(6, 214, 160, 0); }
}

.total-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin: 0.75rem 0 1.25rem;
  text-shadow: 0 0 30px var(--glow);
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.wallet-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.wallet-link {
  color: var(--cream);
  font-size: 0.85rem;
  font-family: monospace;
  text-decoration: none;
}

.wallet-link:hover {
  color: var(--gold);
}

.copy-btn {
  background: rgba(74, 44, 122, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  opacity: 1;
}

.last-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chart-card h3,
.holdings-card h3 {
  font-family: "Bangers", cursive;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: var(--cream);
}

.chart-container {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.holdings-table-wrap {
  overflow-x: auto;
}

.holdings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.holdings-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.holdings-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(232, 181, 106, 0.1);
}

.holdings-table tr:hover td {
  background: var(--bg-card-hover);
}

.holdings-table th:nth-child(n+2),
.holdings-table td:nth-child(n+2) {
  text-align: right;
}

.asset-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.asset-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

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

.asset-name {
  font-weight: 700;
}

.asset-symbol {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pct-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pct-bar {
  width: 60px;
  height: 6px;
  background: rgba(74, 44, 122, 0.35);
  border-radius: 3px;
  overflow: hidden;
}

.pct-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.loading-row {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem !important;
}

.holdings-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.holdings-card-item {
  background: rgba(26, 15, 46, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.holdings-card-item.loading-card {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem;
}

.holdings-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.holdings-card-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.holdings-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.holdings-card-meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.holdings-card-meta span {
  color: var(--text-muted);
}

.holdings-card-meta strong {
  color: var(--cream);
  font-weight: 700;
  text-align: right;
}

.holdings-card-pct {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.holdings-card-pct .pct-bar {
  width: 100%;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* About & Buy */
.about-section,
.buy-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.about-section h2,
.buy-section h2 {
  font-family: "Bangers", cursive;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

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

.about-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

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

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

@media (min-width: 901px) {
  .social-grid {
    align-items: stretch;
  }

  .social-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
  }

  .social-card > :first-child {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .social-icon {
    font-size: 1.65rem;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .social-icon-img {
    width: 32px;
    height: 32px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .social-card > span:last-child {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Meme Gallery */
.meme-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.meme-section .section-header h2 {
  background: linear-gradient(135deg, var(--gold), var(--cream));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.meme-item {
  aspect-ratio: 1;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: memeFadeIn 0.4s ease both;
}

.meme-item:hover {
  transform: scale(1.05) rotate(-1deg);
  border-color: var(--gold);
  box-shadow: 0 8px 24px var(--glow);
}

.meme-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes memeFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.meme-load-more {
  display: block;
  margin: 0 auto;
}

/* Buy banner */
.buy-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.buy-banner-bg {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.buy-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 24, 69, 0.88) 0%,
    rgba(74, 44, 122, 0.65) 45%,
    rgba(26, 15, 46, 0.9) 100%
  );
}

.buy-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.buy-mascot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  outline: 2px solid var(--purple);
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 24px var(--glow);
}

.buy-banner-content h2 {
  font-family: "Bangers", cursive;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.buy-banner-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 60px var(--glow);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(74, 44, 122, 0.5);
  background: linear-gradient(180deg, transparent 0%, rgba(42, 24, 69, 0.4) 100%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-mascot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

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

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

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--purple-deep);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
  }

  .stat-card {
    min-width: 0;
    padding: 0.7rem 0.55rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-value {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .contract-address {
    padding: 0 0.5rem;
  }

  .video-section {
    padding: 0 1rem 2rem;
  }

  .video-highlight-wrap {
    border-radius: 16px;
  }

  .video-player {
    border-radius: 12px;
  }

  .hero-mascot {
    order: -1;
  }

  .mascot-img {
    width: min(220px, 70vw);
    height: min(220px, 70vw);
  }

  .bark-bubble {
    font-size: 1.15rem;
    padding: 0.4rem 1rem;
  }

  .treasury-section {
    max-width: 100%;
    padding: 1.5rem 1rem 3rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
  }

  .section-header h2,
  .about-section h2,
  .buy-section h2 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .section-header p,
  .stock-ticker {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .treasury-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .treasury-total-card,
  .chart-card {
    padding: 1.15rem;
  }

  .total-value {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .holdings-table-wrap {
    display: none;
  }

  .holdings-cards {
    display: flex;
  }

  .chart-container {
    max-width: 260px;
  }

  .wallet-cards {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .wallet-card {
    padding: 1.15rem;
  }

  .wallet-tokens {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.4rem;
  }

  .wallet-token-sep {
    display: inline;
  }

  .wallet-card-value {
    font-size: 1.45rem;
  }

  .about-section,
  .buy-section,
  .meme-section {
    padding: 1.5rem 1rem 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-card {
    padding: 1.35rem 1.1rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .social-card {
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
    min-height: 56px;
  }

  .nav {
    padding: 0.65rem 1rem;
    flex-wrap: nowrap;
    position: relative;
  }

  .nav-right {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-backdrop {
    display: block;
  }

  body.nav-open .header {
    z-index: 260;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.25rem 1.5rem;
    background: rgba(26, 15, 46, 0.98);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    z-index: 250;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100vw;
  }

  .nav-drawer.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease, visibility 0s;
  }

  .nav-drawer a:not(.btn-primary) {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(232, 181, 106, 0.12);
    min-height: 48px;
  }

  .nav-buy-drawer {
    display: none;
  }

  .nav-buy-cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .logo {
    font-size: 1.1rem;
    min-width: 0;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .float-decor {
    display: none;
  }

  .hero-side-img {
    display: none;
  }

  .banner-img {
    height: 130px;
  }

  .banner-overlay {
    padding: 0 1rem;
  }

  .meme-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
  }

  .meme-load-more {
    width: 100%;
    max-width: 280px;
  }

  .buy-banner-content h2 {
    font-size: 1.6rem;
  }

  .footer {
    padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0.4rem;
    line-height: 1.5;
  }

  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .lightbox-close {
    top: calc(1rem + env(safe-area-inset-top));
    right: 1rem;
    min-width: 44px;
    min-height: 44px;
  }

  .toast {
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    max-width: calc(100vw - 2rem);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    max-width: 9.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .stat-label,
  .stat-value {
    margin: 0;
  }

  .wallet-card-header {
    flex-wrap: wrap;
  }

  .chart-legend {
    gap: 0.4rem 0.65rem;
  }

  .legend-item {
    font-size: 0.75rem;
  }

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