/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f0e8;
  --tan: #d4c5a0;
  --green: #97D700;
  --black: #1a1a1a;
  --white: #fdfcf9;
  --font-heading: 'Rubik Mono One', monospace;
  --font-body: 'Space Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--black);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* ===== NOTEBOOK PAPER LINES ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 31px,
      rgba(180, 170, 150, 0.18) 31px,
      rgba(180, 170, 150, 0.18) 32px
    );
}

/* ===== PAPER GRAIN OVERLAY ===== */
.paper-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: lowercase;
  margin-bottom: 12px;
  color: var(--black);
  text-align: center;
}

.section-subtitle {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 80px;
  text-align: center;
}

.banner-placeholder {
  width: 100%;
  max-width: 900px;
  height: 300px;
  margin: 0 auto 40px;
  border: 3px dashed var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #aaa;
  background: rgba(212, 197, 160, 0.12);
}
.banner-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 40px;
  display: block;
  border-radius: 12px;
  border: 3px solid var(--tan);
}
.neph-pfp {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green);
  box-shadow: 0 4px 20px rgba(151, 215, 0, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 var(--black);
  letter-spacing: -2px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #888;
  font-style: italic;
  margin-bottom: 36px;
}

/* ===== BUTTONS ===== */
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  border: 3px solid var(--black);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-green {
  background: var(--green);
  color: var(--black);
}

.btn-green:hover {
  background: var(--black);
  color: var(--green);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--bg);
}

/* ===== CA BOX ===== */
.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 3px solid var(--black);
  padding: 12px 20px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ca-label {
  font-weight: 700;
  text-transform: uppercase;
}

.ca-address {
  color: #666;
  word-break: break-all;
  font-size: 0.75rem;
}

.copy-btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  background: var(--green);
  border: 2px solid var(--black);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: var(--black);
  color: var(--green);
}

.copy-btn.copied {
  background: var(--black);
  color: var(--green);
}

/* ===== ABOUT ===== */
.about {
  background: rgba(212, 197, 160, 0.15);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-text p:first-child {
  font-weight: 700;
  font-size: 1.1rem;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  border: 3px dashed var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #aaa;
  background: rgba(212, 197, 160, 0.12);
  justify-self: center;
}

/* ===== TOKENOMICS ===== */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.token-card {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.token-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 8px;
}

.token-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--green);
}

/* ===== CARD TILTS ===== */
.card-tilt-left {
  transform: rotate(-1.5deg);
}

.card-tilt-right {
  transform: rotate(1.5deg);
}

.card-tilt-left:hover,
.card-tilt-right:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ===== HOW TO BUY ===== */
.how-to-buy {
  background: rgba(212, 197, 160, 0.15);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.step-card {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 28px 24px;
  transition: transform 0.2s ease;
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: lowercase;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}

/* ===== COMMUNITY ===== */
.community {
  text-align: center;
}

.chat-bubbles {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.chat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--black);
  background: var(--white);
  border: 3px solid var(--black);
  padding: 24px 40px;
  border-radius: 20px 20px 20px 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.bubble-tilt-left {
  transform: rotate(-2deg);
}

.bubble-tilt-right {
  transform: rotate(2deg);
}

.chat-bubble:hover {
  transform: rotate(0deg) scale(1.05);
  background: var(--green);
}

.bubble-icon {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green);
  transition: color 0.2s ease;
}

.chat-bubble:hover .bubble-icon {
  color: var(--black);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 3px solid var(--tan);
}

.footer p {
  font-size: 0.72rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image-placeholder {
    max-width: 240px;
  }

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

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

  .chat-bubbles {
    flex-direction: column;
    align-items: center;
  }

  .chat-bubble {
    width: 220px;
  }

  .banner-placeholder {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .token-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .ca-box {
    flex-direction: column;
    gap: 8px;
  }
}

/* === ABOUT MEMES === */
.about-text-center {
  text-align: center;
  margin-bottom: 30px;
}
.about-text-center p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}
.about-memes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.about-meme-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--tan);
  transform: rotate(-1deg);
  transition: transform 0.3s;
}
.about-meme-img:nth-child(2) { transform: rotate(1.5deg); }
.about-meme-img:nth-child(3) { transform: rotate(-0.5deg); }
.about-meme-img:hover { transform: rotate(0deg) scale(1.05); }
@media (max-width: 768px) {
  .about-meme-img { width: 200px; height: 200px; }
}
@media (max-width: 480px) {
  .about-meme-img { width: 160px; height: 160px; }
}
