body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #e0f7fa;
  overflow: hidden;
}
.game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}
.player-hand {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.card {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.card:hover {
  transform: scale(1.08);
  z-index: 10;
}
.deck {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background: #b2ebf2;
  border: 2px dashed #006064;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #004d40;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}
.tooltip {
  position: absolute;
  background: rgba(255,255,255,0.95);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  font-size: 14px;
  max-width: 240px;
  z-index: 20;
  display: none;
}
.tooltip strong {
  display: inline;
  font-size: 15px;
  margin-bottom: 4px;
  color: #00695c;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
}

.enemy-hand {
  display: flex;
  gap: 10px;
  margin-top: 50px;
}

.magic-effect {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #00f0ff, #0044aa);
  border-radius: 50%;
  box-shadow: 0 0 20px 10px rgba(0, 255, 255, 0.5);
  animation: pulse 1s ease-out;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}




.vortex-effect {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid #00bcd4;
  border-radius: 50%;
  animation: spinFade 1s ease-out;
  box-shadow: 0 0 12px #00e1ff;
}

@keyframes spinFade {
  0% {
    transform: rotate(0deg) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: rotate(720deg) scale(2);
    opacity: 0;
  }
}

.magic-effect {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #00f0ff, #0044aa);
  border-radius: 50%;
  box-shadow: 0 0 20px 10px rgba(0, 255, 255, 0.4);
  animation: pulse 1s ease-out;
  pointer-events: none;
  z-index: 9999;
}

.lightning-effect {
  position: absolute;
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, #ffff33, #ff9900);
  box-shadow: 0 0 10px 4px #ffff66;
  animation: flash 0.3s ease-out;
  z-index: 9999;
}

@keyframes flash {
  0% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1.2);
  }
}

.wave-effect {
  position: absolute;
  width: 80px;
  height: 20px;
  background: radial-gradient(circle, #00d4ff 0%, #007acc 70%);
  border-radius: 50% 50% 0 0;
  animation: waveExpand 0.8s ease-out;
  z-index: 9999;
  opacity: 0.7;
}

@keyframes waveExpand {
  0% {
    transform: scaleX(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scaleX(2);
    opacity: 0;
  }
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ff66cc;
  border-radius: 50%;
  animation: particleMove 0.6s ease-out forwards;
  opacity: 0.9;
  z-index: 9999;
}

@keyframes particleMove {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.5);
    opacity: 0;
  }
}

.seaweed-effect {
  position: absolute;
  width: 60px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(0,255,0,0.5), transparent);
  border-radius: 50%;
  animation: seaweed-spin 1s ease-out forwards;
  pointer-events: none;
  z-index: 9999;
}

@keyframes seaweed-spin {
  0% {
    transform: scale(0.5) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) rotate(360deg);
    opacity: 0;
  }
}


html, body {
  overflow: hidden;
  height: 100%;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.heal-effect {
  position: absolute;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(0,255,0,0.4), transparent);
  border-radius: 50%;
  animation: heal-pulse 0.8s ease-out;
  pointer-events: none;
  z-index: 9999;
}

@keyframes heal-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

* {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  touch-action: manipulation;
}
