:root {
  --primary-berry: #FF4D6D;
  --secondary-berry: #FF758F;
  --soft-pink-bg: #FFF0F3;
  --matcha-green: #588157;
  --soft-matcha-bg: #F0F7EE;
  --honey-amber: #FB8500;
  --deep-plum: #2D1B36;
  --text-muted: #6B5E70;
  --card-bg: rgba(255, 255, 255, 0.92);
  --shadow-mochi: 0 16px 36px rgba(255, 77, 109, 0.16);
  --font-heading: 'Comfortaa', cursive, sans-serif;
  --font-subheading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

body {
  background: linear-gradient(135deg, #FFF0F3 0%, #FFF8F0 50%, #F0F7EE 100%);
  color: var(--deep-plum);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Floating Elements */
.mochi-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.55;
  animation: squishFloat 6s ease-in-out infinite alternate;
}

.p1 { top: 8%; left: 8%; animation-duration: 5s; }
.p2 { top: 22%; right: 10%; animation-duration: 7s; }
.p3 { top: 40%; left: 4%; animation-duration: 6s; }
.p4 { top: 62%; right: 6%; animation-duration: 5.5s; }
.p5 { top: 78%; left: 12%; animation-duration: 6.5s; }
.p6 { top: 12%; left: 62%; animation-duration: 7.5s; }
.p7 { top: 72%; right: 22%; animation-duration: 5.2s; }
.p8 { top: 88%; left: 48%; animation-duration: 6.8s; }

@keyframes squishFloat {
  0% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-16px) scale(1.08, 0.92); }
  100% { transform: translateY(-28px) scale(0.94, 1.06); }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid rgba(255, 117, 143, 0.35);
  z-index: 100;
  padding: 14px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--primary-berry);
  box-shadow: 0 4px 12px rgba(255, 77, 109, 0.3);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-berry);
  display: block;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(90deg, #F0B90B, #F3BA2F);
  color: #1E1B4B;
  padding: 2px 8px;
  border-radius: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  font-weight: 800;
  color: var(--deep-plum);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-berry);
}

/* Squishy Buttons */
.btn-mochi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 40px;
  border: none;
  font-family: var(--font-subheading);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-berry) 0%, #FF758F 100%);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-mochi:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 77, 109, 0.45);
}

.btn-mochi:active {
  transform: translateY(1px) scale(0.98);
}

.btn-connect {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 40px;
  border: 2px solid var(--primary-berry);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-berry);
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--primary-berry);
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.mochi-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 109, 0.12);
  color: var(--primary-berry);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.highlight-berry {
  color: var(--primary-berry);
  background: linear-gradient(120deg, rgba(255, 77, 109, 0.2) 0%, transparent 100%);
  border-radius: 8px;
  padding: 0 6px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.stat-pill {
  background: var(--card-bg);
  border: 2px solid rgba(255, 117, 143, 0.4);
  padding: 16px 12px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-mochi);
}

.highlight-pill {
  border-color: var(--matcha-green);
  background: #F2FBF1;
}

.stat-num {
  font-family: var(--font-subheading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-berry);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.visual-card {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 36px;
  box-shadow: 0 24px 50px rgba(255, 77, 109, 0.22);
  border: 3px solid rgba(255, 117, 143, 0.5);
  transform: rotate(-1.5deg);
  transition: transform 0.3s;
}

.visual-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.visual-img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}

.visual-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  justify-content: center;
}

.caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--matcha-green);
}

/* Sections Global */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.sub-badge {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--matcha-green);
  background: var(--soft-matcha-bg);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: var(--deep-plum);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Mint Section */
.mint-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
}

.mint-card-wrapper {
  max-width: 620px;
  margin: 0 auto;
}

.mint-card {
  background: #FFFFFF;
  border-radius: 36px;
  padding: 40px;
  border: 3px solid var(--secondary-berry);
  box-shadow: 0 24px 60px rgba(255, 77, 109, 0.18);
}

