.home {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 24px;
  overflow: hidden;
  background: #000000;
  transition: opacity 0.7s ease;
}

.home-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sound-button {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333333;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.6);
  color: #999999;
  cursor: pointer;
  opacity: 0;
  backdrop-filter: blur(8px);
  transition:
    opacity 0.7s ease 2.8s,
    border-color 0.2s ease,
    color 0.2s ease;
}

.home.ready .sound-button {
  opacity: 1;
}

.sound-button:hover {
  border-color: rgba(167, 139, 250, 0.4);
  color: #a78bfa;
}

.sound-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-button.playing .mute-line {
  display: none;
}

.hero {
  position: relative;
  z-index: 10;
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(126, 58, 237, 0.2), 0 4px 6px -4px rgba(126, 58, 237, 0.2);
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.home.ready .hero-logo {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.7vw, 60px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.025em;
  color: transparent;
  background: linear-gradient(90deg, #a78bfa 0%, #c4b5fd 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s ease 0.2s,
    transform 1s ease 0.2s;
}

.home.ready .hero h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero p {
  margin: 0 0 8px;
  max-width: 576px;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 300;
  line-height: 1.625;
  color: #c4b5fd;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s ease 0.3s,
    transform 1s ease 0.3s;
}

.home.ready .hero p {
  opacity: 1;
  transform: translateY(0);
}

.hero span {
  display: block;
  color: #999999;
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s ease 0.5s,
    transform 1s ease 0.5s;
}

.home.ready .hero > span {
  opacity: 1;
  transform: translateY(0);
}

.primary-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 186px;
  min-height: 54px;
  margin-top: 48px;
  padding: 14px 40px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.1);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease 0.6s,
    transform 0.7s ease 0.6s,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.home.ready .primary-cta {
  opacity: 1;
  transform: translateY(0);
}

.primary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: transform 0.5s ease;
}

.primary-cta:hover {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.2);
  box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.25), 0 4px 6px -4px rgba(168, 85, 247, 0.25);
}

.primary-cta:hover::before {
  transform: translateX(100%);
}

.primary-cta span {
  position: relative;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
  transform: none;
  transition: none;
}

.primary-cta svg {
  position: relative;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.primary-cta:hover svg {
  transform: translateX(4px);
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 64px;
  color: #555555;
  font-size: 12px;
  line-height: 16px;
  opacity: 0;
  transition: opacity 1s ease 0.7s;
}

.home.ready .hero-tags {
  opacity: 1;
}

.hero-tags span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-tags span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 0;
  border-radius: 50%;
  background: var(--violet);
}

.hero-tags span:nth-child(2)::before {
  background: var(--cyan);
}

.hero-tags span:nth-child(3)::before {
  background: var(--gold);
}
