:root {
  --primary-pink: #FF6584;
  --secondary-pink: #FFAEC0;
  --soft-lavender: #A288E3;
  --pastel-lavender-bg: #F4EFFF;
  --candy-cyan: #4ECDC4;
  --star-yellow: #FFD166;
  --deep-plum: #2D1B36;
  --text-muted: #745E82;
  --card-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 174, 192, 0.45);
  --shadow-kawaii: 0 16px 36px rgba(255, 101, 132, 0.18);
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

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

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

.star {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.55;
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.s1 { top: 10%; left: 8%; animation-duration: 5s; }
.s2 { top: 25%; right: 12%; animation-duration: 7s; }
.s3 { top: 45%; left: 5%; animation-duration: 6s; }
.s4 { top: 60%; right: 7%; animation-duration: 5.5s; }
.s5 { top: 80%; left: 15%; animation-duration: 6.5s; }
.s6 { top: 15%; left: 60%; animation-duration: 7.5s; }
.s7 { top: 75%; right: 25%; animation-duration: 5.2s; }
.s8 { top: 90%; left: 50%; animation-duration: 6.8s; }

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(15deg); }
}

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

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 174, 192, 0.4);
  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: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--primary-pink);
  box-shadow: 0 4px 12px rgba(255, 101, 132, 0.3);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-pink);
  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;
  letter-spacing: 0.5px;
}

.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-pink);
}

/* Kawaii Buttons */
.btn-kawaii {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-pink) 0%, #FF85A1 100%);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 101, 132, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-kawaii:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 101, 132, 0.45);
}

.btn-kawaii:active {
  transform: translateY(1px);
}

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

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

.btn-secondary:hover {
  background: var(--primary-pink);
  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;
}

.kawaii-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 101, 132, 0.12);
  color: var(--primary-pink);
  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.2;
  margin-bottom: 20px;
}

.highlight-pink {
  color: var(--primary-pink);
  background: linear-gradient(120deg, rgba(255, 101, 132, 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-bubble {
  background: var(--card-bg);
  border: 2px solid var(--glass-border);
  padding: 16px 12px;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--shadow-kawaii);
}

.highlight-bubble {
  border-color: var(--candy-cyan);
  background: #E8FFF9;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-pink);
  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: 32px;
  box-shadow: 0 24px 50px rgba(162, 136, 227, 0.25);
  border: 3px solid rgba(255, 174, 192, 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: 24px;
  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(--candy-cyan);
}

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

.sub-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--soft-lavender);
  background: var(--pastel-lavender-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-pink);
  box-shadow: 0 24px 60px rgba(255, 101, 132, 0.2);
}

/* 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: 18px;
  background: #FFEAF0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--secondary-pink);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6584, #FFB3C6, #4ECDC4);
  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: #FFF7F9;
  border-radius: 26px;
  padding: 24px;
  border: 2px dashed var(--secondary-pink);
  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 18px;
  border-radius: 40px;
  border: 2px solid var(--secondary-pink);
  box-shadow: 0 6px 16px rgba(255, 101, 132, 0.12);
  margin-bottom: 16px;
}

.qty-btn {
  background: #FFF0F5;
  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-pink);
  color: #FFFFFF;
}

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

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

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

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

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

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

/* Summary Box */
.summary-box {
  border-top: 2px solid #FFEBF0;
  border-bottom: 2px solid #FFEBF0;
  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-pink);
  font-size: 1.1rem;
}

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

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

.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-pink);
  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: 28px;
  padding: 16px;
  border: 2px solid var(--secondary-pink);
  box-shadow: 0 12px 30px rgba(255, 101, 132, 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: 20px;
  display: block;
}

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

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--soft-lavender);
  background: var(--pastel-lavender-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: 26px;
  padding: 26px;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow-kawaii);
  position: relative;
}

.phase-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-pink);
  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-heading);
  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, #1E1B4B 0%, #2D1B36 100%);
  color: #FFFFFF;
  border-radius: 32px;
  padding: 36px 44px;
  box-shadow: 0 20px 50px rgba(30, 27, 75, 0.4);
}

.agent-badge {
  background: rgba(78, 205, 196, 0.25);
  color: var(--candy-cyan);
  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: var(--candy-cyan);
}

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

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

/* Footer */
.footer {
  border-top: 2px solid rgba(255, 174, 192, 0.4);
  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.3rem;
  color: var(--primary-pink);
  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-pink);
}

/* Mobile Responsiveness */
@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;
  }
}