/* Progress Bar */
.progress-box {
  margin-bottom: 30px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.progress-track {
  height: 20px;
  background: #FFE8ED;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--secondary-berry);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF4D6D, #FF758F, #588157);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Quantity Controller */
.selector-box {
  background: #FFF8FA;
  border-radius: 28px;
  padding: 24px;
  border: 2px dashed var(--secondary-berry);
  margin-bottom: 26px;
  text-align: center;
}

.selector-label {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--deep-plum);
  margin-bottom: 16px;
}

.quantity-controller {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  padding: 8px 20px;
  border-radius: 40px;
  border: 2px solid var(--secondary-berry);
  box-shadow: 0 6px 16px rgba(255, 77, 109, 0.12);
  margin-bottom: 16px;
}

.qty-btn {
  background: #FFF0F3;
  border: none;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--primary-berry);
  color: #FFFFFF;
}

.qty-display {
  display: flex;
  flex-direction: column;
  min-width: 70px;
}

#qtyVal {
  font-family: var(--font-subheading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-berry);
  line-height: 1;
}

.qty-unit {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
}

.qty-helper {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.helper-pill {
  border: 1px solid var(--secondary-berry);
  background: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.helper-pill.active, .helper-pill:hover {
  background: var(--primary-berry);
  color: #FFFFFF;
  border-color: var(--primary-berry);
}

/* Summary Box */
.summary-box {
  border-top: 2px solid #FFE4EA;
  border-bottom: 2px solid #FFE4EA;
  padding: 18px 0;
  margin-bottom: 26px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.summary-val {
  color: var(--deep-plum);
}

.highlight-val {
  color: var(--primary-berry);
  font-size: 1.1rem;
}

.summary-gate {
  font-size: 0.82rem;
  color: var(--matcha-green);
  background: var(--soft-matcha-bg);
  padding: 2px 10px;
  border-radius: 12px;
}

/* Actions */
.btn-mint-action {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1.2rem;
  border-radius: 40px;
}

.status-msg {
  margin-top: 14px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  min-height: 24px;
}

.status-msg.success { color: #059669; }
.status-msg.error { color: #DC2626; }
.status-msg.info { color: #0284C7; }

.mint-contract-info {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.code-link {
  display: block;
  font-family: monospace;
  color: var(--primary-berry);
  text-decoration: none;
  font-weight: 700;
  margin-top: 4px;
}

/* Gallery Section */
.showcase-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-card {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 16px;
  border: 2px solid var(--secondary-berry);
  box-shadow: 0 12px 30px rgba(255, 77, 109, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.card-media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.card-info {
  margin-top: 14px;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--matcha-green);
  background: var(--soft-matcha-bg);
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 6px;
}

.card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--deep-plum);
  margin-bottom: 4px;
}

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

/* Roadmap Section */
.roadmap-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.6);
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roadmap-item {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 26px;
  border: 2px solid rgba(255, 117, 143, 0.3);
  box-shadow: var(--shadow-mochi);
  position: relative;
}

.phase-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-berry);
  margin-bottom: 8px;
}

.phase-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #F1F5F9;
  color: #64748B;
}

.phase-status.done {
  background: #D1FAE5;
  color: #065F46;
}

.phase-status.active {
  background: #FEF3C7;
  color: #92400E;
}

.phase-content h3 {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.phase-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Agent Info Box */
.agent-info-section {
  padding: 60px 0;
}

.agent-box {
  background: linear-gradient(135deg, #1A1423 0%, #2D1B36 100%);
  color: #FFFFFF;
  border-radius: 32px;
  padding: 36px 44px;
  box-shadow: 0 20px 50px rgba(45, 27, 54, 0.4);
}

.agent-badge {
  background: rgba(255, 77, 109, 0.25);
  color: #FFAEC0;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 14px;
  letter-spacing: 0.8px;
}

.agent-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

.agent-box p {
  color: #E2E8F0;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.agent-box a {
  color: #FFAEC0;
}

.code-block {
  background: #0D0A14;
  padding: 16px;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid #3A2E44;
}

.code-block code {
  color: #FF758F;
  font-size: 0.82rem;
  word-break: break-all;
}

/* Footer */
.footer {
  border-top: 2px solid rgba(255, 117, 143, 0.35);
  padding: 32px 0;
  background: #FFFFFF;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-berry);
  font-weight: 700;
}

.footer-left p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-right a {
  text-decoration: none;
  font-weight: 800;
  color: var(--deep-plum);
  margin-left: 20px;
  font-size: 0.92rem;
}

.footer-right a:hover {
  color: var(--primary-berry);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid, .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-actions .nav-link {
    display: none;
  }
}

@media (max-width: 600px) {
  .gallery-grid, .roadmap-timeline {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
