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

body {
  min-height: 100vh;
  background: #000000;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 40px;
  gap: 20px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.skip-intro {
  color: #aaaaaa;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  text-decoration: none;
}

.skip-intro:hover {
  color: #ffffff;
}

.sound-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: #aaaaaa;
  transition: color 0.3s;
}

.sound-icon:hover {
  color: #ffffff;
}

/* Main content */
.main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 60px;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Avatar section */
.avatar-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 5;
}

.avatar-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-img {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.avatar-img {
  opacity: 0;
  animation: fadeInAvatar 0.8s ease forwards;
}

@keyframes fadeInAvatar {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Particle rings */
.particle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
}

.ring-1 {
  width: 260px;
  height: 260px;
  box-shadow: 0 0 0 1px rgba(0, 200, 100, 0.08);
}

.ring-2 {
  width: 300px;
  height: 300px;
  box-shadow: 0 0 0 1px rgba(0, 200, 100, 0.05);
  animation: rotate 100s linear infinite;
}

.ring-3 {
  width: 340px;
  height: 340px;
  box-shadow: 0 0 0 1px rgba(0, 200, 100, 0.03);
  animation: rotate 190s linear infinite reverse;
}

/* Dots */
.dots-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  z-index: 1;
}

.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00c864;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(0, 200, 100, 0.6);
}

.dot:nth-child(1) { top: 0; left: 50%; }
.dot:nth-child(2) { top: 7%; left: 75%; }
.dot:nth-child(3) { top: 25%; left: 93%; }
.dot:nth-child(4) { top: 50%; left: 100%; }
.dot:nth-child(5) { top: 75%; left: 93%; }
.dot:nth-child(6) { top: 93%; left: 75%; }
.dot:nth-child(7) { top: 100%; left: 50%; }
.dot:nth-child(8) { top: 93%; left: 25%; }
.dot:nth-child(9) { top: 75%; left: 7%; }
.dot:nth-child(10) { top: 50%; left: 0; }
.dot:nth-child(11) { top: 25%; left: 7%; }
.dot:nth-child(12) { top: 7%; left: 25%; }

.dots-ring-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  z-index: 1;
  animation: rotate 25s linear infinite;
}

.dot-outer {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00c864;
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(0, 200, 100, 0.4);
  opacity: 0.6;
}

.dot-outer:nth-child(1) { top: 0; left: 50%; }
.dot-outer:nth-child(2) { top: 3%; left: 67%; }
.dot-outer:nth-child(3) { top: 13%; left: 82%; }
.dot-outer:nth-child(4) { top: 28%; left: 94%; }
.dot-outer:nth-child(5) { top: 45%; left: 100%; }
.dot-outer:nth-child(6) { top: 62%; left: 97%; }
.dot-outer:nth-child(7) { top: 78%; left: 88%; }
.dot-outer:nth-child(8) { top: 90%; left: 72%; }
.dot-outer:nth-child(9) { top: 97%; left: 53%; }
.dot-outer:nth-child(10) { top: 97%; left: 35%; }
.dot-outer:nth-child(11) { top: 90%; left: 18%; }
.dot-outer:nth-child(12) { top: 78%; left: 6%; }
.dot-outer:nth-child(13) { top: 62%; left: 0; }
.dot-outer:nth-child(14) { top: 45%; left: 0; }
.dot-outer:nth-child(15) { top: 28%; left: 6%; }
.dot-outer:nth-child(16) { top: 13%; left: 18%; }

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Chat section */
.chat-section {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 0;
}

.bubble {
  opacity: 0;
  /* Animate from bottom (dots position) */
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  background: #7ab24c;
  width: 86%;
  /* margin-bottom: 12px; */
  transform-origin: bottom left;
}

.bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Chat Dots (in chat section) */
.dots-part {
  display: none; /* Hidden by default, toggled by JS */
  width: auto;
  padding: 16px 28px;
  border-radius: 12px;
  background: #7ab24c; /* Green background like image */
  opacity: 0;
  transition: opacity 0.3s ease;
  align-self: flex-start; /* Align left in chat section */
  margin-bottom: 12px;
}

.dots-part.visible {
  opacity: 1;
}

.dots-part span {
  width: 8px;
  height: 8px;
  background: #ffffff; /* White dots */
  border-radius: 50%;
  margin-right: 6px;
  animation: typing 1.4s infinite ease-in-out both;
}

.dots-part span:last-child {
  margin-right: 0;
}

.dots-part span:nth-child(1) { animation-delay: 0s; }
.dots-part span:nth-child(2) { animation-delay: .2s; }
.dots-part span:nth-child(3) { animation-delay: .4s; }

@keyframes typing {
  0% { opacity: .3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: .3; transform: scale(1); }
}

.cta-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FF7A00;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232, 134, 12, 0.4);
  letter-spacing: 0.3px;
  width: 86%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 134, 12, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  color: #555555;
  font-size: 13px;
  letter-spacing: 1px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main {
    flex-direction: column;
    padding: 0 30px;
    gap: 0;
    align-items: center;
  }

  .avatar-section {
    position: sticky;
    top: 0;
    height: auto;
    padding: 80px 0 20px;
    background: linear-gradient(to bottom, #000000 80%, transparent);
    width: 100%;
    z-index: 15;
  }

  .avatar-container {
    width: 260px;
    height: 260px;
  }

  .avatar-img {
    width: 170px;
    height: 170px;
  }

  .ring-1 { width: 210px; height: 210px; }
  .ring-2 { width: 240px; height: 240px; }
  .ring-3 { width: 270px; height: 270px; }
  .dots-ring { width: 240px; height: 240px; }
  .dots-ring-outer { width: 290px; height: 290px; }

  .chat-section {
    max-width: 100%;
    width: 100%;
    align-items: center;
    min-height: auto;
    padding: 20px 0 100px;
    justify-content: flex-start;
  }
  
  .chat-row {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .bubble {
    font-size: 15px;
    padding: 15px 20px;
    width: 100%;
    max-width: 400px;
    /* Mobile animation: from top (avatar) */
    transform: translateY(-20px) scale(0.95);
    transform-origin: top center;
  }
  
  .bubble.visible {
    transform: translateY(0) scale(1);
  }
  
  .dots-part {
    align-self: center; /* Center dots on mobile */
  }

  .cta-button {
    font-size: 16px;
    padding: 16px 32px;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 20px;
  }

  .avatar-section {
    padding: 70px 0 20px;
  }

  .avatar-container {
    width: 200px;
    height: 200px;
  }

  .avatar-img {
    width: 130px;
    height: 130px;
  }

  .ring-1 { width: 160px; height: 160px; }
  .ring-2 { width: 185px; height: 185px; }
  .ring-3 { width: 210px; height: 210px; }
  .dots-ring { width: 185px; height: 185px; }
  .dots-ring-outer { width: 230px; height: 230px; }
}

