/* Crypto Troll Officer — ink comic scroll */

:root {
  --ink: #111111;
  --cream: #f2f2ea;
  --paper: #fafaf5;
  --smoke: #2a2a2a;
  --mute: rgba(17, 17, 17, 0.72);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--cream);
}

.shadow-comic {
  box-shadow: 4px 4px 0 var(--ink);
}

.drop-shadow-title {
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.drop-shadow-soft {
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.45);
}

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

/* Nav */
.nav-bar {
  background: rgba(242, 242, 234, 0.94);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(8px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: var(--cream);
}

.buy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.65rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.buy-pill:hover {
  transform: translateY(-2px);
  background: var(--smoke);
}

/* Hero — full bg art, content on top, images not cropped */
.hero-stage {
  isolation: isolate;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(242, 242, 234, 0.55) 0%,
    rgba(242, 242, 234, 0.28) 40%,
    rgba(242, 242, 234, 0.72) 100%
  );
  pointer-events: none;
}

.hero-copy {
  animation: rise-in 0.7s ease-out both;
}

.hero-art {
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 70vh;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ca-box {
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid var(--ink);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  box-shadow: 4px 4px 0 var(--ink);
  max-width: 32rem;
}

.copy-btn {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 0.45rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-btn:hover {
  background: var(--smoke);
}

.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.7rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.cta-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.7rem;
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-alt:hover {
  transform: translateY(-3px);
  background: var(--cream);
}

/* About */
.panel-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  padding: 1rem 1rem 1.5rem;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease;
}

.panel-card:hover {
  transform: translateY(-4px);
}

.panel-frame {
  border: 3px solid var(--ink);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-blurb {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 6px 6px 0 var(--ink);
}

.story-banner {
  border: 4px solid var(--ink);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* How to buy */
.howto-section {
  background: var(--ink);
}

.howto-art {
  border: 4px solid #fff;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.15);
  animation: floaty 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howto-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.step-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--cream);
  border: 3px solid #fff;
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.step-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  border: 3px solid var(--ink);
  background: #fff;
}

.cta-on-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.7rem;
  border: 3px solid #fff;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-on-dark:hover {
  transform: translateY(-3px);
  background: var(--cream);
}

/* Community — bg image contained, no crop */
.community-stage {
  isolation: isolate;
  background: var(--cream);
}

.community-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  overflow: hidden;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.community-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(242, 242, 234, 0.88) 0%,
    rgba(242, 242, 234, 0.55) 45%,
    rgba(242, 242, 234, 0.2) 100%
  );
  pointer-events: none;
}

.community-card {
  background: rgba(255, 255, 255, 0.96);
  border: 4px solid var(--ink);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 8px 8px 0 var(--ink);
  animation: rise-in 0.8s ease-out both;
}

@media (min-width: 640px) {
  .community-card {
    padding: 2.25rem 2rem;
  }
}
