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

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
  cursor: none;
  font-family: 'Arial', sans-serif;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  pointer-events: none;
  z-index: 1;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6ec4, #7873f5, #4facfe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

.mobile-text {
  display: none;
}

.desktop-text {
  display: block;
}

.content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(30deg);
  }
}

/* カーソル */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
}

/* キラキラパーティクル */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  animation: sparkleFloat 0.8s ease-out forwards;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #fff);
  animation: sparkleRotate 0.8s linear infinite;
}

.sparkle::before {
  width: 3px;
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sparkle::after {
  width: 12px;
  height: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes sparkleFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
  }
}

@keyframes sparkleRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    filter: hue-rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(180deg);
    filter: hue-rotate(360deg);
  }
}

/* グロー効果 */
.glow {
  position: fixed;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(138, 116, 249, 0.3) 0%,
    rgba(255, 110, 196, 0.2) 30%,
    transparent 70%
  );
  filter: blur(30px);
  transition: transform 0.3s ease;
  mix-blend-mode: screen;
}

/* レスポンシブ */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1rem;
  }

  /* モバイルでは文言を切り替え */
  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: block;
  }

  /* モバイルでもグロー効果は表示 */
  .glow {
    display: block;
  }
}
