html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  color: #fff;
}

.container {
  text-align: center;
  background: #111;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
  max-width: 95%;
  width: 400px;
  position: relative;
}

.logo {
  width: 200px;
  margin-bottom: 1rem;
}

.email-box {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #eee;
  text-align: left;
  position: relative;
}

.email-title {
  color: #ff3300;
  font-weight: bold;
  font-size: 1rem;
}

.email-label {
  background: #ffcc00;
  color: #000;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.email-address {
  font-weight: bold;
  color: #ff6600;
  margin: 0.5rem 0;
}

.email-tip {
  font-size: 0.85rem;
  color: #aaa;
}

.copy-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: #ff9900;
  border: none;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
}

#canvas, #block {
  min-width: 100px;
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

#block {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 44px;
  background: #222;
  border-radius: 24px;
  cursor: pointer;
  user-select: none;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

#track {
  position: absolute;
  height: 100%;
  background: #ffcc00;
  border-radius: 24px 0 0 24px;
  width: 0;
  top: 0;
  left: 0;
}

#btn {
  position: absolute;
  width: 44px;
  height: 44px;
  background: #ffcc00;
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: 2;
  transition: background 0.3s;
  text-align: center;
  line-height: 44px;
  font-weight: bold;
  color: #000;
}

#msg {
  margin-top: 1rem;
  font-weight: bold;
  color: #ffcc00;
}

#toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#toast.show {
  opacity: 1;
}

@media (max-width: 480px) {
  .container {
    width: 90%;
    padding: 1rem;
  }

  .logo {
    width: 150px;
  }

  #canvas, #block {
    min-width: 60px;
  }

  .slider {
    height: 36px;
    max-width: 100%;
  }

  #btn {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .copy-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    top: 0.8rem;
    right: 0.8rem;
  }
}
