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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background: #ffffff;
  color: #000000;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

h1, h2, h3 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #ffffff;
  border-bottom: 2px solid #000000;
  z-index: 1000;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  text-decoration: line-through;
}

.btn-buy {
  border: 2px solid #000000;
  padding: 8px 20px;
  transition: all 0.2s;
}

.btn-buy:hover {
  background: #000000;
  color: #ffffff;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  border-bottom: 2px solid #000000;
}

.hero-content {
  max-width: 700px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.tagline {
  font-size: clamp(0.75rem, 2.5vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.hero-art {
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin: 0 auto 40px;
  border: 3px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

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

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  border: 3px solid #000000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

/* ===== TOKEN INFO ===== */
.token-info {
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid #000000;
}

.token-info h2 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.address-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #000000;
  padding: 14px 20px;
  max-width: 90%;
  overflow: hidden;
}

.address-text {
  font-size: clamp(0.6rem, 1.8vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 1px;
  word-break: break-all;
  user-select: all;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

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

.copy-icon {
  width: 16px;
  height: 16px;
}

/* ===== CHART ===== */
.chart-section {
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid #000000;
}

.chart-section h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 30px;
  letter-spacing: 6px;
}

.chart-container {
  max-width: 1000px;
  margin: 0 auto;
  border: 2px solid #000000;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 65%;
}

#dexscreener-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== TOKENOMICS ===== */
.tokenomics {
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid #000000;
}

.tokenomics h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 50px;
  letter-spacing: 6px;
}

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

.token-card {
  padding: 40px 20px;
  border: 2px solid #000000;
  margin: -1px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.token-card h3 {
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin-bottom: 10px;
  opacity: 0.6;
}

.token-card p {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 2px;
}

.card-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 20px;
  border-bottom: 2px solid #000000;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.about-art {
  border: 3px solid #000000;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

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

.about-text h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.about-text p {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  line-height: 1.8;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* ===== GALLERY / CAROUSEL ===== */
.gallery {
  padding: 80px 20px 60px;
  text-align: center;
  border-bottom: 2px solid #000000;
  overflow: hidden;
}

.gallery h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin-bottom: 6px;
  letter-spacing: 6px;
}

.gallery-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.5;
  margin-bottom: 50px;
}

/* 3D carousel container */
.carousel-wrapper {
  width: 100%;
  max-width: 1100px;
  height: 420px;
  margin: 0 auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 260px;
  height: 340px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-card {
  position: absolute;
  width: 260px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #000000;
  background: #f5f5f5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backface-visibility: hidden;
  transform:
    rotateY(calc(var(--i) * (360deg / 3)))
    translateZ(360px);
  transition: box-shadow 0.3s;
}

.carousel-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

/* carousel nav buttons */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.carousel-btn {
  width: 56px;
  height: 56px;
  border: 2px solid #000000;
  background: #ffffff;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  font-family: 'Courier New', Courier, monospace;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* ===== COMMUNITY ===== */
.community {
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid #000000;
}

.community h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 12px;
  letter-spacing: 6px;
}

.community > p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  opacity: 0.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 14px 32px;
  border: 2px solid #000000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.social-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #000;
}

.footer p {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.disclaimer {
  font-size: 0.65rem !important;
  opacity: 0.4;
  letter-spacing: 1px !important;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== RESPONSIVE — TABLET (1024px) ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 24px;
  }

  .nav-links {
    gap: 20px;
    font-size: 0.8rem;
  }

  .carousel-wrapper {
    height: 380px;
    perspective: 1000px;
  }

  .carousel-track {
    width: 230px;
    height: 300px;
  }

  .carousel-card {
    width: 230px;
    height: 300px;
    transform:
      rotateY(calc(var(--i) * (360deg / 3)))
      translateZ(300px);
  }

  .about-content {
    gap: 30px;
  }
}

/* ===== RESPONSIVE — MOBILE LANDSCAPE / SMALL TABLET (768px) ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 16px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.7rem;
  }

  .btn-buy {
    padding: 6px 14px;
  }

  .hero {
    padding: 100px 16px 40px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: 4px;
  }

  .tagline {
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  /* token info */
  .token-info {
    padding: 40px 16px;
  }

  .address-box {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    max-width: 95%;
  }

  /* chart */
  .chart-section {
    padding: 50px 16px;
  }

  #dexscreener-embed {
    padding-bottom: 75%;
  }

  /* tokenomics */
  .tokenomics {
    padding: 60px 16px;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* about */
  .about {
    padding: 60px 16px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-art {
    max-width: 280px;
    margin: 0 auto;
  }

  /* carousel */
  .gallery {
    padding: 60px 16px 40px;
  }

  .gallery-sub {
    margin-bottom: 30px;
  }

  .carousel-wrapper {
    height: 300px;
    perspective: 800px;
  }

  .carousel-track {
    width: 180px;
    height: 240px;
  }

  .carousel-card {
    width: 180px;
    height: 240px;
    border-radius: 12px;
    transform:
      rotateY(calc(var(--i) * (360deg / 3)))
      translateZ(220px);
  }

  .carousel-nav {
    gap: 30px;
    margin-top: 30px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* community */
  .community {
    padding: 60px 16px;
  }

  .social-links {
    gap: 12px;
  }

  .social-btn {
    padding: 12px 24px;
    font-size: 0.75rem;
  }

  /* footer */
  .footer p {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .navbar {
    padding: 12px 14px;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .nav-links a:not(.btn-buy) {
    display: none;
  }

  .hero {
    padding: 90px 14px 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 18vw, 4rem);
  }

  .tagline {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
  }

  .btn-primary {
    padding: 10px 24px;
    font-size: 0.8rem;
  }

  /* token info */
  .address-text {
    font-size: 0.55rem;
  }

  /* tokenomics */
  .tokenomics {
    padding: 50px 14px;
  }

  .tokenomics h2 {
    margin-bottom: 30px;
  }

  .token-card {
    padding: 28px 16px;
  }

  /* carousel */
  .carousel-wrapper {
    height: 240px;
    perspective: 600px;
  }

  .carousel-track {
    width: 140px;
    height: 190px;
  }

  .carousel-card {
    width: 140px;
    height: 190px;
    border-radius: 10px;
    border-width: 2px;
    transform:
      rotateY(calc(var(--i) * (360deg / 3)))
      translateZ(160px);
  }

  .carousel-nav {
    gap: 24px;
    margin-top: 24px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* community */
  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

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