:root {
  --primary: #ff2a70;
  --primary-dark: #d81b60;
  --rose: #ffccd5;
  --gold: #ffb703;
  --dark: #0f0e13;
  --card-bg: #181621;
  --light: #fff0f3;
  --white: #ffffff;
  --green: #00e676;
  --red: #ff5252;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: #2b2b2b;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(255, 42, 112, 0.08);
  z-index: 1000;
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: 'Fredoka', cursive;
  font-size: 1.4rem;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover; /* Corrects transparent asset centering */
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at top right, #ffe3ec, #fff0f3);
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: #ffe0e9;
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid var(--rose);
}

.hero-text h1 {
  font-family: 'Fredoka', cursive;
  font-size: 3.8rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--dark);
}

.hero-text h1 span {
  color: var(--primary);
}

.tagline {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.sub-lead {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 24px;
}

/* LIVE PRICE CARD */
.live-price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 12px 35px rgba(255, 42, 112, 0.08);
  border: 1.5px solid #ffd6e0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.price-row .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 700;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-row .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.price-change {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.price-change.up {
  color: var(--green);
  background: rgba(0, 230, 118, 0.1);
}

.price-change.down {
  color: var(--red);
  background: rgba(255, 82, 82, 0.1);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  background: rgba(0, 230, 118, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.live-indicator .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ffe0e9;
}

.stats-row small {
  color: #888;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.stats-row div div {
  font-weight: 700;
  font-size: 1rem;
}

/* CA BOX */
.ca-box {
  background: var(--white);
  border: 1.5px dashed var(--primary);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.ca-details small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.ca-box code {
  font-family: monospace;
  font-size: 0.85rem;
  color: #333;
  word-break: break-all;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff2a70, #d81b60);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 42, 112, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid #ffd6e0;
  margin-left: 10px;
}

.btn-copy {
  background: #ffe0e9;
  color: var(--primary-dark);
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.hero-image {
  text-align: center;
}

.img-wrapper img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 20px 40px rgba(255, 42, 112, 0.2);
  animation: float 4s ease-in-out infinite;
  
  /* Critical adjustments for the new transparent asset */
  object-fit: cover;  /* Prevents stretching dog face */
  aspect-ratio: 1 / 1; /* Guarantees perfect circle inner fit */
}

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

/* SWAP WIDGET */
.swap-section {
  background: var(--white);
}

.swap-wrapper {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  height: 560px;
}

.swap-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* SECTIONS */
section {
  padding: 70px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Fredoka', cursive;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* FEATURES */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--light);
  padding: 28px 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #ffe3ec;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* TOKENOMICS */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.token-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.token-card h4 {
  color: #888;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.token-card p {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 12px;
}

/* ROADMAP */
.roadmap {
  background: var(--white);
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  border-left: 3px solid var(--rose);
  padding-left: 24px;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
}

/* COMMUNITY */
.community-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 50px 20px;
  border-radius: 28px;
  text-align: center;
}

.social-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-btn {
  background: white;
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #888;
  padding: 40px 20px 80px;
  text-align: center;
}

.footer-logo {
  width: 50px;
  height: 50px; /* Match height for perfect circle fit */
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
}

.contract {
  font-family: monospace;
  font-size: 0.8rem;
  margin: 10px 0;
  word-break: break-all;
}

/* MOBILE FLOATING BUTTON */
.mobile-fab {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 999;
}

.mobile-fab .btn {
  width: 100%;
  box-shadow: 0 10px 25px rgba(255, 42, 112, 0.5);
}

/* TOAST */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: var(--dark);
  color: #fff;
  text-align: center;
  border-radius: 50px;
  padding: 14px 24px;
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 40px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .price-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .price-container {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .btn-outline {
    margin-left: 0;
  }
  .mobile-fab {
    display: block;
  }
}
