<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>meow</title>
  <style>
    body {
      margin: 0;
      overflow: hidden;
      background: #ff9a9a;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      font-family: '內海字體', cursive, sans-serif;
    }

    .background {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: -1;
    }

    .line {
      position: absolute;
      width: 200%;
      height: 5px;
      background: linear-gradient(90deg, #ffe1e1, transparent);
      animation: moveLine 3s linear infinite;
      opacity: 0.5;
    }

    .line:nth-child(odd) {
      top: calc(10% * var(--i));
      animation-delay: calc(var(--i) * 0.2s);
    }

    .line:nth-child(even) {
      top: calc(10% * var(--i));
      animation-delay: calc(var(--i) * 0.2s + 1.5s);
    }

    @keyframes moveLine {
      0% {
        transform: translateX(-100%);
      }
      100% {
        transform: translateX(100%);
      }
    }

    .main-text {
      position: absolute;
      top: 30%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #ffffff;
      font-size: 5em;
      font-weight: bold;
      text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
      animation: pulse 2s infinite;
    }

    .sub-text {
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #ffffff;
      font-size: 2em;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    @keyframes pulse {
      0%, 100% {
        transform: translate(-50%, -50%) scale(1);
      }
      50% {
        transform: translate(-50%, -50%) scale(1.1);
      }
    }

    .sparkles {
      position: absolute;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .sparkle {
      position: absolute;
      width: 10px;
      height: 10px;
      background: #ff9a9e;
      border-radius: 50%;
      opacity: 0;
      animation: sparkle 3s infinite ease-in-out;
    }

    @keyframes sparkle {
      0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
      }
      50% {
        opacity: 1;
        transform: translate(50px, -50px) scale(1.5);
      }
      100% {
        opacity: 0;
        transform: translate(100px, -100px) scale(0.5);
      }
    }

    .cat {
      position: absolute;
      bottom: 10%;
      left: -150px;
      animation: catMove 8s linear infinite;
    }

    .cat img {
      width: 300px;
    }

    @keyframes catMove {
      0% {
        left: -150px;
      }
      50% {
        transform: translateY(-30px);
      }
      100% {
        left: 110%;
      }
    }
  </style>
</head>
<body>
  <div class="background">
    <div class="line" style="--i: 1"></div>
    <div class="line" style="--i: 2"></div>
    <div class="line" style="--i: 3"></div>
    <div class="line" style="--i: 4"></div>
    <div class="line" style="--i: 5"></div>
    <div class="line" style="--i: 6"></div>
    <div class="line" style="--i: 7"></div>
    <div class="line" style="--i: 8"></div>
    <div class="line" style="--i: 9"></div>
    <div class="line" style="--i: 10"></div>
  </div>

  <div class="container">
    <div class="main-text">🧀 直播即將開始 🧀</div>
    <div class="sub-text">你的烤箱正在預熱中</div>
    <div class="sparkles" id="sparkles"></div>
    <div class="cat">
      <!--img src="https://i.imgur.com/7Gtuv5G.png" alt="Cat"-->
    </div>
  </div>

  <script>
    function createSparkle() {
      const sparkle = document.createElement('div');
      sparkle.className = 'sparkle';
      sparkle.style.left = `${Math.random() * 100}%`;
      sparkle.style.top = `${Math.random() * 100}%`;
      sparkle.style.animationDuration = `${Math.random() * 2 + 1}s`;
      document.getElementById('sparkles').appendChild(sparkle);

      setTimeout(() => sparkle.remove(), 3000);
    }

    setInterval(createSparkle, 200);
  </script>
</body>
</html>

